BrPhDSEvent
class description - source file - inheritance tree
public:
BrPhDSEvent BrPhDSEvent()
BrPhDSEvent BrPhDSEvent(BrPhDSEvent&)
virtual void ~BrPhDSEvent()
void AddParticle(BrParticle* part)
static TClass* Class()
virtual void Clear(Option_t* option)
BrVertex* GetMRSClusterVertex()
BrVertex* GetMrsTrackVertex()
Int_t GetNParticles()
TClonesArray* GetParticleList()
BrBbRdo* GetRdoBB()
BrZdcRdo* GetRdoZDC()
Int_t GetSiMult()
Int_t GetTileCentralityCut()
Int_t GetTileMult()
virtual TClass* IsA() const
void Reset(Option_t* option)
void SetEventHeader(BrEventHeader* header)
void SetMRSClusterVertex(BrVertex* vertex)
void SetMrsTrackVertex(BrVertex* vertex)
void SetRdoBB(BrBbRdo* rdoBB)
void SetRdoZDC(BrZdcRdo* rdoZDC)
void SetSiMult(const Int_t mult)
void SetTileCentralityCut(const Int_t cut)
void SetTileMult(const Int_t mult)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
private:
BrEventHeader fEventHeader
TClonesArray* fParticles
static TClonesArray* fgParticles
Int_t fNParticles
Int_t fTileMult
Int_t fTileCentralityCut
Int_t fSiMult
BrBbRdo fRdoBB
BrZdcRdo fRdoZDC
BrVertex fMrsTrackVertex
BrVertex fMRSClusterVertex
$Id: BrPhDSEvent.cxx,v 1.2 2001/11/05 06:53:17 ouerdane Exp $
$Author: ouerdane $
$Date: 2001/11/05 06:53:17 $
$Copyright: 2001 BRAHMS Collaboration <brahmlib@rhic.bnl.gov>
BrPhDSEvent()
Create an Event object.
When the constructor is invoked for the first time, the class static
variable fgTracks is 0 and the TClonesArray fgTracks is created.
~BrPhDSEvent()
void AddParticle(BrParticle *particle)
Add a new particle to the list of particles for this event.
To avoid calling the very time consuming operator new for each track,
the standard but not well know C++ operator "new with placement"
is called. If tracks[i] is 0, a new Track object will be created
otherwise the previous Track[i] will be overwritten.
void SetEventHeader(BrEventHeader *header)
void Clear(Option_t *option)
void Reset(Option_t *option)
Static function to reset all static objects for this event
fgTracks->Delete(option);
Inline Functions
void SetRdoBB(BrBbRdo* rdoBB)
void SetRdoZDC(BrZdcRdo* rdoZDC)
void SetMrsTrackVertex(BrVertex* vertex)
void SetMRSClusterVertex(BrVertex* vertex)
void SetTileMult(const Int_t mult)
void SetTileCentralityCut(const Int_t cut)
void SetSiMult(const Int_t mult)
Int_t GetNParticles()
Int_t GetTileMult()
Int_t GetTileCentralityCut()
Int_t GetSiMult()
BrBbRdo* GetRdoBB()
BrZdcRdo* GetRdoZDC()
BrVertex* GetMrsTrackVertex()
BrVertex* GetMRSClusterVertex()
TClonesArray* GetParticleList()
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
BrPhDSEvent BrPhDSEvent(BrPhDSEvent&)
|