]>
Commit | Line | Data |
---|---|---|
1 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
2 | * See cxx source for full Copyright notice */ | |
3 | /* $Id$ */ | |
4 | ||
5 | #ifndef ALIFLOWTRACK_H | |
6 | #define ALIFLOWTRACK_H | |
7 | ||
8 | #include "AliFlowTrackSimple.h" | |
9 | class AliVParticle; | |
10 | ||
11 | // AliFlowTrack: | |
12 | // A track class to the the AliFlowEvent for flow analysis | |
13 | // origin: Mikolaj Krzewicki (mikolaj.krzewicki@cern.ch) | |
14 | ||
15 | class AliFlowTrack: public AliFlowTrackSimple { | |
16 | ||
17 | public: | |
18 | enum trackSource { kFromESD=0, | |
19 | kFromMC=1, | |
20 | kFromAOD=2, | |
21 | kFromTracklet=3, | |
22 | kFromFMD=4 }; | |
23 | AliFlowTrack(); | |
24 | AliFlowTrack(AliVParticle* p); | |
25 | AliFlowTrack& operator=(const AliFlowTrack& aTrack); | |
26 | //virtual AliFlowTrackSimple& operator=(const AliFlowTrackSimple& aTrack); | |
27 | AliFlowTrack(const AliFlowTrack& aTrack); | |
28 | virtual ~AliFlowTrack(); | |
29 | virtual AliFlowTrack* Clone(const char* option="") const; | |
30 | ||
31 | void SetSource( trackSource s ) | |
32 | { fTrackSourceBits.SetBitNumber(UInt_t(s),kTRUE); } | |
33 | Bool_t IsSource( trackSource s ) const | |
34 | { return fTrackSourceBits.TestBitNumber(s); } | |
35 | ||
36 | private: | |
37 | TBits fTrackSourceBits; //where do i come from? | |
38 | ||
39 | ClassDef(AliFlowTrack,1); | |
40 | }; | |
41 | ||
42 | #endif | |
43 |