Use KAll instead of kCandidate
authorprino <prino@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 8 May 2012 22:20:08 +0000 (22:20 +0000)
committerprino <prino@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 8 May 2012 22:20:08 +0000 (22:20 +0000)
PWGHF/vertexingHF/AliAnalysisTaskSEDplus.cxx
PWGHF/vertexingHF/AliAnalysisTaskSEDs.cxx
PWGHF/vertexingHF/charmFlow/AliAnalysisTaskSEHFv2.cxx

index 1ca15f6..286fb59 100644 (file)
@@ -396,7 +396,7 @@ void AliAnalysisTaskSEDplus::LSAnalysis(TClonesArray *arrayOppositeSign,TClonesA
     }else{
       nNegTrks++;
     }
-    fRDCutsAnalysis->IsSelected(d,AliRDHFCuts::kCandidate,aod);
+    fRDCutsAnalysis->IsSelected(d,AliRDHFCuts::kAll,aod);
     Int_t passTightCuts=fRDCutsAnalysis->GetIsSelectedCuts();
     if(passTightCuts>0){
       Float_t invMass = d->InvMassDplus();
@@ -868,7 +868,7 @@ void AliAnalysisTaskSEDplus::UserExec(Option_t */*option*/)
     for (Int_t i3Prong = 0; i3Prong < n3Prong; i3Prong++) {
       AliAODRecoDecayHF3Prong *d = (AliAODRecoDecayHF3Prong*)array3Prong->UncheckedAt(i3Prong);
       if(fUseBit && !d->HasSelectionBit(AliRDHFCuts::kDplusCuts)){
-       if(fRDCutsAnalysis->IsSelected(d,AliRDHFCuts::kCandidate,aod))nOS++;
+       if(fRDCutsAnalysis->IsSelected(d,AliRDHFCuts::kAll,aod))nOS++;
       }
     }
   }else{//Standard analysis
@@ -888,7 +888,7 @@ void AliAnalysisTaskSEDplus::UserExec(Option_t */*option*/)
        unsetvtx=kTRUE;
       }
     
-      Int_t passTightCuts=fRDCutsAnalysis->IsSelected(d,AliRDHFCuts::kCandidate,aod);
+      Int_t passTightCuts=fRDCutsAnalysis->IsSelected(d,AliRDHFCuts::kAll,aod);
       if(!fRDCutsAnalysis->GetIsSelectedCuts())continue;//filling loose cuts histos with no-pid informations
 
       Double_t ptCand = d->Pt();
index 66e4926..489960b 100644 (file)
@@ -543,7 +543,7 @@ void AliAnalysisTaskSEDs::UserExec(Option_t */*option*/)
     
     Double_t ptCand = d->Pt();
     Int_t iPtBin=TMath::BinarySearch(fNPtBins,fPtLimits,(Float_t)ptCand);
-    Int_t retCodeAnalysisCuts=fAnalysisCuts->IsSelected(d,AliRDHFCuts::kCandidate,aod);
+    Int_t retCodeAnalysisCuts=fAnalysisCuts->IsSelected(d,AliRDHFCuts::kAll,aod);
     Double_t rapid=d->YDs(); 
     fYVsPt->Fill(ptCand,rapid);
 
index 33dd383..635f9c9 100644 (file)
@@ -557,7 +557,7 @@ void AliAnalysisTaskSEHFv2::UserExec(Option_t */*option*/)
     }
     Bool_t isFidAcc = fRDCuts->IsInFiducialAcceptance(d->Pt(),d->Y(absPdgMom));
     if(!isFidAcc)continue;    
-    Int_t isSelected= fRDCuts->IsSelected(d,AliRDHFCuts::kCandidate,aod);
+    Int_t isSelected= fRDCuts->IsSelected(d,AliRDHFCuts::kAll,aod);
     if(!isSelected)continue;
 
     fhEventsInfo->Fill(2); // candidate selected