1 #include "StEEmcMixEvent.h"
5 StEEmcMixEvent::StEEmcMixEvent()
8 mRealPairs =
new TClonesArray(
"StEEmcPair",500);
9 mMixedPairs =
new TClonesArray(
"StEEmcPair",500);
10 mPoints =
new TClonesArray(
"StEEmcPoint",500);
11 mTowers =
new TClonesArray(
"StEEmcTower",720);
13 mClustersU =
new TClonesArray(
"StEEmcSmdCluster",20);
14 mClustersV =
new TClonesArray(
"StEEmcSmdCluster",20);
20 void StEEmcMixEvent::setEvent(
StMuEvent *event )
24 mEventNumber =
event->eventNumber();
25 mRunId =
event->runId();
26 mRunNumber =
event->runNumber();
27 mEventInfo =
event->eventInfo();
28 mRunInfo =
event->runInfo();
29 mMuTriggerIdCollection =
event->triggerIdCollection();
30 mL0trigger =
event->l0Trigger();
31 mMagneticField =
event->magneticField();
37 void StEEmcMixEvent::Clear(Option_t *o)
40 mMixedPairs->Delete();
57 TClonesArray &points=*mPoints;
61 void StEEmcMixEvent::addPair (
StEEmcPair p ) {
62 TClonesArray &pairs=*mRealPairs;
65 void StEEmcMixEvent::addMixed(
StEEmcPair p ) {
66 TClonesArray &mixed=*mMixedPairs;
70 TClonesArray &towers=*mTowers;
78 TClonesArray &clusters=*mClustersU;
83 TClonesArray &clusters=*mClustersV;
Float_t mEtotal
Total energy in eemc.
Base class for representing EEMC points.
void energy(Float_t e, Int_t layer=0)
Set the energy of this point.
Int_t nTowers
Hit towers from A2E maker.
Int_t nReal
From EEMC point-maker.
Base class for representing tower, preshower and postshower elements.
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.