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 "TClonesArray.h"
6 #include "StEEmcPair.h"
7 #include "StEEmcPoint.h"
8 #include "StEEmcCluster.h"
9 #include "StEEmcSmdCluster.h"
10 
12 #include "StEvent/StEventInfo.h"
13 #include "StEvent/StRunInfo.h"
14 #include "StEvent/StEventSummary.h"
15 #include "StEvent/StL0Trigger.h"
16 #include "StEvent/StTriggerIdCollection.h"
17 #include "StMuDSTMaker/COMMON/StMuEvent.h"
18 
19 
20 class StEEmcMixEvent : public TObject {
21 
22  public:
23 
25  ~StEEmcMixEvent(){ /* nada */ };
26 
27  void addPoint ( StEEmcPoint p );
28  void addPair ( StEEmcPair p );
29  void addMixed ( StEEmcPair p );
30  void addTower ( StEEmcTower t );
31 
32  void setLeadingPair( StEEmcPair &p );
33 
34  void addCluster( StEEmcSmdCluster c);
35 
36  void setEvent( StMuEvent *event );
37 
38  void setTotalEnergy( Float_t e );
39  void setTotalPoints( Float_t e );
40  void setEnergySeen( Float_t e );
41 
42  void setTotalEnergyU( Int_t s, Float_t e );
43  void setTotalEnergyV( Int_t s, Float_t e );
44 
45  void setHighTower( StEEmcTower &t );
46 
47  void Clear(Option_t *opts="");
48 
49  private:
50  protected:
51 
53  Int_t mEventId;
54  Int_t mEventNumber;
55  Int_t mRunId;
56  Int_t mRunNumber;
57  StEventInfo mEventInfo;
58  StRunInfo mRunInfo;
59  StMuTriggerIdCollection mMuTriggerIdCollection;
60  StL0Trigger mL0trigger;
61  Double_t mMagneticField;
62 
64  Int_t nReal;
65  Int_t nMixed;
66  TClonesArray *mRealPairs;
67  TClonesArray *mMixedPairs;
68 
71 
72  Int_t nPoints;
73  TClonesArray *mPoints;
74 
75  Int_t nClustersU;
76  TClonesArray *mClustersU;
77 
78  Int_t nClustersV;
79  TClonesArray *mClustersV;
80 
82  Float_t mEtotal;
83  Float_t mEpoints;
84  Float_t mEseen;
85 
86  Float_t mEtotalU[12];
87  Float_t mEtotalV[12];
88 
90  Int_t nTowers;
91  TClonesArray *mTowers;
92 
95 
96  ClassDef(StEEmcMixEvent,1);
97 
98 };
99 
100 inline void StEEmcMixEvent::setTotalEnergy(Float_t t){mEtotal=t;}
101 inline void StEEmcMixEvent::setEnergySeen(Float_t s){mEseen=s;}
102 
103 inline void StEEmcMixEvent::setTotalEnergyU(Int_t s, Float_t e){mEtotalU[s]=e;}
104 inline void StEEmcMixEvent::setTotalEnergyV(Int_t s, Float_t e){mEtotalV[s]=e;}
105 
106 inline void StEEmcMixEvent::setHighTower ( StEEmcTower &t ){ mHighTower=t; }
107 
108 inline void StEEmcMixEvent::setLeadingPair( StEEmcPair &p ) { mLeadingPair = p; }
109 
110 #endif
Float_t mEtotal
Total energy in eemc.
Base class for representing EEMC points.
Definition: StEEmcPoint.h:24
Int_t nTowers
Hit towers from A2E maker.
Int_t nReal
From EEMC point-maker.
copied from muDst
StEEmcPair mLeadingPair
Pair which contains the two most energetic points.
Base class for representing tower, preshower and postshower elements.
Definition: StEEmcTower.h:11
StEEmcTower mHighTower
Maximum tower.
A base class for representing clusters of EEMC smd strips.
Int_t mEventId
Items to be copied from StMuEvent.
A class to represent pairs of points.
Definition: StEEmcPair.h:9
Collection of trigger ids as stored in MuDst.