]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Change back number of time sample bins to 256 in AliEMCALRawUtils, correct some comme...
authorgconesab <gconesab@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 15 Dec 2009 22:11:56 +0000 (22:11 +0000)
committergconesab <gconesab@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 15 Dec 2009 22:11:56 +0000 (22:11 +0000)
EMCAL/AliEMCALRawUtils.cxx
EMCAL/AliEMCALReconstructor.cxx

index 93b9607a1d017f003fde309fb41ea0221ad826d8..2b7500b80bbcb37da8420b82ee037bc5afbe6277 100644 (file)
@@ -52,7 +52,7 @@ class AliEMCALDigitizer;
 ClassImp(AliEMCALRawUtils)
   
 // Signal shape parameters
-Int_t    AliEMCALRawUtils::fgTimeBins = 100; // number of sampling bins of the raw RO signal (we typically use 15-50; theoretical max is 1k+) 
+Int_t    AliEMCALRawUtils::fgTimeBins = 256; // number of sampling bins of the raw RO signal (we typically use 15-50; theoretical max is 1k+) 
 Double_t AliEMCALRawUtils::fgTimeBinWidth  = 100E-9 ; // each sample is 100 ns
 Double_t AliEMCALRawUtils::fgTimeTrigger = 1.5E-6 ;   // 15 time bins ~ 1.5 musec
 
index fb9111834073fe295b4305e16acd5b48f07c8742..1c8a5a3500e5e709e8bcd9b229153cd2f5cd2944 100644 (file)
@@ -187,8 +187,8 @@ void AliEMCALReconstructor::ConvertDigits(AliRawReader* rawReader, TTree* digits
   fgRawUtils->Raw2Digits(rawReader,digitsArr,fPedestalData);
 
   digitsTree->Fill();
-  //digitsArr->Delete(); //Do not delete digits array are not created here.
-  //delete digitsArr;
+  digitsArr->Delete();
+  delete digitsArr;
 
 }
 
@@ -448,7 +448,7 @@ void AliEMCALReconstructor::FillESD(TTree* digitsTree, TTree* clustersTree,
   pid->RunPID(esd);
   delete pid;
   
-  //delete digits;
+  delete digits;
   delete clusters;
   
   // printf(" ## AliEMCALReconstructor::FillESD() is ended : ncl %i -> %i ### \n ",nClusters, nClustersNew);