Go to the documentation of this file.
25 fRocs[iroc].fillDIGI();
31 fRocs[iroc].updateDIGI(nhit);
38 for (
int iroc = 0; iroc <
fNrocs; iroc++) {
39 if (iroc >= roc_first && iroc <= roc_last) {
40 fRocs[iroc].fillFEDerror25();
50 unsigned int count(0);
51 for (
int iroc = 0; iroc <
fNrocs; ++iroc) {
69 for (
int iroc = 0; iroc <
fNrocs; ++iroc) {
73 return (1.0 * ave) /
fNrocs;
80 for (
int iroc = 0; iroc <
fNrocs; ++iroc) {
82 sig += (fModAverage - inc) * (fModAverage - inc);
85 double fModSigma = sig / (
fNrocs - 1);
86 return TMath::Sqrt(fModSigma);
97 bool isSameModule =
true;
103 for (
int iroc = 0; iroc <
fNrocs; ++iroc) {
109 fRocs[iroc].fillFEDerror25();
unsigned int digiOccMOD()
return module status (= hits on module)
void fillDIGI(int iroc)
fill with online coordinates
SiPixelModuleStatus(int det=0, int nrocs=16)
void fillFEDerror25(PixelFEDChannel ch)
fill FEDerror25
void updateDIGI(int iroc, unsigned int nhit)
fill with online coordinates (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 updateModuleStatus(SiPixelModuleStatus newData)
std::vector< SiPixelRocStatus > fRocs
void updateModuleDIGI(int roc, unsigned int nhits)
combine new data to update(topup) module status