StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
StPxlCluster Class Reference

#include <StPxlCluster.h>

Public Member Functions

Int_t nRawHits () const
 number of raw hits
 
void addRawHit (const StPxlRawHit *rawHit)
 add a raw hit to the cluster
 
void summarize (int embeddingShortCut=0)
 calculate column center, row center, and most frequent idTruth among raw hits
 
Float_t columnCenter () const
 average raw hit column
 
Float_t rowCenter () const
 average raw hit row
 
Int_t idTruth () const
 for embedding, 0 as background, most frequent raw hit idTruth as idTruth of the cluster
 
virtual const char * GetCVS () const
 

Static Public Member Functions

static bool compareSecond (const std::pair< int, int > &pair1, const std::pair< int, int > &pair2)
 

Protected Attributes

std::vector< const StPxlRawHit * > mRawHitVec
 vector of raw hits
 
Float_t mColumnCenter
 average raw hit column
 
Float_t mRowCenter
 average raw hit row
 
Int_t mIdTruth
 for embedding, 0 as background, most frequent raw hit idTruth as idTruth of the cluster
 

Detailed Description

Author
Qiu Hao, Jan 2013, according codes from Xiangming Sun Revision.

Definition at line 49 of file StPxlCluster.h.


The documentation for this class was generated from the following files: