]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Add optional debug print
authorgconesab <gustavo.conesa.balbastre@cern.ch>
Thu, 31 Jul 2014 09:59:18 +0000 (11:59 +0200)
committergconesab <gustavo.conesa.balbastre@cern.ch>
Thu, 31 Jul 2014 13:58:08 +0000 (15:58 +0200)
PWG/CaloTrackCorrBase/AliIsolationCut.cxx

index 4bd9bb37784301addeaec5ad60c8eaa21d32c677..403e64d81fdcc05d9414ab8cd80842c5bdf92860 100755 (executable)
@@ -765,6 +765,10 @@ void  AliIsolationCut::MakeIsolationCut(TObjArray * plCTS,
   if( fICMethod == kPtThresIC)
   {
     if( n == 0 ) isolated = kTRUE ;
+    
+    if(fDebug > 0 )
+      printf("pT Cand %2.2f, pT Lead %2.2f, %2.2f<pT Lead< %2.2f, isolated %d\n",
+             ptC,ptLead,fPtThreshold,fPtThresholdMax,isolated);
   }
   else if( fICMethod == kSumPtIC )
   {
@@ -773,6 +777,10 @@ void  AliIsolationCut::MakeIsolationCut(TObjArray * plCTS,
       isolated  =  kFALSE ;
     else
       isolated  =  kTRUE  ;
+    
+    if(fDebug > 0 )
+      printf("pT Cand %2.2f, SumPt %2.2f, %2.2f<Sum pT< %2.2f, isolated %d\n",
+             ptC,ptLead,fSumPtThreshold,fSumPtThresholdMax,isolated);
   }
   else if( fICMethod == kPtFracIC )
   {