1 #ifndef __StEEmcCluster_h__
2 #define __StEEmcCluster_h__
6 #include "StEEmcTower.h"
49 Int_t key(){
return mKey; }
50 void key(Int_t k){ mKey=k; }
87 typedef std::vector<StEEmcCluster> StEEmcClusterVec_t;
TVector3 momentum() const
StEEmcTower & tower(Int_t t)
Get the specified tower within the cluster.
Float_t seedEnergy() const
Get the energy of the seed tower.
TVector3 mMomentum
Momentum.
void add(const StEEmcTower &t, Float_t weight=1.0)
StEEmcTowerVec_t mTowers
Vector of towers.
Float_t weight(Int_t t) const
Get the weight associated with tower.
Bool_t operator==(const StEEmcCluster &other) const
StEEmcTowerVec_t & towers()
Get the vector of towers in this cluster.
void print() const
Prints cluster data.
Base class for representing tower, preshower and postshower elements.
Int_t numberOfTowers() const
Get the number of towers in cluster.
Float_t energy() const
Get energy of this cluster.
A base class for describing clusters of EEMC towers.
StEmcCluster * mEmcCluster
Pointer to EMC cluster.
std::vector< Float_t > mWeights
Vector of tower weights.