]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG2/FLOW/AliFlowTasks/AliFlowTrack.h
Fix XML list creation from tag cuts - reset list counter for each file tag
[u/mrichter/AliRoot.git] / PWG2 / FLOW / AliFlowTasks / AliFlowTrack.h
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                      kFromPMD=5 };
24   AliFlowTrack();
25   AliFlowTrack(const AliVParticle* p);
26   AliFlowTrack& operator=(const AliFlowTrack& aTrack);
27   //virtual AliFlowTrackSimple& operator=(const AliFlowTrackSimple& aTrack);
28   AliFlowTrack(const AliFlowTrack& aTrack);
29   virtual  ~AliFlowTrack();
30   virtual AliFlowTrack* Clone(const char* option="") const;
31  
32   void SetSource( trackSource s )
33                   { fTrackSourceBits.SetBitNumber(UInt_t(s),kTRUE); }
34   Bool_t IsSource( trackSource s ) const
35                  { return fTrackSourceBits.TestBitNumber(s); }
36
37 private:
38   TBits fTrackSourceBits; //where do i come from?
39   
40   ClassDef(AliFlowTrack,1);
41 };
42
43 #endif
44