#include <SiPixelStatusHarvester.h>
Private Types | |
enum | { BADROC, PERMANENTBADROC, FEDERRORROC, STUCKTBMROC, OTHERBADROC, PROMPTBADROC } |
Private Member Functions | |
void | constructTag (std::map< int, SiPixelQuality * > siPixelQualityTag, edm::Service< cond::service::PoolDBOutputService > &poolDbService, std::string tagName, edm::Run const &iRun) |
bool | equal (SiPixelQuality *a, SiPixelQuality *b) |
double | perLayerRingAverage (int detid, SiPixelDetectorStatus tmpSiPixelStatus) |
edm::LuminosityBlockNumber_t | stepIOV (edm::LuminosityBlockNumber_t pin, std::map< edm::LuminosityBlockNumber_t, edm::LuminosityBlockNumber_t > IOV) |
std::string | substructure (int detid) |
Private Member Functions inherited from HistogramManagerHolder | |
HistogramManagerHolder (const edm::ParameterSet &iConfig) | |
Private Attributes | |
int | aveDigiOcc_ |
const SiPixelQuality * | badPixelInfo_ |
const SiPixelFedCabling * | cablingMap_ = 0 |
SiPixelCoordinates | coord_ |
int | countLumi_ = 0 |
bool | debug_ |
edm::LuminosityBlockNumber_t | endLumiBlock_ |
std::string | label_ |
std::string | moduleName_ |
int | nLumi_ |
std::string | outputBase_ |
std::map< int, std::map< int, std::pair< int, int > > > | pixelO2O_ |
std::string | recordName_ |
std::map< int, unsigned int > | sensorSize_ |
SiPixelStatusManager | siPixelStatusManager_ |
std::vector< std::string > | substructures |
double | thresholdL1_ |
double | thresholdL2_ |
double | thresholdL3_ |
double | thresholdL4_ |
double | thresholdRNG1_ |
double | thresholdRNG2_ |
const TrackerGeometry * | trackerGeometry_ = 0 |
Private Attributes inherited from HistogramManagerHolder | |
GeometryInterface | geometryInterface |
std::vector< HistogramManager > | histo |
Additional Inherited Members | |
Public Types inherited from DQMOneEDAnalyzer< edm::one::WatchLuminosityBlocks > | |
typedef dqm::reco::DQMStore | DQMStore |
typedef dqm::reco::MonitorElement | MonitorElement |
Public Types inherited from edm::one::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::one::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from DQMOneEDAnalyzer< edm::one::WatchLuminosityBlocks > | |
virtual void | analyze (edm::Event const &, edm::EventSetup const &) |
virtual void | dqmBeginRun (edm::Run const &, edm::EventSetup const &) |
virtual void | dqmEndRun (edm::Run const &, edm::EventSetup const &) |
Protected Member Functions inherited from edm::ProducerBase | |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Protected Attributes inherited from DQMOneEDAnalyzer< edm::one::WatchLuminosityBlocks > | |
edm::EDPutTokenT< DQMToken > | runToken_ |
harvest per-lumi prduced SiPixelDetector status and make the payload for SiPixelQualityFromDB
Definition at line 23 of file SiPixelStatusHarvester.h.
|
private |
Enumerator | |
---|---|
BADROC | |
PERMANENTBADROC | |
FEDERRORROC | |
STUCKTBMROC | |
OTHERBADROC | |
PROMPTBADROC |
Definition at line 25 of file SiPixelStatusHarvester.h.
SiPixelStatusHarvester::SiPixelStatusHarvester | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 59 of file SiPixelStatusHarvester.cc.
References edm::EDConsumerBase::consumesCollector(), countLumi_, debug_, endLumiBlock_, edm::ParameterSet::getUntrackedParameter(), pixelO2O_, recordName_, SiPixelStatusManager::reset(), sensorSize_, siPixelStatusManager_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
Definition at line 97 of file SiPixelStatusHarvester.cc.
|
final |
Definition at line 115 of file SiPixelStatusHarvester.cc.
|
overridevirtual |
Reimplemented from edm::one::EDProducerBase.
Definition at line 100 of file SiPixelStatusHarvester.cc.
|
final |
|
finalvirtual |
Implements DQMOneEDAnalyzer< edm::one::WatchLuminosityBlocks >.
Definition at line 106 of file SiPixelStatusHarvester.cc.
References HistogramManagerHolder::histo.
|
private |
Definition at line 660 of file SiPixelStatusHarvester.cc.
References equal(), edm::RunBase::id(), recordName_, edm::RunID::run(), edm::second(), and cond::service::PoolDBOutputService::writeOne().
Referenced by dqmEndRun().
|
final |
Definition at line 118 of file SiPixelStatusHarvester.cc.
References SiPixelQuality::addDisabledModule(), aveDigiOcc_, badPixelInfo_, BADROC, SiPixelQuality::disabledModuleType::BadRocs, cablingMap_, sipixelobjects::GlobalPixel::col, PixelTopology::colsperroc(), constructTag(), coord_, SiPixelStatusManager::createPayloads(), debug_, SiPixelFedCabling::det2PathMap(), SiPixelQuality::disabledModuleType::DetID, TrackerGeometry::dets(), SiPixelModuleStatus::digiOccROC(), endLumiBlock_, equal(), SiPixelQuality::disabledModuleType::errorType, FEDERRORROC, spr::find(), SiPixelFedCabling::findItem(), edm::EventSetup::get(), SiPixelQuality::getBadComponentList(), SiPixelStatusManager::getBadComponents(), SiPixelDetectorStatus::getDetectorStatus(), SiPixelStatusManager::getFEDerror25Rocs(), HistogramManagerHolder::histo, mps_fire::i, edm::RunBase::id(), sipixelobjects::PixelROC::idInDetUnit(), SiPixelCoordinates::init(), createfilelist::int, readEcalDQMStatus::interval, edm::Service< T >::isAvailable(), SiPixelQuality::IsRocBad(), SiPixelCoordinates::layer(), list(), DTRecHitClients_cfi::local, genParticles_cff::map, PixelTopology::ncolumns(), GetRecoTauVFromDQM_MC_cff::next, SiPixelModuleStatus::nrocs(), DeadROCCounter::nrocs, PixelTopology::nrows(), OTHERBADROC, outputBase_, castor_dqm_sourceclient_file_cfg::path, perLayerRingAverage(), PERMANENTBADROC, SiPixelDetectorStatus::perRocDigiOcc(), pixelO2O_, edm::ESHandle< T >::product(), PROMPTBADROC, DetId::rawId(), recordName_, SiPixelCoordinates::ring(), relativeConstraints::ring, PixelMapPlotter::roc, sipixelobjects::GlobalPixel::row, PixelTopology::rowsperroc(), edm::RunID::run(), edm::second(), sensorSize_, AlCaHarvesting_cff::SiPixelQuality, siPixelStatusManager_, PixelGeomDetUnit::specificTopology(), stepIOV(), STUCKTBMROC, thresholdL1_, thresholdL2_, thresholdL3_, thresholdL4_, thresholdRNG1_, thresholdRNG2_, sipixelobjects::PixelROC::toGlobal(), trackerGeometry_, cond::service::PoolDBOutputService::writeOne(), and testProducerWithPsetDescEmpty_cfi::x1.
|
overridevirtual |
Reimplemented from edm::one::EDProducerBase.
Definition at line 103 of file SiPixelStatusHarvester.cc.
Referenced by o2olib.O2ORunMgr::executeJob().
|
final |
Definition at line 591 of file SiPixelStatusHarvester.cc.
References endLumiBlock_, edm::LuminosityBlockBase::luminosityBlock(), SiPixelStatusManager::readLumi(), and siPixelStatusManager_.
|
private |
Definition at line 623 of file SiPixelStatusHarvester.cc.
References SiPixelQuality::getBadComponentList(), mps_fire::i, cuy::ib, and findQualityFiles::size.
Referenced by constructTag(), and dqmEndRun().
|
private |
Definition at line 682 of file SiPixelStatusHarvester.cc.
References coord_, SiPixelDetectorStatus::getDetectorStatus(), SiPixelCoordinates::layer(), DeadROCCounter::nrocs, SiPixelCoordinates::ring(), and relativeConstraints::ring.
Referenced by dqmEndRun().
|
private |
Definition at line 599 of file SiPixelStatusHarvester.cc.
References dqmdumpme::first.
Referenced by dqmEndRun().
|
private |
Definition at line 707 of file SiPixelStatusHarvester.cc.
References coord_, DEFINE_FWK_MODULE, dttmaxenums::L, SiPixelCoordinates::layer(), dttmaxenums::R, SiPixelCoordinates::ring(), relativeConstraints::ring, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 48 of file SiPixelStatusHarvester.h.
Referenced by dqmEndRun().
|
private |
Definition at line 60 of file SiPixelStatusHarvester.h.
Referenced by dqmEndRun().
|
private |
Definition at line 68 of file SiPixelStatusHarvester.h.
Referenced by dqmEndRun().
|
private |
Definition at line 71 of file SiPixelStatusHarvester.h.
Referenced by dqmEndRun(), perLayerRingAverage(), and substructure().
|
private |
Definition at line 63 of file SiPixelStatusHarvester.h.
Referenced by beginLuminosityBlock(), and SiPixelStatusHarvester().
|
private |
Definition at line 55 of file SiPixelStatusHarvester.h.
Referenced by dqmEndRun(), and SiPixelStatusHarvester().
|
private |
Definition at line 65 of file SiPixelStatusHarvester.h.
Referenced by dqmEndRun(), endLuminosityBlock(), and SiPixelStatusHarvester().
|
private |
Definition at line 51 of file SiPixelStatusHarvester.h.
Referenced by SequenceTypes.DummyModule::__repr__(), Mixins._Labelable::_findDependencies(), and Mixins._Labelable::setLabel().
|
private |
Definition at line 50 of file SiPixelStatusHarvester.h.
|
private |
Definition at line 49 of file SiPixelStatusHarvester.h.
|
private |
Definition at line 47 of file SiPixelStatusHarvester.h.
Referenced by dqmEndRun().
|
private |
Definition at line 74 of file SiPixelStatusHarvester.h.
Referenced by dqmEndRun(), and SiPixelStatusHarvester().
|
private |
Definition at line 57 of file SiPixelStatusHarvester.h.
Referenced by constructTag(), dqmEndRun(), and SiPixelStatusHarvester().
|
private |
Definition at line 69 of file SiPixelStatusHarvester.h.
Referenced by dqmEndRun(), and SiPixelStatusHarvester().
|
private |
Definition at line 53 of file SiPixelStatusHarvester.h.
Referenced by dqmEndRun(), endLuminosityBlock(), and SiPixelStatusHarvester().
|
private |
Definition at line 77 of file SiPixelStatusHarvester.h.
|
private |
Definition at line 46 of file SiPixelStatusHarvester.h.
Referenced by dqmEndRun().
|
private |
Definition at line 46 of file SiPixelStatusHarvester.h.
Referenced by dqmEndRun().
|
private |
Definition at line 46 of file SiPixelStatusHarvester.h.
Referenced by dqmEndRun().
|
private |
Definition at line 46 of file SiPixelStatusHarvester.h.
Referenced by dqmEndRun().
|
private |
Definition at line 46 of file SiPixelStatusHarvester.h.
Referenced by dqmEndRun().
|
private |
Definition at line 46 of file SiPixelStatusHarvester.h.
Referenced by dqmEndRun().
|
private |
Definition at line 67 of file SiPixelStatusHarvester.h.
Referenced by dqmEndRun().