#include <SiPixelModuleStatus.h>
Public Member Functions | |
int | detid () |
accessors and setters More... | |
unsigned int | digiOccMOD () |
return module status (= hits on module) More... | |
unsigned int | digiOccROC (int iroc) |
return ROC status (= hits on ROC iroc) More... | |
void | fillDIGI (int iroc) |
fill with online coordinates More... | |
void | fillFEDerror25 (PixelFEDChannel ch) |
fill FEDerror25 More... | |
SiPixelRocStatus * | getRoc (int i) |
get a ROC More... | |
int | nrocs () |
double | perRocDigiOcc () |
calculate (averaged over this module's ROCs) mean hit number and its sigma More... | |
double | perRocDigiOccVar () |
void | setNrocs (int iroc) |
SiPixelModuleStatus (int det=0, int nrocs=16) | |
void | updateDIGI (int iroc, unsigned int nhit) |
fill with online coordinates (nhit > 1) More... | |
void | updateModuleDIGI (int roc, unsigned int nhits) |
combine new data to update(topup) module status More... | |
void | updateModuleStatus (SiPixelModuleStatus newData) |
~SiPixelModuleStatus () | |
Private Attributes | |
int | fDetid |
int | fNrocs |
std::vector< SiPixelRocStatus > | fRocs |
Definition at line 10 of file SiPixelModuleStatus.h.
SiPixelModuleStatus::SiPixelModuleStatus | ( | int | det = 0 , |
int | nrocs = 16 |
||
) |
SiPixelModuleStatus::~SiPixelModuleStatus | ( | ) |
Definition at line 20 of file SiPixelModuleStatus.cc.
int SiPixelModuleStatus::detid | ( | ) |
accessors and setters
Definition at line 58 of file SiPixelModuleStatus.cc.
References fDetid.
Referenced by updateModuleStatus().
unsigned int SiPixelModuleStatus::digiOccMOD | ( | ) |
return module status (= hits on module)
Definition at line 49 of file SiPixelModuleStatus.cc.
References KineDebug3::count(), digiOccROC(), and fNrocs.
unsigned int SiPixelModuleStatus::digiOccROC | ( | int | iroc | ) |
return ROC status (= hits on ROC iroc)
Definition at line 46 of file SiPixelModuleStatus.cc.
Referenced by digiOccMOD(), SiPixelStatusHarvester::dqmEndRun(), perRocDigiOcc(), perRocDigiOccVar(), and updateModuleStatus().
void SiPixelModuleStatus::fillDIGI | ( | int | iroc | ) |
void SiPixelModuleStatus::fillFEDerror25 | ( | PixelFEDChannel | ch | ) |
fill FEDerror25
Definition at line 35 of file SiPixelModuleStatus.cc.
References fNrocs, fRocs, createfilelist::int, PixelFEDChannel::roc_first, and PixelFEDChannel::roc_last.
SiPixelRocStatus * SiPixelModuleStatus::getRoc | ( | int | i | ) |
get a ROC
Definition at line 91 of file SiPixelModuleStatus.cc.
References fRocs, and mps_fire::i.
Referenced by SiPixelDetectorStatus::getFEDerror25Rocs(), and updateModuleStatus().
int SiPixelModuleStatus::nrocs | ( | ) |
Definition at line 61 of file SiPixelModuleStatus.cc.
References fNrocs.
Referenced by SiPixelStatusHarvester::dqmEndRun(), SiPixelDetectorStatus::getFEDerror25Rocs(), and updateModuleStatus().
double SiPixelModuleStatus::perRocDigiOcc | ( | ) |
calculate (averaged over this module's ROCs) mean hit number and its sigma
Definition at line 67 of file SiPixelModuleStatus.cc.
References digiOccROC(), and fNrocs.
Referenced by perRocDigiOccVar().
double SiPixelModuleStatus::perRocDigiOccVar | ( | ) |
Definition at line 76 of file SiPixelModuleStatus.cc.
References digiOccROC(), fNrocs, and perRocDigiOcc().
void SiPixelModuleStatus::setNrocs | ( | int | iroc | ) |
Definition at line 64 of file SiPixelModuleStatus.cc.
References fNrocs.
Referenced by SiPixelDetectorStatus::readFromFile().
void SiPixelModuleStatus::updateDIGI | ( | int | iroc, |
unsigned int | nhit | ||
) |
void SiPixelModuleStatus::updateModuleDIGI | ( | int | roc, |
unsigned int | nhits | ||
) |
combine new data to update(topup) module status
Definition at line 94 of file SiPixelModuleStatus.cc.
Referenced by SiPixelDetectorStatus::readFromFile().
void SiPixelModuleStatus::updateModuleStatus | ( | SiPixelModuleStatus | newData | ) |
Definition at line 96 of file SiPixelModuleStatus.cc.
References detid(), digiOccROC(), fDetid, fNrocs, fRocs, getRoc(), SiPixelRocStatus::isFEDerror25(), and nrocs().
|
private |
Definition at line 47 of file SiPixelModuleStatus.h.
Referenced by detid(), and updateModuleStatus().
|
private |
Definition at line 47 of file SiPixelModuleStatus.h.
Referenced by digiOccMOD(), digiOccROC(), fillDIGI(), fillFEDerror25(), nrocs(), perRocDigiOcc(), perRocDigiOccVar(), setNrocs(), SiPixelModuleStatus(), updateDIGI(), and updateModuleStatus().
|
private |
Definition at line 48 of file SiPixelModuleStatus.h.
Referenced by digiOccROC(), fillDIGI(), fillFEDerror25(), getRoc(), SiPixelModuleStatus(), updateDIGI(), updateModuleDIGI(), and updateModuleStatus().