#include <SiPixelDetectorStatus.h>
Public Member Functions | |
void | addModule (int detid, int nrocs) |
void | addModule (int detid, SiPixelModuleStatus a) |
std::map< int, SiPixelModuleStatus >::iterator | begin () |
unsigned long int | digiOccDET () |
void | dumpToFile (std::string filename) |
std::map< int, SiPixelModuleStatus >::iterator | end () |
void | fillDIGI (int detid, int roc) |
void | fillFEDerror25 (int detid, PixelFEDChannel ch) |
bool | findModule (int detid) |
std::map< int, SiPixelModuleStatus > | getDetectorStatus () |
std::map< int, std::vector< int > > | getFEDerror25Rocs () |
std::pair< int, int > | getLSRange () |
SiPixelModuleStatus * | getModule (int detid) |
unsigned long int | getNevents () |
std::pair< int, int > | getRunRange () |
std::map< int, SiPixelModuleStatus >::iterator | next () |
int | nmodules () |
double | perRocDigiOcc () |
double | perRocDigiOccVar () |
void | readFromFile (std::string filename) |
void | resetDetectorStatus () |
void | setLSRange (int ls0, int ls1) |
void | setNevents (unsigned long int N) |
void | setRunRange (int run0, int run1) |
SiPixelDetectorStatus () | |
void | updateDetectorStatus (SiPixelDetectorStatus newData) |
~SiPixelDetectorStatus () | |
Private Attributes | |
unsigned long int | fDetHits |
int | fLS0 |
int | fLS1 |
std::map< int, SiPixelModuleStatus > | fModules |
unsigned long int | fNevents |
int | fRun0 |
int | fRun1 |
Definition at line 11 of file SiPixelDetectorStatus.h.
SiPixelDetectorStatus::SiPixelDetectorStatus | ( | ) |
SiPixelDetectorStatus::~SiPixelDetectorStatus | ( | ) |
Definition at line 20 of file SiPixelDetectorStatus.cc.
void SiPixelDetectorStatus::addModule | ( | int | detid, |
int | nrocs | ||
) |
Definition at line 105 of file SiPixelDetectorStatus.cc.
References a, fModules, and DeadROCCounter::nrocs.
Referenced by SiPixelStatusProducer::beginLuminosityBlock(), and readFromFile().
void SiPixelDetectorStatus::addModule | ( | int | detid, |
SiPixelModuleStatus | a | ||
) |
std::map< int, SiPixelModuleStatus >::iterator SiPixelDetectorStatus::begin | ( | ) |
Definition at line 150 of file SiPixelDetectorStatus.cc.
References fModules.
Referenced by dumpToFile(), getFEDerror25Rocs(), perRocDigiOcc(), perRocDigiOccVar(), and updateDetectorStatus().
|
inline |
Definition at line 36 of file SiPixelDetectorStatus.h.
References fDetHits.
Referenced by SiPixelStatusManager::readLumi(), and updateDetectorStatus().
void SiPixelDetectorStatus::dumpToFile | ( | std::string | filename | ) |
Definition at line 84 of file SiPixelDetectorStatus.cc.
References begin(), end(), fDetHits, corrVsCorr::filename, fLS0, fLS1, fRun0, and fRun1.
std::map< int, SiPixelModuleStatus >::iterator SiPixelDetectorStatus::end | ( | ) |
Definition at line 158 of file SiPixelDetectorStatus.cc.
References fModules.
Referenced by Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), dumpToFile(), getFEDerror25Rocs(), perRocDigiOcc(), perRocDigiOccVar(), and updateDetectorStatus().
void SiPixelDetectorStatus::fillDIGI | ( | int | detid, |
int | roc | ||
) |
Definition at line 114 of file SiPixelDetectorStatus.cc.
References fDetHits, fModules, and PixelMapPlotter::roc.
Referenced by SiPixelStatusProducer::accumulate().
void SiPixelDetectorStatus::fillFEDerror25 | ( | int | detid, |
PixelFEDChannel | ch | ||
) |
Definition at line 120 of file SiPixelDetectorStatus.cc.
References fModules.
Referenced by SiPixelStatusProducer::endLuminosityBlockProduce().
bool SiPixelDetectorStatus::findModule | ( | int | detid | ) |
|
inline |
Definition at line 80 of file SiPixelDetectorStatus.h.
References fModules.
Referenced by SiPixelStatusHarvester::dqmEndRun(), and SiPixelStatusHarvester::perLayerRingAverage().
std::map< int, std::vector< int > > SiPixelDetectorStatus::getFEDerror25Rocs | ( | ) |
Definition at line 127 of file SiPixelDetectorStatus.cc.
References begin(), end(), SiPixelModuleStatus::getRoc(), list(), SiPixelModuleStatus::nrocs(), and PixelMapPlotter::roc.
Referenced by SiPixelStatusManager::createFEDerror25().
|
inline |
Definition at line 60 of file SiPixelDetectorStatus.h.
Referenced by SiPixelStatusManager::rankByLumi().
SiPixelModuleStatus * SiPixelDetectorStatus::getModule | ( | int | detid | ) |
Definition at line 164 of file SiPixelDetectorStatus.cc.
References fModules.
Referenced by readFromFile(), and updateDetectorStatus().
|
inline |
Definition at line 64 of file SiPixelDetectorStatus.h.
References fNevents.
Referenced by updateDetectorStatus().
|
inline |
std::map<int, SiPixelModuleStatus>::iterator SiPixelDetectorStatus::next | ( | ) |
int SiPixelDetectorStatus::nmodules | ( | ) |
double SiPixelDetectorStatus::perRocDigiOcc | ( | ) |
Definition at line 179 of file SiPixelDetectorStatus.cc.
References begin(), end(), and DeadROCCounter::nrocs.
Referenced by SiPixelStatusManager::createBadComponents(), SiPixelStatusHarvester::dqmEndRun(), and perRocDigiOccVar().
double SiPixelDetectorStatus::perRocDigiOccVar | ( | ) |
Definition at line 192 of file SiPixelDetectorStatus.cc.
References begin(), end(), DeadROCCounter::nrocs, and perRocDigiOcc().
void SiPixelDetectorStatus::readFromFile | ( | std::string | filename | ) |
Definition at line 23 of file SiPixelDetectorStatus.cc.
References addModule(), fDetHits, corrVsCorr::filename, fLS0, fLS1, fRun0, fRun1, getModule(), hfClusterShapes_cfi::hits, PixelMapPlotter::roc, SiPixelModuleStatus::setNrocs(), AlCaHLTBitMon_QueryRunRegistry::string, and SiPixelModuleStatus::updateModuleDIGI().
|
inline |
Definition at line 66 of file SiPixelDetectorStatus.h.
References fDetHits, fLS0, fLS1, fModules, fNevents, fRun0, and fRun1.
Referenced by SiPixelStatusProducer::endLuminosityBlockProduce().
|
inline |
Definition at line 56 of file SiPixelDetectorStatus.h.
Referenced by SiPixelStatusManager::createBadComponents(), and SiPixelStatusProducer::endLuminosityBlockProduce().
|
inline |
Definition at line 63 of file SiPixelDetectorStatus.h.
Referenced by SiPixelStatusProducer::endLuminosityBlockProduce().
|
inline |
Definition at line 51 of file SiPixelDetectorStatus.h.
References fRun0, fRun1, ntuplemaker::run0, and ntuplemaker::run1.
Referenced by SiPixelStatusProducer::endLuminosityBlockProduce().
void SiPixelDetectorStatus::updateDetectorStatus | ( | SiPixelDetectorStatus | newData | ) |
Definition at line 210 of file SiPixelDetectorStatus.cc.
References begin(), digiOccDET(), end(), fDetHits, fModules, fNevents, getModule(), and getNevents().
Referenced by SiPixelStatusManager::createBadComponents().
|
private |
Definition at line 94 of file SiPixelDetectorStatus.h.
Referenced by digiOccDET(), dumpToFile(), fillDIGI(), readFromFile(), resetDetectorStatus(), SiPixelDetectorStatus(), and updateDetectorStatus().
|
private |
Definition at line 86 of file SiPixelDetectorStatus.h.
Referenced by dumpToFile(), getLSRange(), readFromFile(), resetDetectorStatus(), and setLSRange().
|
private |
Definition at line 86 of file SiPixelDetectorStatus.h.
Referenced by dumpToFile(), getLSRange(), readFromFile(), resetDetectorStatus(), and setLSRange().
|
private |
Definition at line 83 of file SiPixelDetectorStatus.h.
Referenced by addModule(), begin(), end(), fillDIGI(), fillFEDerror25(), findModule(), getDetectorStatus(), getModule(), nmodules(), resetDetectorStatus(), and updateDetectorStatus().
|
private |
Definition at line 91 of file SiPixelDetectorStatus.h.
Referenced by getNevents(), resetDetectorStatus(), setNevents(), SiPixelDetectorStatus(), and updateDetectorStatus().
|
private |
Definition at line 88 of file SiPixelDetectorStatus.h.
Referenced by dumpToFile(), getRunRange(), readFromFile(), resetDetectorStatus(), and setRunRange().
|
private |
Definition at line 88 of file SiPixelDetectorStatus.h.
Referenced by dumpToFile(), getRunRange(), readFromFile(), resetDetectorStatus(), and setRunRange().