14 virtual TObject *
Clone(
const char *name=0)
const {
return new StEvtHddr(*
this,name);}
15 virtual TObject *Clone() {
return ((
const StEvtHddr*)
this)->Clone();};
18 Int_t GetRunNumber()
const {
return mRunNumber;};
19 Int_t GetOldRunNumber()
const {
return mOldRunNumber;};
20 const Char_t *GetEventType()
const {
return (
const Char_t*)mEventType;};
21 UInt_t GetTriggerMask()
const {
return mTriggerMask;};
22 UInt_t GetInputTriggerMask()
const {
return mInputTriggerMask;};
23 Float_t GetCenterOfMassEnergy()
const {
return mCenterOfMassEnergy;};
24 UInt_t GetBunchCrossingNumber(
int i)
const {
return mBunchCrossingNumber[i];};
25 Int_t GetAEast()
const {
return mAEast;};
26 Int_t GetZEast()
const {
return mZEast;};
27 Int_t GetAWest()
const {
return mAWest;};
28 Int_t GetZWest()
const {
return mZWest;};
29 Float_t GetLuminosity()
const {
return mLuminosity;};
30 Float_t GetBImpact()
const {
return mBImpact;};
31 Float_t GetPhiImpact()
const {
return mPhImpact;};
32 Float_t GetPhImpact()
const {
return GetPhiImpact();};
33 UInt_t GetUTime()
const ;
34 Int_t GetDate()
const {
return mEventTime.GetDate();};
35 Int_t GetTime()
const {
return mEventTime.GetTime();};
36 const TDatime &GetDateTime()
const {
return mEventTime;};
37 const TDatime &GetProdDateTime()
const {
return mProdTime;};
38 Int_t GetIventNumber()
const {
return mIventNumber;};
39 Int_t GetEventSize()
const {
return mEventSize;};
40 Int_t GetEventNumber()
const {
return mEventNumber;};
41 Int_t GetGenerType()
const {
return mGenerType;};
42 Int_t IsNewRun()
const {
return (mRunNumber!=mOldRunNumber);};
46 void SetRunNumber(
int run) {mOldRunNumber=mRunNumber;mRunNumber=run;};
47 void SetEventType(
const Char_t *type){mEventType=type;};
48 void SetTriggerMask(UInt_t tm) {mTriggerMask=tm;};
49 void SetInputTriggerMask(UInt_t tm) {mInputTriggerMask=tm;};
50 void SetBunchCrossingNumber(UInt_t bcn0,UInt_t bcn1)
51 {mBunchCrossingNumber[0]=bcn0;mBunchCrossingNumber[1]=bcn1;}
52 void SetCenterOfMassEnergy(
float e) {mCenterOfMassEnergy=e;};
53 void SetBImpact (
float b) {mBImpact=b;};
54 void SetPhiImpact(
float p) {mPhImpact=p;};
55 void SetPhImpact (
float p) {SetPhiImpact(p);};
56 void SetAEast(
int a) {mAEast=a;};
57 void SetZEast(
int z) {mZEast=z;};
58 void SetAWest(
int a) {mAWest=a;};
59 void SetZWest(
int z) {mZWest=z;};
60 void SetLuminosity(
float lu) {mLuminosity=lu;};
61 void SetDateTime(
int iDate,
int iTime){mEventTime.Set(iDate,iTime);};
62 void SetDateTime(TDatime dt) {mEventTime=dt;};
63 void SetGMTime(UInt_t ut);
64 void SetProdDateTime(UInt_t ut=0);
65 void SetIventNumber(
int iv) {mIventNumber=iv;};
66 void SetEventSize(
int is) {mEventSize=is;};
67 void SetEventNumber(
int ev) {mEventNumber=ev;};
68 void SetGenerType(
int g) {mGenerType=g;};
69 void Print(Option_t* option=
"")
const;
76 UInt_t mInputTriggerMask;
78 Float_t mCenterOfMassEnergy;
84 Float_t mBeamPolarizationEast[3];
85 Float_t mBeamPolarizationWest[3];
89 UInt_t mBunchCrossingNumber[2];
102 inline StEvtHddr::StEvtHddr(
const StEvtHddr &hddr,
const char *name):
TDataSet(name,
"")
111 UInt_t mInputTriggerMask;
113 Float_t mCenterOfMassEnergy;
119 Float_t mBeamPolarizationEast[3];
120 Float_t mBeamPolarizationWest[3];
124 UInt_t mBunchCrossingNumber[2];
virtual TObject * Clone(const char *name=0) const
the custom implementation fo the TObject::Clone