virtual ~AliEmcalAodTrackFilterTask();
void SetAODfilterBits(Int_t b0 = 0, Int_t b1 = 0) { fAODfilterBits[0] = b0 ; fAODfilterBits[1] = b1 ; }
+ void SetAttemptProp(Bool_t b) { fAttemptProp = b ; }
+ void SetAttemptPropMatch(Bool_t b) { fAttemptPropMatch = b ; }
void SetCutMaxFractionSharedTPCClusters(Double_t c = 0.4) { fCutMaxFrShTPCClus = c ; }
void SetDist(Double_t d) { fDist = d ; }
void SetDoPropagation(Bool_t b) { fDoPropagation = b ; }
void SetIncludeNoITS(Bool_t f) { fIncludeNoITS = f ; }
+ void SetMC(Bool_t b) { fIsMC = b ; }
void SetTracksInName(const char *name) { fTracksInName = name; }
void SetTracksOutName(const char *name) { fTracksOutName = name; }
- void SetMC(Bool_t b) { fIsMC = b ; }
- void SetUseNegativeLabels(Bool_t f) { fUseNegativeLabels = f ; }
+ void SetUseNegativeLabels(Bool_t f) { fUseNegativeLabels = f ; }
+ void SetTrackEfficiency(Double_t eff = 0.95) { fTrackEfficiency = eff ; }
protected:
void UserCreateOutputObjects();
Bool_t fUseNegativeLabels; // whether or not should use negative MC labels
Bool_t fIsMC; // whether it is a MC event or not
Bool_t fDoPropagation; // if true then propagate all hybrid tracks to EMCal surface
+ Bool_t fAttemptProp; // if true then attempt to propagate if not done yet
+ Bool_t fAttemptPropMatch; // if true then attempt to propagate if not done yet but IsEMCAL is true
Double_t fDist; // distance to surface (440cm default)
+ Double_t fTrackEfficiency; // track efficiency
TClonesArray *fTracksIn; //!track array in
TClonesArray *fTracksOut; //!track array out
AliEmcalAodTrackFilterTask(const AliEmcalAodTrackFilterTask&); // not implemented
AliEmcalAodTrackFilterTask &operator=(const AliEmcalAodTrackFilterTask&); // not implemented
- ClassDef(AliEmcalAodTrackFilterTask, 2); // Task to filter Aod tracks
+ ClassDef(AliEmcalAodTrackFilterTask, 3); // Task to filter Aod tracks
};
#endif