30 fRocs[iroc].fillDIGI();
38 fRocs[iroc].updateDIGI(nhit);
46 for (
int iroc = 0; iroc <
fNrocs; iroc++){
47 if(iroc>=roc_first && iroc<=roc_last){
48 fRocs[iroc].fillFEDerror25();
64 unsigned int count(0);
65 for (
int iroc = 0; iroc <
fNrocs; ++iroc) {
96 unsigned int ave(0), sig(0);
97 for (
int iroc = 0; iroc <
fNrocs; ++iroc) {
110 for (
int iroc = 0; iroc <
fNrocs; ++iroc) {
112 sig += (fModAverage-inc)*(fModAverage-inc);
115 double fModSigma = sig/(fNrocs-1);
116 return TMath::Sqrt(fModSigma);
131 fRocs[iroc].updateDIGI(nhits);
137 bool isSameModule =
true;
139 isSameModule =
false;
144 for (
int iroc = 0; iroc <
fNrocs; ++iroc) {
150 fRocs[iroc].fillFEDerror25();
void updateModuleDIGI(int roc, unsigned int nhits)
combine new data to update(topup) module status
void fillDIGI(int iroc)
fill with online coordinates
void fillFEDerror25(PixelFEDChannel ch)
fill FEDerror25
int detid()
accessors and setters
std::vector< SiPixelRocStatus > fRocs
void updateDIGI(int iroc, unsigned int nhit)
fill with online coordinates (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