32 #ifndef StPxlRawHitCollection_hh
33 #define StPxlRawHitCollection_hh
36 #include "StPxlRawHit.h"
37 #include "StPxlUtil/StPxlConstants.h"
45 Int_t numberOfRawHits();
46 const StPxlRawHit *
rawHit(Int_t sector, Int_t ladder, Int_t sensor, Int_t rawHitIndex)
const;
47 virtual const char *GetCVS()
const {
48 static const char cvs[] =
"Tag $Name: $ $Id: StPxlRawHitCollection.h,v 1.5 2017/08/28 17:05:16 dongx Exp $ built " __DATE__
" " __TIME__ ;
53 vector<StPxlRawHit>
mPxlRawHitVec[kNumberOfPxlSectors][kNumberOfPxlLaddersPerSector][kNumberOfPxlSensorsPerLadder];
const StPxlRawHit * rawHit(Int_t sector, Int_t ladder, Int_t sensor, Int_t rawHitIndex) const
pionter to a rawHit in the collection
vector< StPxlRawHit > mPxlRawHitVec[kNumberOfPxlSectors][kNumberOfPxlLaddersPerSector][kNumberOfPxlSensorsPerLadder]
vectors to store raw hits
void addRawHit(const StPxlRawHit &rawHit)
add a raw hit to the collection
Int_t numberOfRawHits(Int_t sector, Int_t ladder, Int_t sensor)
number of raw hits in a sensor