fWhyRejection(0),
fEvRejectionBits(0),
fRemoveDaughtersFromPrimary(kFALSE),
-fRecomputePrimVertex(kFALSE),
fUseMCVertex(kFALSE),
fUsePhysicsSelection(kTRUE),
fOptPileup(0),
fWhyRejection(source.fWhyRejection),
fEvRejectionBits(source.fEvRejectionBits),
fRemoveDaughtersFromPrimary(source.fRemoveDaughtersFromPrimary),
- fRecomputePrimVertex(source.fRecomputePrimVertex),
fUseMCVertex(source.fUseMCVertex),
fUsePhysicsSelection(source.fUsePhysicsSelection),
fOptPileup(source.fOptPileup),
fWhyRejection=source.fWhyRejection;
fEvRejectionBits=source.fEvRejectionBits;
fRemoveDaughtersFromPrimary=source.fRemoveDaughtersFromPrimary;
- fRecomputePrimVertex=source.fRecomputePrimVertex;
fUseMCVertex=source.fUseMCVertex;
fUsePhysicsSelection=source.fUsePhysicsSelection;
fOptPileup=source.fOptPileup;
fEvRejectionBits=0;
Bool_t accept=kTRUE;
- if(fRecomputePrimVertex){
- Bool_t vertOK= RecomputePrimaryVertex((AliAODEvent*)event);
- if(!vertOK){
- fWhyRejection=0;
- fEvRejectionBits+=1<<kNoVertex;
- return kFALSE;
- }
- }
// check if it's MC
Bool_t isMC=kFALSE;
printf("Min SPD mult %d\n",fMinSPDMultiplicity);
printf("Use PID %d OldPid=%d\n",(Int_t)fUsePID,fPidHF ? fPidHF->GetOldPid() : -1);
printf("Remove daughters from vtx %d\n",(Int_t)fRemoveDaughtersFromPrimary);
- printf("Recompute primary vertex %d\n",(Int_t)fRecomputePrimVertex);
printf("Physics selection: %s\n",fUsePhysicsSelection ? "Yes" : "No");
printf("Pileup rejection: %s\n",(fOptPileup > 0) ? "Yes" : "No");
if(fOptPileup==1) printf(" -- Reject pileup event");
fPidHF=new AliAODPidHF(*pidObj);
}
void SetRemoveDaughtersFromPrim(Bool_t removeDaughtersPrim) {fRemoveDaughtersFromPrimary=removeDaughtersPrim;}
- void SetRecomputePrimaryVertex(Bool_t opt) {fRecomputePrimVertex=opt;}
void SetMinPtCandidate(Double_t ptCand=-1.) {fMinPtCand=ptCand; return;}
void SetMaxPtCandidate(Double_t ptCand=1000.) {fMaxPtCand=ptCand; return;}
void SetMaxRapidityCandidate(Double_t ycand) {fMaxRapidityCand=ycand; return;}
Int_t fWhyRejection; // used to code the step at which candidate was rejected
UInt_t fEvRejectionBits; //bit map storing the full info about event rejection
Bool_t fRemoveDaughtersFromPrimary; // flag to switch on the removal of duaghters from the primary vertex computation
- Bool_t fRecomputePrimVertex; // flag to recompute primary vertex
Bool_t fUseMCVertex; // use MC primary vertex
Bool_t fUsePhysicsSelection; // use Physics selection criteria
Int_t fOptPileup; // option for pielup selection
TFormula *f1CutMinNCrossedRowsTPCPtDep; // pT-dep cut in TPC minimum n crossed rows
- ClassDef(AliRDHFCuts,35); // base class for cuts on AOD reconstructed heavy-flavour decays
+ ClassDef(AliRDHFCuts,36); // base class for cuts on AOD reconstructed heavy-flavour decays
};
#endif
printf("High value for pT %f\n",fHighPtCut);
printf("Low and high values for pT cuts: %f %f\n",fLowPtCut,fHighPtCut);
printf("Remove daughters from vtx %d\n",(Int_t)fRemoveDaughtersFromPrimary);
- printf("Recompute primary vertex %d\n",(Int_t)fRecomputePrimVertex);
printf("Physics selection: %s\n",fUsePhysicsSelection ? "Yes" : "No");
printf("Pileup rejection: %s\n",(fOptPileup > 0) ? "Yes" : "No");
printf("UseTrackSelectionWithFilterBits: %s\n",fUseTrackSelectionWithFilterBits ? "Yes" : "No");