1 #ifndef __StEEmcIUPoint_h__
2 #define __StEEmcIUPoint_h__
7 #include "StEEmcPool/StEEmcA2EMaker/StEEmcTower.h"
8 #include "StEEmcIUSmdCluster.h"
73 Float_t
u(){
return mU; }
75 void u(Float_t uu){
mU=uu; }
78 Float_t
v(){
return mV; }
80 void v(Float_t vv){
mV=vv; }
143 typedef std::vector<StEEmcIUPoint> StEEmcIUPointVec_t;
TVector3 position()
Get the position of this point.
Int_t numberOfRelatives()
Bool_t chiSquare(const StEEmcIUPoint &other) const
Chi2 sort method.
Float_t sigma()
Returns the width.
StEEmcIUSmdCluster cluster(Int_t c)
void v(Float_t vv)
Sets mean U position.
Int_t mRelatives
Number of points which share tower energy with this point.
StEmcPoint * mEmcPoint
Pointer to corresponding StEmcPoint (StEvent only)
ClassDef(StEEmcIUPoint, 1)
Makes class available to root.
void energy(Float_t e, Int_t layer=0)
Set the energy of this point.
void fraction(Float_t f)
Set the fraction of the tower energy used.
Float_t mEnergy[4]
Energy of the point.
void position(TVector3 p)
Set the position of this point at the SMD plane.
Float_t mResidueV
Residual in V.
void u(Float_t uu)
Sets mean U position.
Float_t fraction()
Get the fraction of tower energy associated with this point.
Float_t energy(Int_t layer=0) const
Get the energy of this point.
Float_t energy(Int_t layer)
Get the energy of this point.
Float_t weight(Int_t t)
Gets the weight associated with a specific tower.
Float_t mResidueU
Residual in U.
Float_t residueV()
Get the residual in the V plane.
std::vector< Float_t > mWeights
Vector of weights.
Float_t v()
Returns mean V position.
Float_t u()
Returns mean U position.
void cluster(StEEmcIUSmdCluster c, Int_t plane)
Add an smd cluster to this point.
Base class for representing tower, preshower and postshower elements.
Int_t sector()
Returns the sector.
Int_t numberOfTowers()
Gets the number of towers.
StEEmcIUSmdCluster mSmdClusters[2]
Smd clusters associated with this point.
TVector3 mPosition
Position of the point.
A base class for representing clusters of EEMC smd strips.
Base class for representing EEMC points.
void sector(Int_t s)
Sets the sector.
StEEmcTower tower(Int_t t)
Gets a specific tower.
void tower(StEEmcTower t, Float_t w=1.)
Add a tower with specified weight to the point.
void numberOfRelatives(Int_t r)
Set the number of other points which share tower energy.
Float_t residueU()
Get the residual in the U plane.
Int_t sector()
Return the sector of the cluster.
void residueU(Float_t r)
Set the residual in the U plane.
Bool_t operator<(const StEEmcIUPoint &other) const
Point is less than another based on energy.
void residueV(Float_t r)
Set the residual in the V plane.
void sigma(Float_t s)
Sets the width.