#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 22 of file SiPixelDetectorStatus.cc.
void SiPixelDetectorStatus::addModule | ( | int | detid, |
int | nrocs | ||
) |
Definition at line 114 of file SiPixelDetectorStatus.cc.
Referenced by readFromFile().
void SiPixelDetectorStatus::addModule | ( | int | detid, |
SiPixelModuleStatus | a | ||
) |
Definition at line 122 of file SiPixelDetectorStatus.cc.
References fModules.
std::map< int, SiPixelModuleStatus >::iterator SiPixelDetectorStatus::begin | ( | ) |
Definition at line 172 of file SiPixelDetectorStatus.cc.
References fModules.
Referenced by digiOccDET(), dumpToFile(), getFEDerror25Rocs(), perRocDigiOcc(), perRocDigiOccVar(), and updateDetectorStatus().
|
inline |
Definition at line 38 of file SiPixelDetectorStatus.h.
References begin(), end(), fDetHits, findModule(), getModule(), next(), and nmodules().
Referenced by SiPixelStatusManager::readLumi(), and updateDetectorStatus().
void SiPixelDetectorStatus::dumpToFile | ( | std::string | filename | ) |
Definition at line 92 of file SiPixelDetectorStatus.cc.
References begin(), end(), fDetHits, fLS0, fLS1, fRun0, and fRun1.
std::map< int, SiPixelModuleStatus >::iterator SiPixelDetectorStatus::end | ( | ) |
Definition at line 184 of file SiPixelDetectorStatus.cc.
References fModules.
Referenced by Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), digiOccDET(), dumpToFile(), getFEDerror25Rocs(), perRocDigiOcc(), perRocDigiOccVar(), and updateDetectorStatus().
void SiPixelDetectorStatus::fillDIGI | ( | int | detid, |
int | roc | ||
) |
Definition at line 130 of file SiPixelDetectorStatus.cc.
References fDetHits, and fModules.
void SiPixelDetectorStatus::fillFEDerror25 | ( | int | detid, |
PixelFEDChannel | ch | ||
) |
Definition at line 138 of file SiPixelDetectorStatus.cc.
References fModules.
bool SiPixelDetectorStatus::findModule | ( | int | detid | ) |
Definition at line 207 of file SiPixelDetectorStatus.cc.
References fModules.
Referenced by digiOccDET().
|
inline |
Definition at line 70 of file SiPixelDetectorStatus.h.
References fModules.
Referenced by SiPixelStatusHarvester::endRun().
std::map< int, std::vector< int > > SiPixelDetectorStatus::getFEDerror25Rocs | ( | ) |
Definition at line 147 of file SiPixelDetectorStatus.cc.
References begin(), end(), SiPixelModuleStatus::getRoc(), SiPixelRocStatus::isFEDerror25(), list(), and SiPixelModuleStatus::nrocs().
Referenced by SiPixelStatusManager::createFEDerror25().
|
inline |
Definition at line 56 of file SiPixelDetectorStatus.h.
Referenced by SiPixelStatusManager::rankByLumi().
SiPixelModuleStatus * SiPixelDetectorStatus::getModule | ( | int | detid | ) |
Definition at line 198 of file SiPixelDetectorStatus.cc.
References fModules.
Referenced by digiOccDET(), readFromFile(), and updateDetectorStatus().
|
inline |
Definition at line 60 of file SiPixelDetectorStatus.h.
References fNevents.
Referenced by updateDetectorStatus().
|
inline |
Definition at line 54 of file SiPixelDetectorStatus.h.
std::map<int, SiPixelModuleStatus>::iterator SiPixelDetectorStatus::next | ( | ) |
Referenced by digiOccDET().
int SiPixelDetectorStatus::nmodules | ( | ) |
Definition at line 191 of file SiPixelDetectorStatus.cc.
References fModules.
Referenced by digiOccDET().
double SiPixelDetectorStatus::perRocDigiOcc | ( | ) |
Definition at line 217 of file SiPixelDetectorStatus.cc.
References begin(), and end().
Referenced by SiPixelStatusManager::createBadComponents(), SiPixelStatusHarvester::endRun(), and perRocDigiOccVar().
double SiPixelDetectorStatus::perRocDigiOccVar | ( | ) |
Definition at line 230 of file SiPixelDetectorStatus.cc.
References begin(), end(), and perRocDigiOcc().
void SiPixelDetectorStatus::readFromFile | ( | std::string | filename | ) |
Definition at line 28 of file SiPixelDetectorStatus.cc.
References addModule(), fDetHits, fLS0, fLS1, fRun0, fRun1, getModule(), hfClusterShapes_cfi::hits, SiPixelModuleStatus::setNrocs(), AlCaHLTBitMon_QueryRunRegistry::string, and SiPixelModuleStatus::updateModuleDIGI().
|
inline |
Definition at line 62 of file SiPixelDetectorStatus.h.
References fDetHits, fLS0, fLS1, fModules, fNevents, fRun0, fRun1, and updateDetectorStatus().
|
inline |
Definition at line 55 of file SiPixelDetectorStatus.h.
Referenced by SiPixelStatusManager::createBadComponents().
|
inline |
Definition at line 59 of file SiPixelDetectorStatus.h.
|
inline |
Definition at line 53 of file SiPixelDetectorStatus.h.
References fRun0, fRun1, ntuplemaker::run0, and ntuplemaker::run1.
void SiPixelDetectorStatus::updateDetectorStatus | ( | SiPixelDetectorStatus | newData | ) |
Definition at line 247 of file SiPixelDetectorStatus.cc.
References begin(), digiOccDET(), end(), fDetHits, fModules, fNevents, getModule(), and getNevents().
Referenced by SiPixelStatusManager::createBadComponents(), and resetDetectorStatus().
|
private |
Definition at line 85 of file SiPixelDetectorStatus.h.
Referenced by digiOccDET(), dumpToFile(), fillDIGI(), readFromFile(), resetDetectorStatus(), SiPixelDetectorStatus(), and updateDetectorStatus().
|
private |
Definition at line 77 of file SiPixelDetectorStatus.h.
Referenced by dumpToFile(), getLSRange(), readFromFile(), resetDetectorStatus(), and setLSRange().
|
private |
Definition at line 77 of file SiPixelDetectorStatus.h.
Referenced by dumpToFile(), getLSRange(), readFromFile(), resetDetectorStatus(), and setLSRange().
|
private |
Definition at line 74 of file SiPixelDetectorStatus.h.
Referenced by addModule(), begin(), end(), fillDIGI(), fillFEDerror25(), findModule(), getDetectorStatus(), getModule(), nmodules(), resetDetectorStatus(), and updateDetectorStatus().
|
private |
Definition at line 82 of file SiPixelDetectorStatus.h.
Referenced by getNevents(), resetDetectorStatus(), setNevents(), SiPixelDetectorStatus(), and updateDetectorStatus().
|
private |
Definition at line 79 of file SiPixelDetectorStatus.h.
Referenced by dumpToFile(), getRunRange(), readFromFile(), resetDetectorStatus(), and setRunRange().
|
private |
Definition at line 79 of file SiPixelDetectorStatus.h.
Referenced by dumpToFile(), getRunRange(), readFromFile(), resetDetectorStatus(), and setRunRange().