46 #ifndef StEventSummary_hh
47 #define StEventSummary_hh
52 #include "StThreeVectorF.hh"
61 virtual void Clear (Option_t * opt=
"");
66 int numberOfTracks()
const;
67 int numberOfGoodTracks()
const;
68 int numberOfGoodTracks(StChargeSign)
const;
69 int numberOfGoodPrimaryTracks()
const;
70 int numberOfExoticTracks()
const;
71 int numberOfVertices()
const;
72 int numberOfVerticesOfType(StVertexId)
const;
73 int numberOfPileupVertices()
const;
75 float meanPt2()
const;
76 float meanEta()
const;
78 double magneticField()
const;
82 unsigned int numberOfBins()
const;
83 int tracksInEtaBin(
unsigned int)
const;
84 int tracksInPhiBin(
unsigned int)
const;
85 int tracksInPtBin(
unsigned int)
const;
86 float energyInEtaBin(
unsigned int)
const;
87 float energyInPhiBin(
unsigned int)
const;
89 float lowerEdgeEtaBin(
unsigned int)
const;
90 float upperEdgeEtaBin(
unsigned int)
const;
91 float lowerEdgePhiBin(
unsigned int)
const;
92 float upperEdgePhiBin(
unsigned int)
const;
93 float lowerEdgePtBin(
unsigned int)
const;
94 float upperEdgePtBin(
unsigned int)
const;
96 void setNumberOfTracks(
int);
97 void setNumberOfGoodTracks(
int);
98 void setNumberOfGoodTracks(StChargeSign,
int);
99 void setNumberOfGoodPrimaryTracks(
int);
100 void setNumberOfExoticTracks(
int);
101 void setNumberOfVertices(
int);
103 void setNumberOfVerticesForType(StVertexId,
int);
104 void setNumberOfPileupVertices(
int);
105 void setMeanPt(
float);
106 void setMeanPt2(
float);
107 void setMeanEta(
float);
108 void setRmsEta(
float);
110 void setMagneticField(
double);
113 void initBinRanges();
116 Int_t mNumberOfTracks;
117 Int_t mNumberOfGoodTracks;
118 Int_t mNumberOfGoodPrimaryTracks;
119 Int_t mNumberOfPositiveTracks;
120 Int_t mNumberOfNegativeTracks;
121 Int_t mNumberOfExoticTracks;
122 Int_t mNumberOfVertices;
123 TArrayL mNumberOfVertexTypes;
124 Int_t mNumberOfPileupVertices;
131 UShort_t mVertexTypeArraySize;
132 UShort_t mPhiBinsSize;
133 UShort_t mPtAndEtaBinsSize;
134 UShort_t mHistogramSize;
139 TArrayL mEtaOfTracksHisto;
140 TArrayL mPtOfTracksHisto;
141 TArrayL mPhiOfTracksHisto;
142 TArrayF mEneryVsEtaHisto;
143 TArrayF mEnergyVsPhiHisto;
144 Double_t mMagneticFieldZ;