]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Redefinition of macro to avoid warnings
authorfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 20 Oct 2009 21:17:34 +0000 (21:17 +0000)
committerfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 20 Oct 2009 21:17:34 +0000 (21:17 +0000)
EMCAL/AliEMCALLoader.cxx
EMCAL/AliEMCALReconstructor.cxx

index f96c9fbf4be1fcd9c0b8af44eba0d6243f070f79..2373496c9213786f6f159f97a1f61555f832fc31 100644 (file)
@@ -80,36 +80,24 @@ AliEMCALLoader::AliEMCALLoader()
 AliEMCALLoader::AliEMCALLoader(const Char_t *detname,const Char_t *eventfoldername)
   : AliLoader(detname,eventfoldername),
     fDebug(0),
-    fHits(0),
-    fDigits(0),
-    fSDigits(0),
-    fRecPoints(0)
+    fHits(new TClonesArray("AliEMCALHit")),
+    fDigits(new TClonesArray("AliEMCALDigit")),
+    fSDigits(new TClonesArray("AliEMCALDigit")),
+    fRecPoints(new TObjArray())
 {
   //Specific constructor for EMCAL Loader class
-
-  fDebug=0;
-  fHits = new TClonesArray("AliEMCALHit");
-  fDigits = new TClonesArray("AliEMCALDigit");
-  fSDigits = new TClonesArray("AliEMCALDigit");
-  fRecPoints = new TObjArray();
 }
 
 //____________________________________________________________________________
 AliEMCALLoader::AliEMCALLoader(const Char_t *name, TFolder *topfolder)
   : AliLoader(name,topfolder),
     fDebug(0),
-    fHits(0),
-    fDigits(0),
-    fSDigits(0),
-    fRecPoints(0)
+    fHits(new TClonesArray("AliEMCALHit")),
+    fDigits(new TClonesArray("AliEMCALDigit")),
+    fSDigits(new TClonesArray("AliEMCALDigit")),
+    fRecPoints(new TObjArray())
 {
   //Specific constructor for EMCAL Loader class
-
-  fDebug=0;
-  fHits = new TClonesArray("AliEMCALHit");
-  fDigits = new TClonesArray("AliEMCALDigit");
-  fSDigits = new TClonesArray("AliEMCALDigit");
-  fRecPoints = new TObjArray();
 }
 
 //____________________________________________________________________________ 
index 6b013b557d3a6bc76058609317a55e6b91205d51..a3a4090604a4055bc377e5472585518185bd6131 100644 (file)
@@ -125,7 +125,7 @@ void AliEMCALReconstructor::Reconstruct(TTree* digitsTree, TTree* clustersTree)
   // the global tracking.
   // Works on the current event.
 
-  AliCodeTimerAuto("")
+  AliCodeTimerAuto("",)
 
   ReadDigitsArrayFromTree(digitsTree);
   fgClusterizer->InitParameters();