]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Checking RecoParam before creating the ITSdebug.root file (A. Dainese)
authormasera <masera@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 22 Jun 2010 12:49:31 +0000 (12:49 +0000)
committermasera <masera@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 22 Jun 2010 12:49:31 +0000 (12:49 +0000)
ITS/AliITSV0Finder.cxx
ITS/AliITStrackerMI.cxx

index ecaba1573ed332d4ecc7fc24907c2dc5f1ae43d5..67368542eebc96bd9c31e8a5db9cb472986401c6 100644 (file)
@@ -49,7 +49,8 @@ fDebugStreamer(0)
  {\r
   //Default constructor\r
 \r
-   fDebugStreamer = new TTreeSRedirector("ITSdebug.root");\r
+   if (AliITSReconstructor::GetRecoParam()->GetESDV0Params()->StreamLevel()>0)\r
+     fDebugStreamer = new TTreeSRedirector("ITSdebug.root");\r
 } \r
 \r
 //------------------------------------------------------------------------\r
index 3c5396a48935e5aba8a7b6085c05e3f440cce96d..931ba9d9df5c5200f9251b25fbb6653ff3dcb53c 100644 (file)
@@ -237,7 +237,8 @@ fPlaneEff(0) {
   for(Int_t i=0;i<2;i++) {fxOverX0Shield[i]=-1.;fxTimesRhoShield[i]=-1.;}
   for(Int_t i=0;i<6;i++) {fxOverX0Layer[i]=-1.;fxTimesRhoLayer[i]=-1.;}
   
-  fDebugStreamer = new TTreeSRedirector("ITSdebug.root");
+  if (AliITSReconstructor::GetRecoParam()->GetESDV0Params()->StreamLevel()>0)
+    fDebugStreamer = new TTreeSRedirector("ITSdebug.root");
 
   // only for plane efficiency evaluation
   if (AliITSReconstructor::GetRecoParam()->GetComputePlaneEff() &&