ROOT logo
AliRoot » PWGCF » FEMTOSCOPY » ALIFEMTO » AliFemtoEventReaderStandard

class AliFemtoEventReaderStandard: public AliFemtoEventReader


AliFemtoEventReaderStandard - the reader class for the Alice ESD, AOD
the model Kinematics information tailored for the Task framework
Authors: Adam Kisiel Adam.Kisiel@cern.ch


Function Members (Methods)

public:
AliFemtoEventReaderStandard()
AliFemtoEventReaderStandard(const AliFemtoEventReaderStandard& aReader)
virtual~AliFemtoEventReaderStandard()
intAliFemtoEventReader::Debug() const
virtual AliFemtoEventCut*AliFemtoEventReader::EventCut()
virtual voidAliFemtoEventReader::Finish()
virtual intAliFemtoEventReader::Init(const char* ReadWrite, AliFemtoString& Message)
virtual AliFemtoKinkCut*AliFemtoEventReader::KinkCut()
AliFemtoEventReaderStandard&operator=(const AliFemtoEventReaderStandard& aReader)
virtual AliFemtoStringReport()
virtual AliFemtoEvent*ReturnHbtEvent()
voidSetAODSource(AliAODEvent* aAOD)
voidAliFemtoEventReader::SetDebug(int d)
voidSetESDSource(AliESDEvent* aESD)
voidSetESDTrackCuts(AliESDtrackCuts* esdcuts)
virtual voidAliFemtoEventReader::SetEventCut(AliFemtoEventCut* ecut)
voidSetGenEventHeader(AliGenEventHeader* aGenHeader)
voidSetInputType(AliFemtoEventReaderStandard::AliFemtoInputType aInput)
virtual voidAliFemtoEventReader::SetKinkCut(AliFemtoKinkCut* pcut)
voidSetStackSource(AliStack* aStack)
virtual voidAliFemtoEventReader::SetTrackCut(AliFemtoTrackCut* pcut)
voidSetUsePhysicsSelection(const bool usephysics)
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()
protected:
voidCopyAODtoFemtoTrack(const AliAODTrack* tAodTrack, AliFemtoTrack* tFemtoTrack)
AliAODMCParticle*GetParticleWithLabel(TClonesArray* mcP, Int_t aLabel)

Data Members

public:
enum InputType { kUnknown
kESD
kAOD
kESDKine
kAODKine
};
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:
AliAODEvent*fAODEvent! AOD event
intfCurEventnumber of current event
unsigned intfCurFilenumber of current file
AliESDEvent*fESDEvent! ESD event
stringfFileNamename of current ESD file
AliGenEventHeader*fGenHeader! Link to the generator event header
AliFemtoEventReaderStandard::InputTypefInputTypeSelect data input type
intfNumberofEventnumber of Events in ESD file
AliPhysicsSelection*fSelectClass to select only physics events
AliStack*fStack! Kinematics stack pointer
AliESDtrackCuts*fTrackCutsLink to external ESD track cut
boolfUsePhysicsSelif true the physics selection class will be used
boolfUseTPCOnlyif true the TPC only parameters will be used

Class Charts

Inheritance Chart:
AliFemtoEventReader
AliFemtoEventReaderStandard

Function documentation

AliFemtoEventReaderStandard()
constructor with 0 parameters , look at default settings
AliFemtoEventReaderStandard(const AliFemtoEventReaderStandard& aReader)
 Copy constructor
~AliFemtoEventReaderStandard()
Destructor
AliFemtoEventReaderStandard& operator=(const AliFemtoEventReaderStandard& aReader)
 Assignment operator
AliFemtoString Report()
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 SetAODSource(AliAODEvent* aAOD)
 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 SetInputType(AliFemtoEventReaderStandard::AliFemtoInputType aInput)
 Set the proper input type
void SetGenEventHeader(AliGenEventHeader* aGenHeader)
 The chain loads the generator event header for us
 You must provide the address where it can be found
void SetUsePhysicsSelection(const bool usephysics)
void SetESDTrackCuts(AliESDtrackCuts* esdcuts)
 Set external ESD track cuts
void SetUseTPCOnly(const bool usetpconly)
 Set flag to use TPC only tracks
void CopyAODtoFemtoTrack(const AliAODTrack* tAodTrack, AliFemtoTrack* tFemtoTrack)
 Copy the track information from the AOD into the internal AliFemtoTrack
 If it exists, use the additional information from the PWG2 AOD
AliAODMCParticle* GetParticleWithLabel(TClonesArray* mcP, Int_t aLabel)