1 #include "StEEmcPoint.h"
2 #include "StEEmcUtil/EEmcGeom/EEmcGeomDefs.h"
5 #include "StEvent/StEmcPoint.h"
10 StEEmcPoint::StEEmcPoint()
53 mEmcPoint->setEnergy(
energy() );
59 mEmcPoint->setPositionError( error );
64 mEmcPoint->addCluster( kEndcapEmcTowerId, 0 );
88 otherChi2 *= otherChi2;
90 return myChi2 < otherChi2;
100 std::cout <<
"---------------------------------" << std::endl;
101 for ( UInt_t i=0; i<
mTowers.size(); i++ )
104 std::cout <<
"ucluster:" << std::endl;
106 std::cout <<
"vcluster:" << std::endl;
Base class for representing EEMC points.
Bool_t chiSquare(const StEEmcPoint &other) const
Chi2 sort method.
StEEmcSmdCluster mSmdClusters[2]
Smd clusters associated with this point.
StEmcPoint * mEmcPoint
Pointer to corresponding StEmcPoint (StEvent only)
Int_t mRelatives
Number of points which share tower energy with this point.
TVector3 mPosition
Position of the point.
std::vector< Float_t > mWeights
Vector of weights.
Float_t mEnergy[4]
Energy of the point.
const TVector3 & position() const
Get the position of this point.
Float_t energy()
Get the energy of this point.