ROOT logo
AliRoot » PWGCF » FEMTOSCOPY » ALIFEMTO » AliFemtoEventReaderKinematicsChain

class AliFemtoEventReaderKinematicsChain: public AliFemtoEventReader


AliFemtoEventReaderKinematicsChain - 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: Malgorzata Janik, Warsaw University of Technology, majanik@cern.ch
Lukasz Graczykowski, Warsaw University of Technology, lgraczyk@cern.ch


Function Members (Methods)

public:
AliFemtoEventReaderKinematicsChain()
AliFemtoEventReaderKinematicsChain(const AliFemtoEventReaderKinematicsChain& aReader)
virtual~AliFemtoEventReaderKinematicsChain()
voidCopyAODtoFemtoV0(TParticle* tv0, AliFemtoV0* tFemtoV0)
intAliFemtoEventReader::Debug() const
virtual AliFemtoEventCut*AliFemtoEventReader::EventCut()
virtual voidAliFemtoEventReader::Finish()
boolGetConstrained() const
virtual intAliFemtoEventReader::Init(const char* ReadWrite, AliFemtoString& Message)
virtual AliFemtoKinkCut*AliFemtoEventReader::KinkCut()
AliFemtoEventReaderKinematicsChain&operator=(const AliFemtoEventReaderKinematicsChain& aReader)
virtual AliFemtoStringReport()
virtual AliFemtoEvent*ReturnHbtEvent()
voidSetConstrained(const bool constrained)
voidAliFemtoEventReader::SetDebug(int d)
virtual voidAliFemtoEventReader::SetEventCut(AliFemtoEventCut* ecut)
voidSetGenEventHeader(AliGenEventHeader* aGenHeader)
virtual voidAliFemtoEventReader::SetKinkCut(AliFemtoKinkCut* pcut)
voidSetRotateToEventPlane(short dorotate)
voidSetStackSource(AliStack* aStack)
virtual voidAliFemtoEventReader::SetTrackCut(AliFemtoTrackCut* pcut)
voidSetUseMultiplicity(AliFemtoEventReaderKinematicsChain::EstEventMult aType)
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 EventMult { kGlobalCount
kVZERO
};
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
AliFemtoEventReaderKinematicsChain::EventMultfEstEventMultType of the event multiplicity estimator
stringfFileNamename of current ESD file
AliGenEventHeader*fGenHeaderLink to the generator event header
intfNumberofEventnumber of Events in ESD file
shortfRotateToEventPlaneRotate the event so that event plane is at x=0
AliStack*fStackKinematics stack pointer

Class Charts

Inheritance Chart:
AliFemtoEventReader
AliFemtoEventReaderKinematicsChain

Function documentation

AliFemtoEventReaderKinematicsChain()
constructor with 0 parameters , look at default settings
AliFemtoEventReaderKinematicsChain(const AliFemtoEventReaderKinematicsChain& aReader)
 Copy constructor
~AliFemtoEventReaderKinematicsChain()
Destructor
delete fEvent;
AliFemtoEventReaderKinematicsChain& operator=(const AliFemtoEventReaderKinematicsChain& 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
AliFemtoEvent* ReturnHbtEvent()
 Get the event, read all the relevant information from the stack
 and fill the AliFemtoEvent class
 Returns a valid AliFemtoEvent
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)
void SetUseMultiplicity(AliFemtoEventReaderKinematicsChain::EstEventMult aType)
Float_t GetSigmaToVertex(double* impact, double* covar)
 Calculates the number of sigma to the vertex.
void CopyAODtoFemtoV0(TParticle* tv0, AliFemtoV0* tFemtoV0)