12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- #ifndef Oscar97Event_h
- #define Oscar97Event_h
- #include <TObject.h>
- #include <TClonesArray.h>
- #include <TRef.h>
- #include <TH1.h>
- #include <TBits.h>
- #include "Oscar97Track.h"
- //_________________
- class Oscar97Event : public TObject {
-
- private:
- Int_t mEventNumber; // number of event
- Int_t mNTracks; // number of tracks
- Float_t mImpactPar; // Impact parameter (fm/c)
- Float_t mEventPlaneRot; // Rotation of the event plane
- // (fixed to 0. in UrQMD)
- TClonesArray *mTrack;
- public:
-
- Oscar97Event();
- Oscar97Event &operator=(const Oscar97Event &event);
- ~Oscar97Event();
- void Clear(Option_t* option= "");
- Oscar97Track *AddTrack(Int_t trackNum);
- //
- // Get methods
- //
- Int_t GetEventNumber() { return mEventNumber; }
- Int_t GetNTracks() { return mNTracks; }
- Float_t GetImpactPar() { return mImpactPar; }
- Float_t GetEventPlaneRot() { return mEventPlaneRot; }
- TClonesArray *GetTracks() { return mTrack; }
- //
- // Set methods
- //
- void SetEventNumber(Int_t eventNumber) { mEventNumber = eventNumber; }
- void SetNTracks(Int_t nTracks) { mNTracks = nTracks; }
- void SetImpactPar(Float_t impPar) { mImpactPar = impPar; }
- void SetEventPlaneRot(Float_t epr) { mEventPlaneRot = epr; }
- void SetTracks(TClonesArray *tracks) { mTrack = tracks; }
- ClassDef(Oscar97Event, 1)
- };
- #endif
|