#include <SiPixelStatusManager.h>
Public Types | |
typedef std::map< edm::LuminosityBlockNumber_t, SiPixelDetectorStatus >::iterator | siPixelStatusMap_iterator |
typedef std::map< edm::LuminosityBlockNumber_t, std::map< int, std::vector< int > > >::iterator | stuckTBMsMap_iterator |
Public Member Functions | |
void | createBadComponents () |
void | createPayloads () |
void | createStuckTBMs () |
const std::map< edm::LuminosityBlockNumber_t, SiPixelDetectorStatus > & | getBadComponents () |
const std::map< edm::LuminosityBlockNumber_t, std::map< int, std::vector< int > > > & | getStuckTBMsRocs () |
void | readLumi (const edm::LuminosityBlock &) |
void | reset () |
SiPixelStatusManager () | |
SiPixelStatusManager (const edm::ParameterSet &, edm::ConsumesCollector &&) | |
virtual | ~SiPixelStatusManager () |
Private Attributes | |
int | aveDigiOcc_ |
std::string | label_ |
std::string | moduleName_ |
int | nLumi_ |
std::string | outputBase_ |
std::map< edm::LuminosityBlockNumber_t, SiPixelDetectorStatus > | siPixelStatusMap_ |
edm::EDGetTokenT< SiPixelDetectorStatus > | siPixelStatusToken_ |
std::map< edm::LuminosityBlockNumber_t, std::map< int, std::vector< int > > > | stuckTBMsMap_ |
helper class that set up IOV strcutre of SiPixelDetectorStatus
Definition at line 22 of file SiPixelStatusManager.h.
typedef std::map<edm::LuminosityBlockNumber_t,SiPixelDetectorStatus>::iterator SiPixelStatusManager::siPixelStatusMap_iterator |
Definition at line 43 of file SiPixelStatusManager.h.
typedef std::map<edm::LuminosityBlockNumber_t,std::map<int, std::vector<int> > >::iterator SiPixelStatusManager::stuckTBMsMap_iterator |
Definition at line 44 of file SiPixelStatusManager.h.
SiPixelStatusManager::SiPixelStatusManager | ( | ) |
Definition at line 21 of file SiPixelStatusManager.cc.
SiPixelStatusManager::SiPixelStatusManager | ( | const edm::ParameterSet & | iConfig, |
edm::ConsumesCollector && | iC | ||
) |
Definition at line 25 of file SiPixelStatusManager.cc.
References edm::InLumi, label_, moduleName_, outputBase_, reset(), and siPixelStatusToken_.
|
virtual |
Definition at line 43 of file SiPixelStatusManager.cc.
void SiPixelStatusManager::createBadComponents | ( | ) |
Definition at line 72 of file SiPixelStatusManager.cc.
References aveDigiOcc_, SiPixelDetectorStatus::end(), nLumi_, outputBase_, SiPixelDetectorStatus::perRocDigiOcc(), siPixelStatusMap_, and SiPixelDetectorStatus::updateDetectorStatus().
Referenced by createPayloads().
|
inline |
Definition at line 35 of file SiPixelStatusManager.h.
References createBadComponents(), and createStuckTBMs().
Referenced by SiPixelStatusHarvester::endRun().
void SiPixelStatusManager::createStuckTBMs | ( | ) |
Definition at line 224 of file SiPixelStatusManager.cc.
References SiPixelDetectorStatus::begin(), SiPixelDetectorStatus::end(), SiPixelDetectorStatus::getStuckTBMsRocs(), siPixelStatusMap_, and stuckTBMsMap_.
Referenced by createPayloads().
|
inline |
Definition at line 40 of file SiPixelStatusManager.h.
References siPixelStatusMap_.
Referenced by SiPixelStatusHarvester::endRun().
|
inline |
Definition at line 41 of file SiPixelStatusManager.h.
References stuckTBMsMap_.
Referenced by SiPixelStatusHarvester::endRun().
void SiPixelStatusManager::readLumi | ( | const edm::LuminosityBlock & | iLumi | ) |
Definition at line 52 of file SiPixelStatusManager.cc.
References edm::LuminosityBlock::getByToken(), edm::HandleBase::isValid(), edm::LuminosityBlockBase::luminosityBlock(), siPixelStatusMap_, and siPixelStatusToken_.
Referenced by SiPixelStatusHarvester::endLuminosityBlock().
void SiPixelStatusManager::reset | ( | void | ) |
Definition at line 47 of file SiPixelStatusManager.cc.
References siPixelStatusMap_.
Referenced by MatrixReader.MatrixReader::__init__(), SiPixelStatusHarvester::beginRun(), data_sources.json_list::next(), MatrixReader.MatrixReader::showRaw(), and SiPixelStatusManager().
|
private |
Definition at line 52 of file SiPixelStatusManager.h.
Referenced by createBadComponents().
|
private |
Definition at line 55 of file SiPixelStatusManager.h.
Referenced by SequenceTypes.DummyModule::__repr__(), Mixins._Labelable::_findDependencies(), Mixins._Labelable::setLabel(), and SiPixelStatusManager().
|
private |
Definition at line 54 of file SiPixelStatusManager.h.
Referenced by SiPixelStatusManager().
|
private |
Definition at line 53 of file SiPixelStatusManager.h.
Referenced by createBadComponents().
|
private |
Definition at line 51 of file SiPixelStatusManager.h.
Referenced by createBadComponents(), and SiPixelStatusManager().
|
private |
Definition at line 48 of file SiPixelStatusManager.h.
Referenced by createBadComponents(), createStuckTBMs(), getBadComponents(), readLumi(), and reset().
|
private |
Definition at line 57 of file SiPixelStatusManager.h.
Referenced by readLumi(), and SiPixelStatusManager().
|
private |
Definition at line 49 of file SiPixelStatusManager.h.
Referenced by createStuckTBMs(), and getStuckTBMsRocs().