1 #ifndef SIPIXELMODULESTATUS_h 2 #define SIPIXELMODULESTATUS_h 53 std::vector<SiPixelRocStatus>
fRocs_;
void updateModuleDIGI(int roc, unsigned int nhits)
combine new data to update(topup) module status
void fillDIGI(int iroc)
fill digi
void fillFEDerror25(PixelFEDChannel ch)
fill FEDerror25
std::vector< SiPixelRocStatus > fRocs_
int detid()
accessors and setters
bool fedError25(int iroc)
return ROC FEDerror25
void updateFEDerror25(int iroc, bool FEDerror25)
update FEDerror25
void updateDIGI(int iroc, unsigned int nhit)
update digi (nhit > 1)
SiPixelModuleStatus(int det=0, int nrocs=16)
unsigned int digiOccMOD()
return module status (= hits on module)
double perRocDigiOccVar()
SiPixelRocStatus * getRoc(int i)
get a ROC
void updateModuleStatus(SiPixelModuleStatus newData)
unsigned int digiOccROC(int iroc)
return ROC status (= hits on ROC iroc)
double perRocDigiOcc()
calculate (averaged over this module's ROCs) mean hit number and its sigma