34 fRocs[iroc].fillDIGI(idc);
42 fRocs[iroc].updateDIGI(idc, nhit);
52 for (
int iroc = 0; iroc <
fNrocs; iroc++){
53 if(iroc>=roc_first && iroc<=roc_last){
54 fRocs[iroc].fillStuckTBM(fed,link,time);
79 unsigned long int count(0);
80 for (
int iroc = 0; iroc <
fNrocs; ++iroc) {
125 unsigned long int ave(0.), sig(0.);
126 for (
int iroc = 0; iroc <
fNrocs; ++iroc) {
132 for (
int iroc = 0; iroc <
fNrocs; ++iroc) {
151 fRocs[iroc].updateDIGI(idc,nhits);
156 bool isSameModule =
true;
158 isSameModule =
false;
163 for (
int iroc = 0; iroc <
fNrocs; ++iroc) {
164 int nDC =
fRocs[iroc].nDC();
166 for(
int idc = 0; idc < nDC; ++idc) {
void updateDIGI(int iroc, int idc, unsigned long nhit)
fill with online coordinates (nhit > 1)
int detid()
accessors and setters
void digiOccupancy()
calculate (averaged over this module's ROCs) mean hit number and its sigma
void fillStuckTBM(PixelFEDChannel ch, std::time_t time)
fill stuck TBM
std::vector< SiPixelRocStatus > fRocs
void fillDIGI(int iroc, int idc)
fill with online coordinates
unsigned long int digiOccROC(int iroc)
return ROC status (= hits on ROC iroc)
void updateModuleDIGI(int roc, int dc, unsigned long int nhits)
combine new data to update(topup) module status
unsigned long int getBadFreq()
unsigned int getBadLink()
SiPixelModuleStatus(int det=0, int nrocs=16)
unsigned long int digiOccMOD()
return module status (= hits on module)
double perRocDigiOccVar()
std::time_t getStartBadTime()
SiPixelRocStatus * getRoc(int i)
get a ROC
void updateModuleStatus(SiPixelModuleStatus newData)
unsigned long int digiOccDC(int iroc, int idc)
return DC status of a ROC (=hits on DC idc on ROC iroc)