ROOT logo
AliRoot » PWGCF » FEMTOSCOPY » ALIFEMTO » AliFemtoEventReaderESDChain

class AliFemtoEventReaderESDChain: public AliFemtoEventReader

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

Function Members (Methods)

public:
AliFemtoEventReaderESDChain()
AliFemtoEventReaderESDChain(const AliFemtoEventReaderESDChain& aReader)
virtual~AliFemtoEventReaderESDChain()
voidCopyESDtoFemtoEvent(AliFemtoEvent* hbtEvent)
virtual voidCopyESDtoFemtoV0(AliESDv0* tESDv0, AliFemtoV0* tFemtoV0, AliESDEvent* fESDevent)
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()
AliFemtoEventReaderESDChain&operator=(const AliFemtoEventReaderESDChain& 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)
voidSetEventTrigger(UInt_t eventtrig)
voidSetIsPileUpEvent(Bool_t ispileup)
virtual voidAliFemtoEventReader::SetKinkCut(AliFemtoKinkCut* pcut)
voidSetMagneticFieldSign(int s)
voidSetMinPlpContribMV(Int_t minPlpContribMV)
voidSetMinPlpContribSPD(Int_t minPlpContribSPD)
voidSetMinVtxContr(Int_t contr = 1)
voidSetpA2013(Bool_t pa2013)
voidSetReadTPCInner(const bool readinner)
voidSetReadTrackType(AliFemtoEventReaderESDChain::ReadTrackType aType)
voidSetReadV0(bool a)
virtual voidAliFemtoEventReader::SetTrackCut(AliFemtoTrackCut* pcut)
voidSetUseMultiplicity(AliFemtoEventReaderESDChain::EstEventMult aType)
voidSetUseMVPlpSelection(Bool_t mvplp)
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
AliFemtoEventReaderESDChain::EventMultfEstEventMultType of the event multiplicity estimator
AliESDEvent*fEventESD event
UInt_tfEventTrigevent trigger
stringfFileNamename of current ESD file
Bool_tfIsPidOwner
Bool_tfMVPlp
intfMagFieldSign
Int_tfMinPlpContribMVno of contributors for multivertex pile-up rejection
Int_tfMinPlpContribSPDno of contributors for SPD pile-up rejection
Int_tfMinVtxContrno of contributors for pA 2013 data
intfNumberofEventnumber of Events in ESD file
boolfReadInnerflag to set if one wants to read TPC-only momentum
boolfReadV0Read V0 information from the AOD and put it into V0Collection
AliFemtoEventReaderESDChain::TrackTypefTrackTypeType of track read
boolfUseTPCOnlyflag to set if one wants to replace the global parameters
Bool_tfisPileUp
Bool_tfpA2013

Class Charts

Inheritance Chart:
AliFemtoEventReader
AliFemtoEventReaderESDChain

Function documentation

AliFemtoEventReaderESDChain()
constructor with 0 parameters , look at default settings
   fClusterPerPadrow = (list<Int_t> **) malloc(sizeof(list<Int_t> *) * AliESDfriendTrack::kMaxTPCcluster);
   for (int tPad=0; tPad<AliESDfriendTrack::kMaxTPCcluster; tPad++) {
     fClusterPerPadrow[tPad] = new list<Int_t>();
   }
   fSharedList = (list<Int_t> **) malloc(sizeof(list<Int_t> *) * AliESDfriendTrack::kMaxTPCcluster);
   for (int tPad=0; tPad<AliESDfriendTrack::kMaxTPCcluster; tPad++) {
     fSharedList[tPad] = new list<Int_t>();
   }
AliFemtoEventReaderESDChain(const AliFemtoEventReaderESDChain& aReader)
 Copy constructor
~AliFemtoEventReaderESDChain()
Destructor
AliFemtoEventReaderESDChain& operator=(const AliFemtoEventReaderESDChain& 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(AliFemtoEventReaderESDChain::EstEventMult aType)
AliFemtoEvent* ReturnHbtEvent()
 Get the event, read all the relevant information
 and fill the AliFemtoEvent class
 Returns a valid AliFemtoEvent
void CopyESDtoFemtoEvent(AliFemtoEvent* hbtEvent)
void SetESDSource(AliESDEvent* aESD)
 The chain loads the ESD for us
 You must provide the address where it can be found
Float_t GetSigmaToVertex(double* impact, double* covar)
 Calculates the number of sigma to the vertex.
void CopyESDtoFemtoV0(AliESDv0* tESDv0, AliFemtoV0* tFemtoV0, AliESDEvent* fESDevent)
void SetReadTrackType(AliFemtoEventReaderESDChain::ReadTrackType aType)
void SetEventTrigger(UInt_t eventtrig)
void SetReadV0(bool a)
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 SetpA2013(Bool_t pa2013)
void SetUseMVPlpSelection(Bool_t mvplp)
void SetIsPileUpEvent(Bool_t ispileup)
void SetESDPid(AliESDpid* esdPid)
  void SetESDfriendSource(AliESDfriend *aFriend);
{ fESDpid = esdPid; }
void SetMinVtxContr(Int_t contr = 1)
{fMinVtxContr=contr;}
void SetMinPlpContribMV(Int_t minPlpContribMV)
{ fMinPlpContribMV = minPlpContribMV;}
void SetMinPlpContribSPD(Int_t minPlpContribSPD)
{ fMinPlpContribSPD = minPlpContribSPD;}