#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... | |
bool | fedError25 (int iroc) |
return ROC FEDerror25 More... | |
void | fillDIGI (int iroc) |
fill digi 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 | setDetId (int detid) |
void | setNrocs (int iroc) |
SiPixelModuleStatus (int det=0, int nrocs=16) | |
void | updateDIGI (int iroc, unsigned int nhit) |
update digi (nhit > 1) More... | |
void | updateFEDerror25 (int iroc, bool FEDerror25) |
update FEDerror25 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 |
||
) |
Definition at line 12 of file SiPixelModuleStatus.cc.
References a, fNrocs_, fRocs_, and mps_fire::i.
SiPixelModuleStatus::~SiPixelModuleStatus | ( | ) |
Definition at line 20 of file SiPixelModuleStatus.cc.
int SiPixelModuleStatus::detid | ( | ) |
accessors and setters
Definition at line 38 of file SiPixelModuleStatus.cc.
References fDetid_.
Referenced by setDetId(), and updateModuleStatus().
unsigned int SiPixelModuleStatus::digiOccMOD | ( | ) |
return module status (= hits on module)
Definition at line 62 of file SiPixelModuleStatus.cc.
References submitPVResolutionJobs::count, digiOccROC(), and fNrocs_.
unsigned int SiPixelModuleStatus::digiOccROC | ( | int | iroc | ) |
return ROC status (= hits on ROC iroc)
Definition at line 58 of file SiPixelModuleStatus.cc.
References fNrocs_, and fRocs_.
Referenced by digiOccMOD(), SiPixelStatusHarvester::dqmEndRun(), perRocDigiOcc(), perRocDigiOccVar(), and updateModuleStatus().
bool SiPixelModuleStatus::fedError25 | ( | int | iroc | ) |
return ROC FEDerror25
Definition at line 60 of file SiPixelModuleStatus.cc.
References fNrocs_, and fRocs_.
Referenced by updateFEDerror25(), and updateModuleStatus().
void SiPixelModuleStatus::fillDIGI | ( | int | iroc | ) |
fill digi
Definition at line 23 of file SiPixelModuleStatus.cc.
References fNrocs_, and fRocs_.
void SiPixelModuleStatus::fillFEDerror25 | ( | PixelFEDChannel | ch | ) |
fill FEDerror25
Definition at line 28 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 95 of file SiPixelModuleStatus.cc.
References fNrocs_, and fRocs_.
Referenced by SiPixelDetectorStatus::getFEDerror25Rocs().
int SiPixelModuleStatus::nrocs | ( | ) |
Definition at line 40 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 71 of file SiPixelModuleStatus.cc.
References digiOccROC(), and fNrocs_.
Referenced by perRocDigiOccVar().
double SiPixelModuleStatus::perRocDigiOccVar | ( | ) |
Definition at line 80 of file SiPixelModuleStatus.cc.
References digiOccROC(), fNrocs_, and perRocDigiOcc().
void SiPixelModuleStatus::setDetId | ( | int | detid | ) |
void SiPixelModuleStatus::setNrocs | ( | int | iroc | ) |
Definition at line 44 of file SiPixelModuleStatus.cc.
References fNrocs_.
Referenced by SiPixelDetectorStatus::readFromFile().
void SiPixelModuleStatus::updateDIGI | ( | int | iroc, |
unsigned int | nhit | ||
) |
update digi (nhit > 1)
Definition at line 47 of file SiPixelModuleStatus.cc.
References fNrocs_, and fRocs_.
void SiPixelModuleStatus::updateFEDerror25 | ( | int | iroc, |
bool | FEDerror25 | ||
) |
update FEDerror25
Definition at line 52 of file SiPixelModuleStatus.cc.
References fedError25(), fNrocs_, and fRocs_.
void SiPixelModuleStatus::updateModuleDIGI | ( | int | roc, |
unsigned int | nhits | ||
) |
combine new data to update(topup) module status
Definition at line 98 of file SiPixelModuleStatus.cc.
References fNrocs_, fRocs_, and TrackingDataMCValidation_Standalone_cff::nhits.
Referenced by SiPixelDetectorStatus::readFromFile().
void SiPixelModuleStatus::updateModuleStatus | ( | SiPixelModuleStatus | newData | ) |
Definition at line 103 of file SiPixelModuleStatus.cc.
References detid(), digiOccROC(), fDetid_, fedError25(), fNrocs_, fRocs_, and nrocs().
|
private |
Definition at line 52 of file SiPixelModuleStatus.h.
Referenced by detid(), setDetId(), and updateModuleStatus().
|
private |
Definition at line 52 of file SiPixelModuleStatus.h.
Referenced by digiOccMOD(), digiOccROC(), fedError25(), fillDIGI(), fillFEDerror25(), getRoc(), nrocs(), perRocDigiOcc(), perRocDigiOccVar(), setNrocs(), SiPixelModuleStatus(), updateDIGI(), updateFEDerror25(), updateModuleDIGI(), and updateModuleStatus().
|
private |
Definition at line 53 of file SiPixelModuleStatus.h.
Referenced by digiOccROC(), fedError25(), fillDIGI(), fillFEDerror25(), getRoc(), SiPixelModuleStatus(), updateDIGI(), updateFEDerror25(), updateModuleDIGI(), and updateModuleStatus().