class AliFlowTrackSimple: public TObject {
public:
- enum tagType { kInvalid=-1,
+ enum poiTypes { kInvalid=-1,
kRP=0,
kPOI=1,
kPOI1=2,
Bool_t InSubevent(Int_t i) const;
void TagRP(Bool_t b=kTRUE) {SetForRPSelection(b);}
void TagPOI(Bool_t b=kTRUE) {SetForPOISelection(b);}
- void Tag(Int_t n, Bool_t b=kTRUE) {fFlowBits.SetBitNumber(n,b);}
- Bool_t CheckTag(Int_t n) {return fFlowBits.TestBitNumber(n);}
+ void Tag(Int_t n, Bool_t b=kTRUE) {fPOItype.SetBitNumber(n,b);}
+ Bool_t CheckTag(Int_t n) {return fPOItype.TestBitNumber(n);}
void SetForSubevent(Int_t i);
- void ResetFlowTags() {fFlowBits.ResetAllBits();}
+ void ResetPOItype() {fPOItype.ResetAllBits();}
void ResetSubEventTags() {fSubEventBits.ResetAllBits();}
- Bool_t IsDead() const {return (fFlowBits.CountBits()==0);}
+ Bool_t IsDead() const {return (fPOItype.CountBits()==0);}
void SetEta(Double_t eta);
void SetPt(Double_t pt);
Double_t precision,
Int_t maxNumberOfIterations=100 );
- const TBits* GetFlowBits() const {return &fFlowBits;}
+ const TBits* GetPOItype() const {return &fPOItype;}
+ const TBits* GetFlowBits() const {return GetPOItype();}
void SetID(Int_t i) {fID=i;}
Int_t GetID() const {return fID;}
Double_t fPt; // pt
Double_t fPhi; // phi
Double_t fTrackWeight; // weight
- Int_t fCharge; //charge
+ Int_t fCharge; //charge
Double_t fMass; // mass
- TBits fFlowBits; // bits to set if track is selected
+ TBits fPOItype; // bits to set if track is selected
TBits fSubEventBits;// bits to set if track is selected for a subevent
Int_t fID; // Unique track ID, point back to the ESD track
return this->fMass; }
//TBits
inline Bool_t AliFlowTrackSimple::InRPSelection() const {
- return fFlowBits.TestBitNumber(kRP); }
+ return fPOItype.TestBitNumber(kRP); }
inline Bool_t AliFlowTrackSimple::InPOISelection(Int_t poiType) const {
- return fFlowBits.TestBitNumber(poiType); }
+ return fPOItype.TestBitNumber(poiType); }
inline Bool_t AliFlowTrackSimple::IsPOItype(Int_t poiType) const {
- return fFlowBits.TestBitNumber(poiType); }
+ return fPOItype.TestBitNumber(poiType); }
inline Bool_t AliFlowTrackSimple::InSubevent(Int_t i) const {
return this->fSubEventBits.TestBitNumber(i); }
//TBits
inline void AliFlowTrackSimple::SetForRPSelection(Bool_t val) {
- fFlowBits.SetBitNumber(kRP,val); }
+ fPOItype.SetBitNumber(kRP,val); }
inline void AliFlowTrackSimple::SetForPOISelection(Bool_t val) {
- fFlowBits.SetBitNumber(kPOI,val); }
+ fPOItype.SetBitNumber(kPOI,val); }
inline void AliFlowTrackSimple::SetForSubevent(Int_t i) {
fSubEventBits.SetBitNumber(i,kTRUE); }
inline void AliFlowTrackSimple::SetPOItype(Int_t poiType, Bool_t b) {
- fFlowBits.SetBitNumber(poiType,b); }
+ fPOItype.SetBitNumber(poiType,b); }
#endif