1 #ifndef __StEEmcPoint_h__
2 #define __StEEmcPoint_h__
7 #include "StEEmcTower.h"
8 #include "StEEmcSmdCluster.h"
94 typedef std::vector<StEEmcPoint> StEEmcPointVec_t;
Base class for representing EEMC points.
Float_t fraction()
Get the fraction of tower energy associated with this point.
void energy(Float_t e, Int_t layer=0)
Set the energy of this point.
Bool_t chiSquare(const StEEmcPoint &other) const
Chi2 sort method.
StEEmcTower tower(Int_t t)
Gets a specific tower.
StEEmcSmdCluster cluster(Int_t c)
void position(TVector3 p)
Set the position of this point at the SMD plane.
Int_t sector() const
Returns the sector.
void fraction(Float_t f)
Set the fraction of the tower energy used.
StEEmcSmdCluster mSmdClusters[2]
Smd clusters associated with this point.
Bool_t operator<(const StEEmcPoint &other) const
Point is less than another based on energy.
Float_t energy() const
Get the energy of this point.
Int_t numberOfRelatives()
void numberOfRelatives(Int_t r)
Set the number of other points which share tower energy.
StEmcPoint * mEmcPoint
Pointer to corresponding StEmcPoint (StEvent only)
Float_t weight(Int_t t)
Gets the weight associated with a specific tower.
Base class for representing tower, preshower and postshower elements.
void tower(StEEmcTower t, Float_t w=1.)
Add a tower with specified weight to the point.
TVector3 position()
Get the position of this point.
Int_t mRelatives
Number of points which share tower energy with this point.
TVector3 mPosition
Position of the point.
A base class for representing clusters of EEMC smd strips.
void cluster(StEEmcSmdCluster c, Int_t plane)
Add an smd cluster to this point.
Int_t numberOfTowers()
Gets the number of towers.
std::vector< Float_t > mWeights
Vector of weights.
Float_t mEnergy[4]
Energy of the point.
Float_t energy()
Get the energy of this point.
ClassDef(StEEmcPoint, 1)
Makes class available to root.
void energy(Float_t e)
Set the energy of this point.