Go to the documentation of this file.
31 for (
int iroc = 0; iroc <
fNrocs_; iroc++) {
32 if (iroc >= roc_first && iroc <= roc_last) {
33 fRocs_[iroc].fillFEDerror25();
49 fRocs_[iroc].updateDIGI(nhit);
63 unsigned int count(0);
64 for (
int iroc = 0; iroc <
fNrocs_; ++iroc) {
73 for (
int iroc = 0; iroc <
fNrocs_; ++iroc) {
84 for (
int iroc = 0; iroc <
fNrocs_; ++iroc) {
86 sig += (fModAverage - inc) * (fModAverage - inc);
89 double fModSigma = sig / (
fNrocs_ - 1);
90 return TMath::Sqrt(fModSigma);
104 bool isSameModule =
true;
106 isSameModule =
false;
110 for (
int iroc = 0; iroc <
fNrocs_; ++iroc) {
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