kOffline,
kOnTheFly
};
+ enum PIDCutType { kBoth=0, kAny };
AliDielectronV0Cuts();
AliDielectronV0Cuts(const char* name, const char* title);
void SetV0finder(EV0finder finder) {fV0finder=finder;}
void SetPdgCodes(Int_t mother, Int_t negDaughter, Int_t posDaughter) {fMotherPdg=mother; fNegPdg=negDaughter; fPosPdg=posDaughter;}
void SetExcludeTracks(Bool_t exclude) {fExcludeTracks=exclude;}
- void SetDefaultPID(Int_t def) {fPID=def;}
+ void SetDefaultPID(Int_t def, PIDCutType type=kBoth) {fPID=def; fPIDCutType=type; }
void ResetUniqueEventNumbers() { fOrbit=0; fPeriod=0; fBunchCross=0; }
+ // cut information
+ virtual void Print(const Option_t* option = "") const;
+
private:
TBits fV0TrackArr; // array with booleans where TrackID corresponds to bitnumber
Int_t fNegPdg; // target pdg code of the negative daughter
Int_t fPosPdg; // target pdg code of the positive daughter
Int_t fPID; // default PID usage (see AliDielectronPID)
+ PIDCutType fPIDCutType; // apply PIDcuts to one or both daughter tracks
// memebers needed to identify an event
UInt_t fOrbit; // orbit number
AliDielectronV0Cuts(const AliDielectronV0Cuts &c);
AliDielectronV0Cuts &operator=(const AliDielectronV0Cuts &c);
- ClassDef(AliDielectronV0Cuts,1)
+ ClassDef(AliDielectronV0Cuts,3) // cut class for V0 candidates
};
#endif