32 #ifndef StRichMCPixel_hh
33 #define StRichMCPixel_hh
35 #include "StRichPixel.h"
36 #include "StRichMCInfo.h"
37 #include "StContainers.h"
43 StRichMCPixel(
unsigned int packedData,
const StSPtrVecRichMCInfo&);
51 unsigned short contributions()
const;
54 void setInfo(
const StSPtrVecRichMCInfo&);
56 const StSPtrVecRichMCInfo& getMCInfo()
const;
57 StSPtrVecRichMCInfo& getMCInfo();
60 StSPtrVecRichMCInfo mInfo;
65 inline unsigned short StRichMCPixel::contributions()
const {
return mInfo.size(); }
66 inline void StRichMCPixel::addInfo(
const StRichMCInfo* p) { mInfo.push_back(p);}
67 inline void StRichMCPixel::setInfo(
const StSPtrVecRichMCInfo& p) { mInfo = p;}
68 inline const StSPtrVecRichMCInfo& StRichMCPixel::getMCInfo()
const {
return mInfo;}
69 inline StSPtrVecRichMCInfo& StRichMCPixel::getMCInfo() {
return mInfo;}