]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - JETAN/AliFastJetInput.cxx
Added extra histograms for cosmics identification
[u/mrichter/AliRoot.git] / JETAN / AliFastJetInput.cxx
index 8e46a3db9a6687ae1343945d7795b67f0af150aa..e9a50903f6b24f8f79a97f36273dfa6e36a9d47d 100644 (file)
@@ -91,8 +91,8 @@ void AliFastJetInput::FillInput(){
   fInputParticles.clear();
   fInputParticlesCh.clear();
 
-  Bool_t debug  = header->GetDebug();     // debug option
-  Int_t fOpt    = fReader->GetReaderHeader()->GetDetector();
+  Int_t debug  = header->GetDebug();     // debug option
+  Int_t fOpt   = fReader->GetReaderHeader()->GetDetector();
 
   // check if we are reading AOD jets
   TRefArray *refs = 0;
@@ -181,7 +181,7 @@ void AliFastJetInput::FillInput(){
          }
        }
       } // End loop on UnitArray 
-    cout<<"countUnit(En>0) = "<<countUnit<<"  countUnit with Non ZeroSize = "<<countUnitNonZero<<endl;
+    if (debug) cout<<"countUnit(En>0) = "<<countUnit<<"  countUnit with Non ZeroSize = "<<countUnitNonZero<<endl;
   }
 
 }