Fixign adc cut in pmd track-anal: sjena
authorsjena <sjena@cern.ch>
Fri, 19 Dec 2014 20:24:54 +0000 (21:24 +0100)
committersjena <sjena@cern.ch>
Fri, 19 Dec 2014 20:24:54 +0000 (21:24 +0100)
PMD/anal/AliPMDAnalysisTaskPbPb.cxx

index 16268f8..41485d1 100644 (file)
@@ -178,6 +178,9 @@ void AliPMDAnalysisTaskPbPb::Exec(Option_t *)
     Float_t clsX    = pmdtr->GetClusterX();
     Float_t clsY    = pmdtr->GetClusterY();
     
+    Float_t adc   = pmdtr->GetClusterADC();
+    if(adc>1200)  continue;
+        
     if ( det == 0 ) {
       fhEsdXYP->Fill(clsX,clsY);
     }