StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StEEmcIUMixEvent.h
1 #ifndef __StEEmcIUMixEvent_h__
2 #define __StEEmcIUMixEvent_h__
3 
4 #include <TObject.h>
5 #include "StEEmcIUPair.h"
6 #include "StEEmcIUPoint.h"
7 #include "StEEmcIUCluster.h"
8 #include "StEEmcIUSmdCluster.h"
9 
11 #include "StEvent/StEventInfo.h"
12 #include "StEvent/StRunInfo.h"
13 #include "StEvent/StEventSummary.h"
14 #include "StEvent/StL0Trigger.h"
15 #include "StEvent/StTriggerIdCollection.h"
16 #include "StMuDSTMaker/COMMON/StMuEvent.h"
17 #include "StEvent/StBbcTriggerDetector.h"
18 #include "StEvent/StEmcTriggerDetector.h"
19 
20 #include "StarClassLibrary/StThreeVectorF.hh"
21 
22 #define MAX_PAIRS 5
23 
24 class StEEmcIUMixEventClust : public TObject {
25 
26  public:
27  StEEmcIUMixEventClust(){ /* nada */ }
28  ~StEEmcIUMixEventClust(){ /* nada */ }
29 
30  Int_t index;
31  Float_t eTower;
32  Float_t ePre1;
33  Float_t ePre2;
34  Float_t ePost;
35  Float_t eSmd;
37  Float_t etaTower;
38  Float_t etaPre1;
39  Float_t etaPre2;
40  Float_t etaPost;
41  Float_t etaSmd;
43  Int_t nTower;
44  Int_t nPre1;
45  Int_t nPre2;
46  Int_t nPost;
47 
48  void Clear(Option_t *opts="");
49 
50  private:
51  protected:
52  ClassDef(StEEmcIUMixEventClust,1);
53 };
54 
55 
56 class StEEmcIUMixEventHead : public TObject {
57 
58  public:
59  StEEmcIUMixEventHead(){ /* nada */ };
60  ~StEEmcIUMixEventHead(){ /* nada */ };
61 
62  Int_t mEventId;
63  Int_t mEventNumber;
64  Int_t mRunId;
65  Int_t mRunNumber;
66 
67  Int_t numberOfCandidates(){ return mNumberOfCandidates; }
68  Int_t mNumberOfCandidates;
69 
70  void setEvent( StMuEvent *event );
71 
72  void Clear(Option_t *opts="");
73 
74  private:
75  protected:
76  ClassDef(StEEmcIUMixEventHead,1);
77 
78 };
79 
80 
81 class StEEmcIUMixEvent : public TObject {
82 
83  public:
84 
86  ~StEEmcIUMixEvent(){ /* nada */ };
87 
88  void addPair( StEEmcIUPair p );
89  void setEvent( StMuEvent *event );
90  void setSpin4(Int_t s){ mSpin4=s; }
91 
92  void Clear(Option_t *opts="");
93 
95  Int_t mEventId;
96  Int_t mEventNumber;
97  Int_t mRunId;
98  Int_t mRunNumber;
99 
100  StEventInfo mEventInfo;
101  StRunInfo mRunInfo;
102  StL0Trigger mL0trigger;
103  StMuTriggerIdCollection mMuTriggerIdCollection;
104  StBbcTriggerDetector mBbcTrigger;
105  StEmcTriggerDetector mEmcTrigger;
106 
107  StThreeVectorF mPrimaryVertex;
108 
109  Double_t mMagneticField;
110 
113  Float_t mADC[720];
114  UShort_t mStat[720];
115  Float_t sum3x3(Int_t index);
116  Float_t sum3x3();
117  Float_t htdsm();
118  Float_t tpdsm();
119  Int_t pedEEmcDSM_HT[90];
120  Int_t pedEEmcDSM_TP[90];
121  Int_t npi0();
122  Int_t deta(){ return deta(0); }
123  Int_t dphi(){ return dphi(0); }
124  Int_t deta(Int_t i);
125  Int_t dphi(Int_t i);
126 
127 
128  Int_t mSpin4;
129  Int_t bx7;
130  Int_t bx48;
131  Int_t bxStar;
132 
134  Int_t nPairs;
135  Float_t mMass[MAX_PAIRS]; //[nPairs]
136  Float_t mPT[MAX_PAIRS]; //[nPairs]
137  Float_t mEta[MAX_PAIRS]; //[nPairs]
138  Float_t mEEmcEta[MAX_PAIRS]; //[nPairs]
139  Float_t mPhi[MAX_PAIRS]; //[nPairs]
140  Float_t mZgg[MAX_PAIRS]; //[nPairs];
141  Float_t mEnergy[MAX_PAIRS]; //[nPairs]
142  Float_t mEpre1[MAX_PAIRS]; //[nPairs]
143  Float_t mEpre2[MAX_PAIRS]; //[nPairs]
144  Float_t mEpost[MAX_PAIRS]; //[nPairs]
145  Float_t mEsmdu[MAX_PAIRS]; //[nPairs]
146  Float_t mEsmdv[MAX_PAIRS]; //[nPairs]
147  Float_t mZvertex[MAX_PAIRS]; //[nPairs]
148  Float_t mPhigg[MAX_PAIRS]; //[nPairs]
149 
150  Int_t mTower1[MAX_PAIRS]; //[nPairs]
151  Int_t mTower2[MAX_PAIRS]; //[nPairs]
152  Float_t mEnergy1[MAX_PAIRS]; //[nPairs]
153  Float_t mEnergy2[MAX_PAIRS]; //[nPairs]
154 
155  Float_t mEnergyRatio[MAX_PAIRS];
156 
157  Float_t mTotalEnergyT;
158  Float_t mTotalEnergyP;
159  Float_t mTotalEnergyQ;
160  Float_t mTotalEnergyR;
161  Float_t mTotalEnergyU;
162  Float_t mTotalEnergyV;
163 
164  Int_t mNumberT[MAX_PAIRS];
165  Int_t mNumberR[MAX_PAIRS];
166  Int_t mNumberU[MAX_PAIRS];
167  Int_t mNumberV[MAX_PAIRS];
168 
169  private:
170  protected:
171  ClassDef(StEEmcIUMixEvent,1);
172 
173 };
174 
175 #endif
Float_t sum3x3(Int_t index)
Int_t mEventId
Items to be copied from StMuEvent.
Int_t nPairs
From EEMC point-maker.
Collection of trigger ids as stored in MuDst.