//-*- mode: c++ -*- // // $Id: BrPhDSEvent.h,v 1.3 2001/11/05 06:53:17 ouerdane Exp $ // $Author: ouerdane $ // $Date: 2001/11/05 06:53:17 $ // ////////////////////////////////////////////////////////////////////////// // // // Event // // // // Description of the event and track parameters // // // ////////////////////////////////////////////////////////////////////////// #ifndef BRAT_BrPhDSEvent #define BRAT_BrPhDSEvent #ifndef ROOT_TObject #include "TObject.h" #endif #ifndef ROOT_TClonesArray #include "TClonesArray.h" #endif #ifndef BRAT_BrEventHeader #include "BrEventHeader.h" #endif #ifndef BRAT_BrParticle #include "BrParticle.h" #endif #ifndef BRAT_BrVertex #include "BrVertex.h" #endif #ifndef BRAT_BrBbRdo #include "BrBbRdo.h" #endif #ifndef BRAT_BrZdcRdo #include "BrZdcRdo.h" #endif class BrPhDSEvent : public TObject { 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; public: BrPhDSEvent(); virtual ~BrPhDSEvent(); void Clear(Option_t *option =""); void Reset(Option_t *option =""); //Setters //Tracks void AddParticle(BrParticle *part); //Vertices void SetRdoBB(BrBbRdo *rdoBB) {fRdoBB = *rdoBB;} void SetRdoZDC(BrZdcRdo *rdoZDC) {fRdoZDC = *rdoZDC;} void SetMrsTrackVertex(BrVertex *vertex) {fMrsTrackVertex = *vertex;} void SetMRSClusterVertex(BrVertex *vertex) {fMRSClusterVertex = *vertex;} //Mult void SetTileMult(const Int_t mult) {fTileMult = mult;} void SetTileCentralityCut(const Int_t cut) {fTileCentralityCut = cut;} void SetSiMult(const Int_t mult) {fSiMult = mult;} //Event Header void SetEventHeader(BrEventHeader *header); //Getters Int_t GetNParticles() { return fNParticles;} Int_t GetTileMult() { return fTileMult;} Int_t GetTileCentralityCut() { return fTileCentralityCut;} Int_t GetSiMult() { return fSiMult;} BrBbRdo* GetRdoBB() { return &fRdoBB;} BrZdcRdo* GetRdoZDC() { return &fRdoZDC;} BrVertex* GetMrsTrackVertex() { return &fMrsTrackVertex;} BrVertex* GetMRSClusterVertex() { return &fMRSClusterVertex;} TClonesArray* GetParticleList() { return fParticles;} public: ClassDef(BrPhDSEvent,1) //Event structure }; #endif // $Log: BrPhDSEvent.h,v $ // Revision 1.3 2001/11/05 06:53:17 ouerdane // changed FFS to Ffs, MRS to Mrs etc // // Revision 1.2 2001/06/22 17:35:19 cholm // Change names so that every data class has the same format so that // we have that down from the very beginning, so that we will not have to // worry about that later on. The affected classes are: // // // BrRdoBB -> BrBbRdo // BrRdoZDC -> BrZdcRdo // BrTPCCluster -> BrTpcCluster // BrTPCClusterTable -> BrTpcClusterTable // // Revision 1.1.1.1 2001/06/21 14:55:02 hagel // Initial revision of brat2 // // Revision 1.1 2001/04/20 16:12:02 hagel // Initial revision //