1 #ifndef __StEEmcIUSmdCluster_h__
2 #define __StEEmcIUSmdCluster_h__
6 #include "StEEmcPool/StEEmcA2EMaker/StEEmcStrip.h"
7 #include "StEEmcPool/StEEmcA2EMaker/StEEmcTower.h"
58 Float_t
energy( Int_t nmax, Option_t *opts=
"mean" );
60 Float_t
sigma( Int_t nmax, Option_t *opts=
"mean" );
179 typedef std::vector<StEEmcIUSmdCluster> StEEmcIUSmdClusterVec_t;
StEEmcTowerVec_t towers()
Return list of towers matching this cluster.
void mean(Float_t x)
Set the mean of the cluster.
Float_t mEnergy
Energy of this SMD cluster.
void sigma(Float_t s)
Set the width of the cluster.
Int_t key()
Return a unique key assigned by the cluster maker.
Int_t mSize
Kludge so that root will store number of smd strips.
std::vector< Float_t > mWeights
Vector of strip weights.
Int_t numberOfStrips()
Returns the number of SMD strips in the cluster.
ClassDef(StEEmcIUSmdCluster, 1)
Makes class available to root.
void plane(Int_t p)
Set the plane.
Float_t mSumXW
Running sums to calculate mean, sigma of cluster.
Bool_t operator>(StEEmcIUSmdCluster &other)
Float_t mMean
Mean and sigma computed after each strip is added.
StEEmcStrip strip(Int_t s)
Returns the specified smd strip w/in the cluster.
StEEmcTower tower(Int_t t)
Return a specific tower matching this SMD cluster.
Base class for representing tower, preshower and postshower elements.
StEEmcTowerVec_t mMatchedTowers
Vector of hit towers above this SMD cluster.
Int_t size()
Return the size (number of strips) of the cluster.
Float_t mean()
Return the mean strip number of this cluster.
Float_t mSumX2W
Running sums to calculate mean, sigma of cluster.
Float_t sigma()
Return the sigma – TMath::Sqrt(variance) – of the cluster.
A base class for representing clusters of EEMC smd strips.
void stemc(StEmcCluster *c)
Set pointer to StEmcCluster.
StEmcCluster * mEmcCluster
POinter to EMC cluster.
void sector(Int_t s)
Set the sector.
Int_t key() const
Return a unique key assigned by the cluster maker.
Int_t numberOfMatchedTowers()
Return number of towers matching this cluster.
void energy(Float_t e)
Set the energy of the cluster.
StEEmcStripVec_t mStrips
Vector of strips belonging to this SMD cluster.
Int_t sector()
Return the sector of the cluster.
Base class for describing an endcap SMD strip.
Int_t plane()
Return the plane of the cluster.
Float_t energy()
Return the energy of this cluster.
void add(StEEmcStrip strip, Float_t weight=1.0)