32 #ifndef StPxlClusterCollection_hh
33 #define StPxlClusterCollection_hh
36 #include "StPxlCluster.h"
37 #include "StPxlUtil/StPxlConstants.h"
45 Int_t numberOfClusters()
const;
46 const StPxlCluster *
cluster(Int_t sector, Int_t ladder, Int_t sensor, Int_t clusterIndex)
const;
47 virtual const char *GetCVS()
const {
48 static const char cvs[] =
"Tag $Name: $ $Id: StPxlClusterCollection.h,v 1.5 2017/09/01 02:58:33 dongx Exp $ built " __DATE__
" " __TIME__ ;
53 vector<StPxlCluster>
mClusterVec[kNumberOfPxlSectors][kNumberOfPxlLaddersPerSector][kNumberOfPxlSensorsPerLadder];
Int_t numberOfClusters(Int_t sector, Int_t ladder, Int_t sensor) const
number of clusters in a sensor
const StPxlCluster * cluster(Int_t sector, Int_t ladder, Int_t sensor, Int_t clusterIndex) const
pointer to a cluster in the collection
void addCluster(Int_t sector, Int_t ladder, Int_t sensor, const StPxlCluster &cluster)
add a cluster to the collection
vector< StPxlCluster > mClusterVec[kNumberOfPxlSectors][kNumberOfPxlLaddersPerSector][kNumberOfPxlSensorsPerLadder]
vectors to store clusters