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