Skip to content
Snippets Groups Projects
Commit bb34f8ec authored by Vardan Tadevosyan's avatar Vardan Tadevosyan Committed by Stephen A. Wood
Browse files

Fill THcShowerArray::InitializePedestals method.

parent 7fad2089
No related branches found
No related tags found
No related merge requests found
...@@ -412,6 +412,19 @@ void THcShowerArray::CalculatePedestals( ) ...@@ -412,6 +412,19 @@ void THcShowerArray::CalculatePedestals( )
//_____________________________________________________________________________ //_____________________________________________________________________________
void THcShowerArray::InitializePedestals( ) void THcShowerArray::InitializePedestals( )
{ {
// Doesn't do anything yet
fNPedestalEvents = 0; fNPedestalEvents = 0;
fPedSum = new Int_t [fNelem];
fPedSum2 = new Int_t [fNelem];
fPedCount = new Int_t [fNelem];
fSig = new Float_t [fNelem];
fPed = new Float_t [fNelem];
fThresh = new Float_t [fNelem];
for(Int_t i=0;i<fNelem;i++) {
fPedSum[i] = 0;
fPedSum2[i] = 0;
fPedCount[i] = 0;
}
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment