1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
8 #include "AliFlowTrackSimple.h"
12 // A track class to the the AliFlowEvent for flow analysis
13 // origin: Mikolaj Krzewicki (mikolaj.krzewicki@cern.ch)
15 class AliFlowTrack: public AliFlowTrackSimple {
18 enum trackSource { kFromESD=0,
25 kFromMUON=7,// XZhang 20120604
28 AliFlowTrack(const AliVParticle* p);
29 AliFlowTrack& operator=(const AliFlowTrack& aTrack);
30 //virtual AliFlowTrackSimple& operator=(const AliFlowTrackSimple& aTrack);
31 AliFlowTrack(const AliFlowTrack& aTrack);
32 virtual ~AliFlowTrack();
33 virtual AliFlowTrack* Clone(const char* option="") const;
35 void Set(const AliVParticle* p);
37 void SetSource( trackSource s )
38 { fTrackSourceBits.SetBitNumber(UInt_t(s),kTRUE); }
39 Bool_t IsSource( trackSource s ) const
40 { return fTrackSourceBits.TestBitNumber(s); }
42 virtual void Clear(Option_t* o="") {AliFlowTrackSimple::Clear(o); fTrackSourceBits.Clear();}
45 TBits fTrackSourceBits; //where do i come from?
47 ClassDef(AliFlowTrack,1);