1 #ifndef __StEEmcIUCluster_h__
2 #define __StEEmcIUCluster_h__
6 #include "StEEmcPool/StEEmcA2EMaker/StEEmcTower.h"
98 typedef std::vector<StEEmcIUCluster> StEEmcIUClusterVec_t;
void print()
Prints cluster data.
void key(Int_t k)
Sets the unique id of the cluster.
ClassDef(StEEmcIUCluster, 1)
Makes class available to root.
TVector3 momentum()
Get the momentum of this cluster.
std::vector< Float_t > mWeights
Vector of tower weights.
void add(StEEmcTower, Float_t weight=1.0)
A base class for describing clusters of EEMC towers.
StEEmcTowerVec_t towers()
Get the vector of towers in this cluster.
StEmcCluster * mEmcCluster
Pointer to EMC cluster.
StEEmcTowerVec_t mTowers
Vector of towers.
void stemc(StEmcCluster *c)
Pointer to StEmcCluster for embedding.
Int_t key()
Returns unique id of the cluster.
Base class for representing tower, preshower and postshower elements.
Bool_t operator==(const StEEmcIUCluster &other) const
Int_t mKey
Unique cluster ID.
Float_t weight(Int_t t)
Get the weight associated with tower.
StEEmcTower tower(Int_t t)
Get the specified tower.
Int_t numberOfTowers()
Get the number of towers in cluster.
TVector3 mMomentum
Momentum.
Float_t energy()
Get energy of this cluster.
Float_t seedEnergy()
Get the energy of the seed tower.