#include <SiPixelStatusManager.h>
Public Types | |
typedef std::map< edm::LuminosityBlockNumber_t, std::map< int, std::vector< int > > >::iterator | FEDerror25Map_iterator |
typedef std::map< edm::LuminosityBlockNumber_t, SiPixelDetectorStatus >::iterator | siPixelStatusMap_iterator |
typedef std::vector< SiPixelDetectorStatus >::iterator | siPixelStatusVtr_iterator |
Public Member Functions | |
void | createPayloads () |
const std::map< edm::LuminosityBlockNumber_t, SiPixelDetectorStatus > & | getBadComponents () |
const std::map< edm::LuminosityBlockNumber_t, std::map< int, std::vector< int > > > & | getFEDerror25Rocs () |
void | readLumi (const edm::LuminosityBlock &) |
void | reset () |
SiPixelStatusManager () | |
SiPixelStatusManager (const edm::ParameterSet &, edm::ConsumesCollector &&) | |
virtual | ~SiPixelStatusManager () |
Private Member Functions | |
void | createBadComponents () |
void | createFEDerror25 () |
Static Private Member Functions | |
static bool | rankByLumi (SiPixelDetectorStatus status1, SiPixelDetectorStatus status2) |
Private Attributes | |
int | aveDigiOcc_ |
std::map< edm::LuminosityBlockNumber_t, std::map< int, std::vector< int > > > | FEDerror25Map_ |
std::string | label_ |
std::string | moduleName_ |
int | nLumi_ |
std::string | outputBase_ |
std::map< edm::LuminosityBlockNumber_t, SiPixelDetectorStatus > | siPixelStatusMap_ |
edm::EDGetTokenT< SiPixelDetectorStatus > | siPixelStatusToken_ |
std::vector< SiPixelDetectorStatus > | siPixelStatusVtr_ |
helper class that set up IOV strcutre of SiPixelDetectorStatus
Definition at line 24 of file SiPixelStatusManager.h.
typedef std::map<edm::LuminosityBlockNumber_t, std::map<int, std::vector<int> > >::iterator SiPixelStatusManager::FEDerror25Map_iterator |
Definition at line 41 of file SiPixelStatusManager.h.
typedef std::map<edm::LuminosityBlockNumber_t, SiPixelDetectorStatus>::iterator SiPixelStatusManager::siPixelStatusMap_iterator |
Definition at line 40 of file SiPixelStatusManager.h.
typedef std::vector<SiPixelDetectorStatus>::iterator SiPixelStatusManager::siPixelStatusVtr_iterator |
Definition at line 42 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 24 of file SiPixelStatusManager.cc.
References edm::InLumi, label_, moduleName_, outputBase_, reset(), and siPixelStatusToken_.
|
virtual |
Definition at line 43 of file SiPixelStatusManager.cc.
|
private |
Definition at line 88 of file SiPixelStatusManager.cc.
References AlCaHarvesting_cff::aveDigiOcc, aveDigiOcc_, GetRecoTauVFromDQM_MC_cff::next, nLumi_, outputBase_, SiPixelDetectorStatus::perRocDigiOcc(), SiPixelDetectorStatus::setLSRange(), siPixelStatusMap_, siPixelStatusVtr_, and SiPixelDetectorStatus::updateDetectorStatus().
Referenced by createPayloads().
|
private |
Definition at line 216 of file SiPixelStatusManager.cc.
References FEDerror25Map_, SiPixelDetectorStatus::getFEDerror25Rocs(), GetRecoTauVFromDQM_MC_cff::next, and siPixelStatusVtr_.
Referenced by createPayloads().
void SiPixelStatusManager::createPayloads | ( | ) |
Definition at line 56 of file SiPixelStatusManager.cc.
References createBadComponents(), createFEDerror25(), rankByLumi(), siPixelStatusVtr_, and jetUpdater_cfi::sort.
Referenced by SiPixelStatusHarvester::dqmEndRun().
|
inline |
Definition at line 35 of file SiPixelStatusManager.h.
References siPixelStatusMap_.
Referenced by SiPixelStatusHarvester::dqmEndRun().
|
inline |
Definition at line 36 of file SiPixelStatusManager.h.
References FEDerror25Map_.
Referenced by SiPixelStatusHarvester::dqmEndRun().
|
staticprivate |
Definition at line 52 of file SiPixelStatusManager.cc.
References SiPixelDetectorStatus::getLSRange().
Referenced by createPayloads().
void SiPixelStatusManager::readLumi | ( | const edm::LuminosityBlock & | iLumi | ) |
Definition at line 72 of file SiPixelStatusManager.cc.
References SiPixelDetectorStatus::digiOccDET(), edm::LuminosityBlock::getByToken(), edm::HandleBase::isValid(), edm::LuminosityBlockBase::luminosityBlock(), edm::LuminosityBlockBase::run(), siPixelStatusToken_, and siPixelStatusVtr_.
Referenced by SiPixelStatusHarvester::endLuminosityBlock().
void SiPixelStatusManager::reset | ( | void | ) |
Definition at line 46 of file SiPixelStatusManager.cc.
References siPixelStatusMap_, and siPixelStatusVtr_.
Referenced by MatrixReader.MatrixReader::__init__(), data_sources.json_list::__next__(), MatrixReader.MatrixReader::showRaw(), SiPixelStatusHarvester::SiPixelStatusHarvester(), and SiPixelStatusManager().
|
private |
Definition at line 54 of file SiPixelStatusManager.h.
Referenced by createBadComponents().
|
private |
Definition at line 51 of file SiPixelStatusManager.h.
Referenced by createFEDerror25(), and getFEDerror25Rocs().
|
private |
Definition at line 57 of file SiPixelStatusManager.h.
Referenced by Modules.SwitchProducer::__addParameter(), SequenceTypes.DummyModule::__repr__(), Modules.SwitchProducer::__setattr__(), Mixins._Labelable::_findDependencies(), Mixins._Labelable::setLabel(), and SiPixelStatusManager().
|
private |
Definition at line 56 of file SiPixelStatusManager.h.
Referenced by SiPixelStatusManager().
|
private |
Definition at line 55 of file SiPixelStatusManager.h.
Referenced by createBadComponents().
|
private |
Definition at line 53 of file SiPixelStatusManager.h.
Referenced by createBadComponents(), and SiPixelStatusManager().
|
private |
Definition at line 50 of file SiPixelStatusManager.h.
Referenced by createBadComponents(), getBadComponents(), and reset().
|
private |
Definition at line 59 of file SiPixelStatusManager.h.
Referenced by readLumi(), and SiPixelStatusManager().
|
private |
Definition at line 49 of file SiPixelStatusManager.h.
Referenced by createBadComponents(), createFEDerror25(), createPayloads(), readLumi(), and reset().