+ // free the cluster array
+ if (fRecPoints)
+ {
+ AliDebug(2, "Deleting fRecPoints.");
+ fRecPoints->Delete();
+ delete fRecPoints;
+ fRecPoints = 0;
+ }
+}
+
+//____________________________________________________________________________
+void AliEMCALClusterizer::DeleteDigits()
+{
+ // free the digits array
+ if (fDigitsArr)
+ {
+ AliDebug(2, "Deleting fDigitsArr.");
+ fDigitsArr->Clear("C");
+ delete fDigitsArr;
+ fDigitsArr = 0;
+ }
+}
+
+//____________________________________________________________________________
+void AliEMCALClusterizer::Calibrate(Float_t & amp, Float_t & time, const Int_t absId)
+{
+ // Convert digitized amplitude into energy, calibrate time
+ // Calibration parameters are taken from OCDB : OCDB/EMCAL/Calib/Data
+
+ //Return energy with default parameters if calibration is not available
+ if (!fCalibData && !fCaloPed) {
+ if (fIsInputCalibrated == kTRUE)
+ {
+ AliDebug(10, Form("Input already calibrated!"));
+ return ;
+ }
+ else{
+ AliFatal("OCDB calibration and bad map parameters are not available");
+ return;
+ }
+ }