AliPHOSIndexToObject
class description - source file - inheritance tree
private:
AliPHOSIndexToObject AliPHOSIndexToObject(AliPHOS* det)
public:
AliPHOSIndexToObject AliPHOSIndexToObject()
AliPHOSIndexToObject AliPHOSIndexToObject(const AliPHOSIndexToObject& obj)
virtual void ~AliPHOSIndexToObject()
static TClass* Class()
static AliPHOSIndexToObject* GetInstance(AliPHOS* det)
static AliPHOSIndexToObject* GetInstance()
AliPHOSDigit* GimeDigit(Int_t index)
TParticle* GimePrimaryParticle(Int_t index)
AliPHOSRecParticle* GimeRecParticle(Int_t index)
AliRecPoint* GimeRecPoint(Int_t index, TString s)
AliPHOSTrackSegment* GimeTrackSegment(Int_t index)
virtual TClass* IsA() const
AliPHOSIndexToObject& operator=(const AliPHOSIndexToObject& rvalue)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
private:
AliPHOS* fDetector the detector
TTree* fReconstruct the reconstruction tree
static AliPHOSIndexToObject* fgObjGetter pointer to the unique instance of the singleton
protected:
public:
A singleton that retrieves objets from an array stored in a Tree on a disk file
1. AliPHOSDigit from TreeD
*-- Author: Yves Schutz (SUBATECH)
AliPHOSIndexToObject(AliPHOS * det)
ctor called once to initialize the detector in use
AliPHOSIndexToObject* GetInstance()
Returns the pointer of the unique instance already defined
AliPHOSIndexToObject* GetInstance(AliPHOS * det)
Creates and returns the pointer of the unique instance
Must be called only when the environment has changed (a new event for exemple)
AliPHOSDigit* GimeDigit(Int_t index)
returns the object AliPHOSDigit stored at array position index in TreeD
TParticle* GimePrimaryParticle(Int_t index)
returns the object TParticle stored at array position index in TreeK
AliPHOSRecParticle* GimeRecParticle(Int_t index)
returns the object AliPHOSRecParticle stored at array position index in TreeR/PHOSRP
this one takes more work because the detetor object and the objects in TreeR are not saved at the same time
therefore the links are lost
AliRecPoint* GimeRecPoint(Int_t index, TString type)
returns the object AliPHOSRecPoint stored at array position index in TreeR/PHOSEmcRP or TreeR/PHOSPpsdRP
this one takes more work because the detetor object and the objects in TreeR are not saved at the same time
therefore the links are lost
AliPHOSTrackSegment* GimeTrackSegment(Int_t index)
returns the object AliPHOSTrackSegment stored at array position index in TreeR/PHOSTS
this one takes more work because the detetor object and the objects in TreeR are not saved at the same time
therefore the links are lost
Inline Functions
AliPHOSIndexToObject AliPHOSIndexToObject(const AliPHOSIndexToObject& obj)
AliPHOSIndexToObject& operator=(const AliPHOSIndexToObject& rvalue)
AliPHOSIndexToObject AliPHOSIndexToObject(AliPHOS* det)
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void ~AliPHOSIndexToObject()
Copyright (c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
ROOT page - Class index - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.