//_____________________________________________________________________
AliCaloCalibPedestal::~AliCaloCalibPedestal()
{
+ //dtor
+
if (fReference) delete fReference;//Delete the reference object, if it has been loaded
-
+
// delete also TObjArray's
- fPedestalLowGain.Delete();
+ fPedestalLowGain.Delete();
fPedestalHighGain.Delete();
fPedestalLEDRefLowGain.Delete();
fPedestalLEDRefHighGain.Delete();
fPeakMinusPedLowGainRatio.Delete();
fPeakMinusPedHighGainRatio.Delete();
fDeadMap.Delete();
-
+
}
// copy ctor
{
// Method to process=analyze one event in the data stream
if (!in) return kFALSE; //Return right away if there's a null pointer
+ in->Reset(); // just in case the next customer forgets to check if the stream was reset..
+
fNEvents++; // one more event
if (fNEvents==1) ValidateProfiles(); // 1st event, make sure histos/profiles exist
}// end while over channel
}//end while over DDL's, of input stream
- in->Reset(); // just in case the next customer forgets to check if the stream was reset..
return kTRUE;
}
}
if (!diff->is_open()) {
delete diff;
- fout = 0;//Set the pointer to empty if the file was not opened
+ diff = 0;//Set the pointer to empty if the file was not opened
}
}