]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDReconstructor.cxx
IsDebugStreaming using static function
[u/mrichter/AliRoot.git] / TRD / AliTRDReconstructor.cxx
index fecdec89f982e4ab033b3159ce9776fae7e9fc1c..db1b61b05f1eec4de0a249ec343bf44277522fec 100644 (file)
@@ -142,7 +142,7 @@ AliTRDReconstructor::~AliTRDReconstructor()
     delete fgTracks;
     fgTracks = NULL;
   }
-  if(fSteerParam&kOwner){
+  if((fSteerParam&kOwner)||  AliTRDReconstructor::GetStreamLevel()>0){
     for(Int_t itask = 0; itask < AliTRDrecoParam::kTRDreconstructionTasks; itask++)
       if(fDebugStream[itask]) delete fDebugStream[itask];
   }