11 #include "StEEmcIUPoint.h"
12 #include "StEEmcUtil/EEmcGeom/EEmcGeomDefs.h"
15 #include "StEvent/StEmcPoint.h"
20 StEEmcIUPoint::StEEmcIUPoint()
24 for ( Int_t i=0;i<4;i++ )
mEnergy[i]=0.;
34 for ( Int_t i = 0; i < 4; i++ )
75 mEmcPoint->setEnergy(
energy() );
81 mEmcPoint->setPositionError( error );
86 mEmcPoint->addCluster( kEndcapEmcTowerId, 0 );
109 otherChi2 *= otherChi2;
111 return myChi2 < otherChi2;
121 std::cout <<
"---------------------------------" << std::endl;
128 for ( UInt_t i=0; i<
mTowers.size(); i++ )
131 std::cout <<
"ucluster:" << std::endl;
133 std::cout <<
"vcluster:" << std::endl;
TVector3 position()
Get the position of this point.
Bool_t chiSquare(const StEEmcIUPoint &other) const
Chi2 sort method.
Int_t mRelatives
Number of points which share tower energy with this point.
StEmcPoint * mEmcPoint
Pointer to corresponding StEmcPoint (StEvent only)
void energy(Float_t e, Int_t layer=0)
Set the energy of this point.
Float_t mEnergy[4]
Energy of the point.
Float_t mResidueV
Residual in V.
Float_t mResidueU
Residual in U.
std::vector< Float_t > mWeights
Vector of weights.
StEEmcIUSmdCluster mSmdClusters[2]
Smd clusters associated with this point.
TVector3 mPosition
Position of the point.
Base class for representing EEMC points.
Float_t energy()
Return the energy of this cluster.