AliPhysics  8b695ca (8b695ca)
AliFlowTrack.h
Go to the documentation of this file.
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 
16 
17 public:
25  kFromMUON=7,// XZhang 20120604
27  AliFlowTrack();
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;
34 
35  void Set(const AliVParticle* p);
36 
38  { fTrackSourceBits.SetBitNumber(UInt_t(s),kTRUE); }
40  { return fTrackSourceBits.TestBitNumber(s); }
41 
42  virtual void Clear(Option_t* o="") {AliFlowTrackSimple::Clear(o); fTrackSourceBits.Clear();}
43 
44 private:
45  TBits fTrackSourceBits; //where do i come from?
46 
47  ClassDef(AliFlowTrack,1);
48 };
49 
50 #endif
51 
virtual void Clear(Option_t *o="")
Definition: AliFlowTrack.h:42
TBits fTrackSourceBits
Definition: AliFlowTrack.h:45
void Set(const AliVParticle *p)
unsigned int UInt_t
Definition: External.C:33
Bool_t IsSource(trackSource s) const
Definition: AliFlowTrack.h:39
void SetSource(trackSource s)
Definition: AliFlowTrack.h:37
virtual ~AliFlowTrack()
virtual AliFlowTrack * Clone(const char *option="") const
const char Option_t
Definition: External.C:48
AliFlowTrack & operator=(const AliFlowTrack &aTrack)
bool Bool_t
Definition: External.C:53
virtual void Clear(Option_t *o="")