From c0b60eb0d0e2be44cd1377d0556a40e4b5bfc7b6 Mon Sep 17 00:00:00 2001 From: masera Date: Tue, 22 Jun 2010 12:49:31 +0000 Subject: [PATCH] Checking RecoParam before creating the ITSdebug.root file (A. Dainese) --- ITS/AliITSV0Finder.cxx | 3 ++- ITS/AliITStrackerMI.cxx | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ITS/AliITSV0Finder.cxx b/ITS/AliITSV0Finder.cxx index ecaba1573ed..67368542eeb 100644 --- a/ITS/AliITSV0Finder.cxx +++ b/ITS/AliITSV0Finder.cxx @@ -49,7 +49,8 @@ fDebugStreamer(0) { //Default constructor - fDebugStreamer = new TTreeSRedirector("ITSdebug.root"); + if (AliITSReconstructor::GetRecoParam()->GetESDV0Params()->StreamLevel()>0) + fDebugStreamer = new TTreeSRedirector("ITSdebug.root"); } //------------------------------------------------------------------------ diff --git a/ITS/AliITStrackerMI.cxx b/ITS/AliITStrackerMI.cxx index 3c5396a4893..931ba9d9df5 100644 --- a/ITS/AliITStrackerMI.cxx +++ b/ITS/AliITStrackerMI.cxx @@ -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() && -- 2.43.0