]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG/FLOW/Tasks/AliFlowTrack.h
unfolding bugfixes and updates
[u/mrichter/AliRoot.git] / PWG / FLOW / Tasks / AliFlowTrack.h
CommitLineData
12d0abaf 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"
bc231a12 9class AliVParticle;
12d0abaf 10
11// AliFlowTrack:
12// A track class to the the AliFlowEvent for flow analysis
13// origin: Mikolaj Krzewicki (mikolaj.krzewicki@cern.ch)
14
15class AliFlowTrack: public AliFlowTrackSimple {
16
17public:
bc231a12 18 enum trackSource { kFromESD=0,
19 kFromMC=1,
20 kFromAOD=2,
21 kFromTracklet=3,
333ce021 22 kFromFMD=4,
22289738 23 kFromPMD=5,
2e5052c5 24 kFromV0=6,
25 kFromMUON=7 }; // XZhang 20120604
12d0abaf 26 AliFlowTrack();
daf66719 27 AliFlowTrack(const AliVParticle* p);
12d0abaf 28 AliFlowTrack& operator=(const AliFlowTrack& aTrack);
59327657 29 //virtual AliFlowTrackSimple& operator=(const AliFlowTrackSimple& aTrack);
12d0abaf 30 AliFlowTrack(const AliFlowTrack& aTrack);
31 virtual ~AliFlowTrack();
bc231a12 32 virtual AliFlowTrack* Clone(const char* option="") const;
7d27a354 33
34 void Set(const AliVParticle* p);
12d0abaf 35
12d0abaf 36 void SetSource( trackSource s )
37 { fTrackSourceBits.SetBitNumber(UInt_t(s),kTRUE); }
38 Bool_t IsSource( trackSource s ) const
39 { return fTrackSourceBits.TestBitNumber(s); }
40
12d0abaf 41private:
42 TBits fTrackSourceBits; //where do i come from?
12d0abaf 43
12d0abaf 44 ClassDef(AliFlowTrack,1);
45};
46
47#endif
48