ROOT logo
AliRoot » PWGCF » FEMTOSCOPY » ALIFEMTO » AliFemtoEventReaderESDChainKine

class AliFemtoEventReaderESDChainKine: public AliFemtoEventReader


AliFemtoEventReaderESDChainKine - the reader class for the Alice ESD and
the model Kinematics information tailored for the Task framework and the
Reads in AliESDfriend to create shared hit/quality information
Authors: Adam Kisiel kisiel@mps.ohio-state.edu


Function Members (Methods)

public:
AliFemtoEventReaderESDChainKine()
AliFemtoEventReaderESDChainKine(const AliFemtoEventReaderESDChainKine& aReader)
virtual~AliFemtoEventReaderESDChainKine()
voidCopyESDtoFemtoV0(AliESDv0* tESDv0, AliFemtoV0* tFemtoV0, AliESDEvent* tESDevent)
intAliFemtoEventReader::Debug() const
virtual AliFemtoEventCut*AliFemtoEventReader::EventCut()
virtual voidAliFemtoEventReader::Finish()
boolGetConstrained() const
voidGetGlobalPositionAtGlobalRadiiThroughTPC(AliESDtrack* track, Float_t bfield, Float_t** globalPositionsAtRadii)
boolGetReadTPCInner() const
boolGetUseTPCOnly() const
virtual intAliFemtoEventReader::Init(const char* ReadWrite, AliFemtoString& Message)
virtual AliFemtoKinkCut*AliFemtoEventReader::KinkCut()
AliFemtoEventReaderESDChainKine&operator=(const AliFemtoEventReaderESDChainKine& aReader)
virtual AliFemtoStringReport()
virtual AliFemtoEvent*ReturnHbtEvent()
voidSetConstrained(const bool constrained)
voidAliFemtoEventReader::SetDebug(int d)
voidSetESDPid(AliESDpid* esdPid)
voidSetESDSource(AliESDEvent* aESD)
virtual voidAliFemtoEventReader::SetEventCut(AliFemtoEventCut* ecut)
voidSetGenEventHeader(AliGenEventHeader* aGenHeader)
voidSetKaonAnalysis(Bool_t)
virtual voidAliFemtoEventReader::SetKinkCut(AliFemtoKinkCut* pcut)
voidSetMagneticFieldSign(int s)
voidSetOnlyPrimaries(Bool_t)
voidSetPionAnalysis(Bool_t)
voidSetProtonAnalysis(Bool_t)
voidSetReadTPCInner(const bool readinner)
voidSetReadTrackType(AliFemtoEventReaderESDChainKine::ReadTrackType aType)
voidSetReadV0(bool a)
voidSetRotateToEventPlane(short dorotate)
voidSetStackSource(AliStack* aStack)
virtual voidAliFemtoEventReader::SetTrackCut(AliFemtoTrackCut* pcut)
voidSetUseMultiplicity(AliFemtoEventReaderESDChainKine::EstEventMult aType)
voidSetUseTPCOnly(const bool usetpconly)
virtual voidAliFemtoEventReader::SetV0Cut(AliFemtoV0Cut* pcut)
virtual voidAliFemtoEventReader::SetXiCut(AliFemtoXiCut* pcut)
intAliFemtoEventReader::Status() const
virtual AliFemtoTrackCut*AliFemtoEventReader::TrackCut()
virtual AliFemtoV0Cut*AliFemtoEventReader::V0Cut()
virtual intAliFemtoEventReader::WriteHbtEvent(AliFemtoEvent*)
virtual AliFemtoXiCut*AliFemtoEventReader::XiCut()
private:
Float_tGetSigmaToVertex(double* impact, double* covar)

Data Members

public:
enum TrackType { kGlobal
kTPCOnly
kITSOnly
kSPDTracklet
};
enum EventMult { kCentrality
kGlobalCount
kReferenceITSTPC
kReferenceITSSA
kReferenceTracklets
kSPDLayer1
kVZERO
kCentralityTRK
kCentralityZNA
kCentralityCL1
kCentralityCND
kCentralityV0A
kCentralityV0C
kCentralityZNC
kCentralityCL0
kCentralityFMD
kCentralityTKL
kCentralityNPA
};
protected:
intAliFemtoEventReader::fDebugDebug information level
AliFemtoEventCut*AliFemtoEventReader::fEventCut! link to the front-loaded event cut
AliFemtoKinkCut*AliFemtoEventReader::fKinkCut! link to the front-loaded Kink cut
intAliFemtoEventReader::fReaderStatus0="good"
AliFemtoTrackCut*AliFemtoEventReader::fTrackCut! link to the front-loaded track cut
AliFemtoV0Cut*AliFemtoEventReader::fV0Cut! link to the front-loaded V0 cut
AliFemtoXiCut*AliFemtoEventReader::fXiCut! link to the front-loaded Xi cut
private:
boolfConstrainedflag to set which momentum from ESD file will be use
intfCurEventnumber of current event
unsigned intfCurFilenumber of current file
AliESDpid*fESDpid
AliFemtoEventReaderESDChainKine::EventMultfEstEventMultType of the event multiplicity estimator
AliESDEvent*fEventESD event
stringfFileNamename of current ESD file
AliGenEventHeader*fGenHeaderLink to the generator event header
Bool_tfIsPidOwner
intfMagFieldSignMagnetic field sign
intfNumberofEventnumber of Events in ESD file
Bool_tfOnlyPrimariesswitch to analyze only primaries
boolfReadInnerflag to set if one wants to read TPC-only momentum
boolfReadV0
shortfRotateToEventPlaneRotate the event so that event plane is at x=0
AliStack*fStackKinematics stack pointer
AliFemtoEventReaderESDChainKine::TrackTypefTrackTypeType of track read
boolfUseTPCOnlyflog to set to read TPC only momentum instead of the full
Bool_tisKaonAnalysisswitch for Kaon analysis
Bool_tisPionAnalysisswitch for Pion analysis
Bool_tisProtonAnalysisswitch for Proton analysis

Class Charts

Inheritance Chart:
AliFemtoEventReader
AliFemtoEventReaderESDChainKine

Function documentation

AliFemtoEventReaderESDChainKine()
constructor with 0 parameters , look at default settings
AliFemtoEventReaderESDChainKine(const AliFemtoEventReaderESDChainKine& aReader)
 Copy constructor
~AliFemtoEventReaderESDChainKine()
Destructor
AliFemtoEventReaderESDChainKine& operator=(const AliFemtoEventReaderESDChainKine& aReader)
 Assignment operator
AliFemtoString Report()
void SetConstrained(const bool constrained)
 Select whether to read constrained or not constrained momentum
bool GetConstrained() const
 Check whether we read constrained or not constrained momentum
void SetReadTPCInner(const bool readinner)
bool GetReadTPCInner() const
void SetUseTPCOnly(const bool usetpconly)
bool GetUseTPCOnly() const
void SetUseMultiplicity(AliFemtoEventReaderESDChainKine::EstEventMult aType)
AliFemtoEvent* ReturnHbtEvent()
 Get the event, read all the relevant information
 and fill the AliFemtoEvent class
 Returns a valid AliFemtoEvent
void SetESDSource(AliESDEvent* aESD)
 The chain loads the ESD for us
 You must provide the address where it can be found
void SetStackSource(AliStack* aStack)
 The chain loads the stack for us
 You must provide the address where it can be found
void SetGenEventHeader(AliGenEventHeader* aGenHeader)
 The chain loads the generator event header for us
 You must provide the address where it can be found
void SetRotateToEventPlane(short dorotate)
Float_t GetSigmaToVertex(double* impact, double* covar)
 Calculates the number of sigma to the vertex.
void SetReadTrackType(AliFemtoEventReaderESDChainKine::ReadTrackType aType)
void SetReadV0(bool a)
void SetKaonAnalysis(Bool_t )
void SetProtonAnalysis(Bool_t )
void SetPionAnalysis(Bool_t )
void SetOnlyPrimaries(Bool_t )
void CopyESDtoFemtoV0(AliESDv0* tESDv0, AliFemtoV0* tFemtoV0, AliESDEvent* tESDevent)
void SetMagneticFieldSign(int s)
void GetGlobalPositionAtGlobalRadiiThroughTPC(AliESDtrack* track, Float_t bfield, Float_t** globalPositionsAtRadii)
 Gets the global position of the track at nine different radii in the TPC
 track is the track you want to propagate
 bfield is the magnetic field of your event
 globalPositionsAtRadii is the array of global positions in the radii and xyz
void SetESDPid(AliESDpid* esdPid)
{ fESDpid = esdPid; }