#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::ofstream &outFile) |
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_ |
int | fRun0_ |
int | fRun1_ |
unsigned long int | ftotalevents_ |
Definition at line 11 of file SiPixelDetectorStatus.h.
SiPixelDetectorStatus::SiPixelDetectorStatus | ( | ) |
Definition at line 14 of file SiPixelDetectorStatus.cc.
References fDetHits_, and ftotalevents_.
SiPixelDetectorStatus::~SiPixelDetectorStatus | ( | ) |
Definition at line 20 of file SiPixelDetectorStatus.cc.
void SiPixelDetectorStatus::addModule | ( | int | detid, |
int | nrocs | ||
) |
Definition at line 102 of file SiPixelDetectorStatus.cc.
References a, fModules_, and DeadROCCounter::nrocs.
Referenced by SiPixelStatusProducer::beginLuminosityBlock(), and readFromFile().
void SiPixelDetectorStatus::addModule | ( | int | detid, |
SiPixelModuleStatus | a | ||
) |
Definition at line 111 of file SiPixelDetectorStatus.cc.
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 45 of file SiPixelDetectorStatus.h.
References fDetHits_.
Referenced by SiPixelStatusManager::readLumi(), and updateDetectorStatus().
void SiPixelDetectorStatus::dumpToFile | ( | std::ofstream & | outFile | ) |
Definition at line 85 of file SiPixelDetectorStatus.cc.
References begin(), end(), fDetHits_, fLS0_, fLS1_, fRun0_, fRun1_, and ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it.
Referenced by SiPixelStatusProducer::globalEndLuminosityBlockProduce().
std::map< int, SiPixelModuleStatus >::iterator SiPixelDetectorStatus::end | ( | ) |
Definition at line 153 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::endLuminosityBlock().
bool SiPixelDetectorStatus::findModule | ( | int | detid | ) |
Definition at line 166 of file SiPixelDetectorStatus.cc.
References fModules_.
|
inline |
Definition at line 41 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(), SiPixelModuleStatus::nrocs(), and PixelMapPlotter::roc.
Referenced by SiPixelStatusManager::createFEDerror25().
|
inline |
Definition at line 67 of file SiPixelDetectorStatus.h.
Referenced by SiPixelStatusManager::rankByLumi().
SiPixelModuleStatus * SiPixelDetectorStatus::getModule | ( | int | detid | ) |
Definition at line 159 of file SiPixelDetectorStatus.cc.
References fModules_.
Referenced by readFromFile(), and updateDetectorStatus().
|
inline |
Definition at line 48 of file SiPixelDetectorStatus.h.
References ftotalevents_.
Referenced by updateDetectorStatus().
|
inline |
std::map<int, SiPixelModuleStatus>::iterator SiPixelDetectorStatus::next | ( | ) |
int SiPixelDetectorStatus::nmodules | ( | ) |
Definition at line 156 of file SiPixelDetectorStatus.cc.
References fModules_.
double SiPixelDetectorStatus::perRocDigiOcc | ( | ) |
Definition at line 174 of file SiPixelDetectorStatus.cc.
References begin(), end(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, and DeadROCCounter::nrocs.
Referenced by SiPixelStatusManager::createBadComponents(), SiPixelStatusHarvester::dqmEndRun(), and perRocDigiOccVar().
double SiPixelDetectorStatus::perRocDigiOccVar | ( | ) |
Definition at line 187 of file SiPixelDetectorStatus.cc.
References begin(), end(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, 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().
void SiPixelDetectorStatus::resetDetectorStatus | ( | ) |
Definition at line 223 of file SiPixelDetectorStatus.cc.
References fDetHits_, fLS0_, fLS1_, fModules_, fRun0_, fRun1_, and ftotalevents_.
|
inline |
Definition at line 63 of file SiPixelDetectorStatus.h.
Referenced by SiPixelStatusManager::createBadComponents(), and SiPixelStatusProducer::globalEndLuminosityBlockProduce().
|
inline |
Definition at line 47 of file SiPixelDetectorStatus.h.
References ftotalevents_, and N.
Referenced by SiPixelStatusProducer::endLuminosityBlock().
|
inline |
Definition at line 57 of file SiPixelDetectorStatus.h.
References fRun0_, fRun1_, ntuplemaker::run0, and ntuplemaker::run1.
Referenced by SiPixelStatusProducer::globalEndLuminosityBlockProduce().
void SiPixelDetectorStatus::updateDetectorStatus | ( | SiPixelDetectorStatus | newData | ) |
Definition at line 207 of file SiPixelDetectorStatus.cc.
References begin(), digiOccDET(), end(), fDetHits_, fModules_, ftotalevents_, getModule(), getNevents(), and ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it.
Referenced by SiPixelStatusManager::createBadComponents(), and SiPixelStatusProducer::globalEndLuminosityBlockProduce().
|
private |
Definition at line 86 of file SiPixelDetectorStatus.h.
Referenced by digiOccDET(), dumpToFile(), fillDIGI(), readFromFile(), resetDetectorStatus(), SiPixelDetectorStatus(), and updateDetectorStatus().
|
private |
Definition at line 78 of file SiPixelDetectorStatus.h.
Referenced by dumpToFile(), getLSRange(), readFromFile(), resetDetectorStatus(), and setLSRange().
|
private |
Definition at line 78 of file SiPixelDetectorStatus.h.
Referenced by dumpToFile(), getLSRange(), readFromFile(), resetDetectorStatus(), and setLSRange().
|
private |
Definition at line 75 of file SiPixelDetectorStatus.h.
Referenced by addModule(), begin(), end(), fillDIGI(), fillFEDerror25(), findModule(), getDetectorStatus(), getModule(), nmodules(), resetDetectorStatus(), and updateDetectorStatus().
|
private |
Definition at line 80 of file SiPixelDetectorStatus.h.
Referenced by dumpToFile(), getRunRange(), readFromFile(), resetDetectorStatus(), and setRunRange().
|
private |
Definition at line 80 of file SiPixelDetectorStatus.h.
Referenced by dumpToFile(), getRunRange(), readFromFile(), resetDetectorStatus(), and setRunRange().
|
private |
Definition at line 83 of file SiPixelDetectorStatus.h.
Referenced by getNevents(), resetDetectorStatus(), setNevents(), SiPixelDetectorStatus(), and updateDetectorStatus().