StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StEEmcMixEvent.h
1 #ifndef __StEEmcMixEvent_h__
2 #define __StEEmcMixEvent_h__
3 
4 #include <TObject.h>
5 #include "StEEmcPair.h"
6 #include "StEEmcPool/StEEmcPointMaker/StEEmcPoint.h"
7 #include "StEEmcPool/StEEmcClusterMaker/StEEmcCluster.h"
8 #include "StEEmcPool/StEEmcClusterMaker/StEEmcSmdCluster.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 #define MAX_PAIRS 5
21 
22 
23 class StEEmcMixEvent : public TObject {
24 
25  public:
26 
28  ~StEEmcMixEvent(){ /* nada */ };
29 
30  void addPair( StEEmcPair p );
31  void setEvent( StMuEvent *event );
32  void setSpin4(Int_t s){ mSpin4=s; }
33 
34  void Clear(Option_t *opts="");
35 
37  Int_t mEventId;
38  Int_t mEventNumber;
39  Int_t mRunId;
40  Int_t mRunNumber;
41 
42  StEventInfo mEventInfo;
43  StRunInfo mRunInfo;
44  StL0Trigger mL0trigger;
45  StMuTriggerIdCollection mMuTriggerIdCollection;
46  StBbcTriggerDetector mBbcTrigger;
47  StEmcTriggerDetector mEmcTrigger;
48 
49  Double_t mMagneticField;
50 
53 
54  Float_t mADC [720];
55  Float_t mGain [720];
56 
57  UShort_t mStat[720];
58  Float_t sum3x3(Int_t index);
59  Float_t sum3x3();
60  Float_t htdsm();
61  Float_t tpdsm();
62  Int_t pedEEmcDSM_HT[90];
63  Int_t pedEEmcDSM_TP[90];
64  Int_t npi0();
65  Int_t deta(){ return deta(0); }
66  Int_t dphi(){ return dphi(0); }
67  Int_t deta(Int_t i);
68  Int_t dphi(Int_t i);
69 
70 
71  Int_t mSpin4;
72  Int_t bx7;
73  Int_t bx48;
74  Int_t bxStar;
75 
77  Int_t nPairs;
78  std::vector<Float_t> mMass;
79  std::vector<Float_t> mPT;
80  std::vector<Float_t> mEta;
81  std::vector<Float_t> mPhi;
82  std::vector<Float_t> mZgg;
83  std::vector<Float_t> mEnergy;
84  std::vector<Float_t> mEpre1;
85  std::vector<Float_t> mEpre2;
86  std::vector<Float_t> mEpost;
87  std::vector<Float_t> mEsmdu;
88  std::vector<Float_t> mEsmdv;
89  std::vector<Float_t> mZvertex;
90  std::vector<Float_t> mPhigg;
91 
92  std::vector<Int_t> mTower1;
93  std::vector<Int_t> mTower2;
94  std::vector<Float_t> mEnergy1;
95  std::vector<Float_t> mEnergy2;
96 
97  Float_t mTotalEnergyT;
98  Float_t mTotalEnergyP;
99  Float_t mTotalEnergyQ;
100  Float_t mTotalEnergyR;
101  Float_t mTotalEnergyU;
102  Float_t mTotalEnergyV;
103 
104  std::vector<Int_t> mNumberT;
105  std::vector<Int_t> mNumberR;
106  std::vector<Int_t> mNumberU;
107  std::vector<Int_t> mNumberV;
108 
109  std::vector<Int_t> mNumberOfTracks;
110  std::vector<Int_t> mNumberOfPoints;
112  std::vector<Int_t> mNumberOfTowerClusters;
113  std::vector<Int_t> mNumberOfSmduClusters;
114  std::vector<Int_t> mNumberOfSmdvClusters;
115 
116 
117 
118 
119 
120  private:
121  protected:
122  ClassDef(StEEmcMixEvent,2);
123 
124 };
125 
126 #endif
Int_t nPairs
From EEMC point-maker.
copied from muDst
std::vector< Int_t > mNumberOfPoints
Float_t sum3x3(Int_t index)
Int_t mEventId
Items to be copied from StMuEvent.
std::vector< Int_t > mNumberOfTracks
Float_t mADC[720]
A class to represent pairs of points.
Definition: StEEmcPair.h:9
Collection of trigger ids as stored in MuDst.