39 #ifndef StPxlCluster_hh
40 #define StPxlCluster_hh
55 void summarize(
int embeddingShortCut = 0);
59 virtual const char *GetCVS()
const {
60 static const char cvs[] =
"Tag $Name: $ $Id: StPxlCluster.h,v 1.7 2014/08/06 11:43:34 jeromel Exp $ built " __DATE__
" " __TIME__ ;
64 static bool compareSecond(
const std::pair<int, int> &pair1,
const std::pair<int, int> &pair2);
Float_t mColumnCenter
average raw hit column
void summarize(int embeddingShortCut=0)
calculate column center, row center, and most frequent idTruth among raw hits
void addRawHit(const StPxlRawHit *rawHit)
add a raw hit to the cluster
Float_t rowCenter() const
average raw hit row
std::vector< const StPxlRawHit * > mRawHitVec
vector of raw hits
Int_t idTruth() const
for embedding, 0 as background, most frequent raw hit idTruth as idTruth of the cluster ...
Int_t nRawHits() const
number of raw hits
Int_t mIdTruth
for embedding, 0 as background, most frequent raw hit idTruth as idTruth of the cluster ...
Float_t mRowCenter
average raw hit row
Float_t columnCenter() const
average raw hit column