#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, edm::ConsumesCollector &&iC, edm::Transition transition=edm::Transition::BeginRun) | |
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 | |
template<typename T > | |
using | BranchAliasSetterT = ProductRegistryHelper::BranchAliasSetterT< T > |
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 | dqmBeginRun (edm::Run const &, edm::EventSetup const &) |
Protected Member Functions inherited from edm::ProducerBase | |
template<Transition Tr = Transition::Event> | |
auto | produces (std::string instanceName) noexcept |
declare what type of product will make and with which optional label More... | |
template<Transition B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<BranchType B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces () |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
template<Transition Tr = Transition::Event> | |
auto | produces () noexcept |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
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) |
void | resetItemsToGetFrom (BranchType iType) |
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 33 of file SiPixelStatusHarvester.h.
|
private |
Enumerator | |
---|---|
BADROC | |
PERMANENTBADROC | |
FEDERRORROC | |
STUCKTBMROC | |
OTHERBADROC | |
PROMPTBADROC |
Definition at line 35 of file SiPixelStatusHarvester.h.
SiPixelStatusHarvester::SiPixelStatusHarvester | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 53 of file SiPixelStatusHarvester.cc.
References edm::EDConsumerBase::consumesCollector(), countLumi_, debug_, endLumiBlock_, edm::EndRun, edm::ParameterSet::getUntrackedParameter(), pixelO2O_, recordName_, SiPixelStatusManager::reset(), sensorSize_, siPixelStatusManager_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
Definition at line 95 of file SiPixelStatusHarvester.cc.
|
finalvirtual |
Reimplemented from DQMOneEDAnalyzer< edm::one::WatchLuminosityBlocks >.
Definition at line 110 of file SiPixelStatusHarvester.cc.
|
overridevirtual |
Reimplemented from edm::one::EDProducerBase.
Definition at line 98 of file SiPixelStatusHarvester.cc.
|
final |
|
finalvirtual |
Implements DQMOneEDAnalyzer< edm::one::WatchLuminosityBlocks >.
Definition at line 101 of file SiPixelStatusHarvester.cc.
References HistogramManagerHolder::histo.
|
private |
Definition at line 642 of file SiPixelStatusHarvester.cc.
References equal(), edm::RunBase::id(), recordName_, edm::RunID::run(), edm::second(), TauJetAlgoParameters_cfi::tagName, and cond::service::PoolDBOutputService::writeOneIOV().
Referenced by dqmEndRun().
|
finalvirtual |
Reimplemented from DQMOneEDAnalyzer< edm::one::WatchLuminosityBlocks >.
Definition at line 113 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(), hcalRecHitTable_cff::detId, SiPixelQuality::disabledModuleType::DetID, TrackerGeometry::dets(), SiPixelModuleStatus::digiOccROC(), endLumiBlock_, equal(), SiPixelQuality::disabledModuleType::errorType, FEDERRORROC, spr::find(), SiPixelFedCabling::findItem(), cms::cuda::for(), SiPixelQuality::getBadComponentList(), SiPixelStatusManager::getBadComponents(), edm::EventSetup::getData(), SiPixelDetectorStatus::getDetectorStatus(), SiPixelStatusManager::getFEDerror25Rocs(), HistogramManagerHolder::histo, mps_fire::i, edm::RunBase::id(), caHitNtupletGeneratorKernels::if(), SiPixelCoordinates::init(), createfilelist::int, writeEcalDQMStatus::interval, edm::Service< T >::isAvailable(), SiPixelQuality::IsRocBad(), nano_mu_digi_cff::layer, SiPixelCoordinates::layer(), 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_, PROMPTBADROC, recordName_, SiPixelCoordinates::ring(), relativeConstraints::ring, PixelMapPlotter::roc, sipixelobjects::GlobalPixel::row, PixelTopology::rowsperroc(), edm::RunID::run(), edm::second(), sensorSize_, siPixelFedCablingMapToken_, AlCaHarvesting_cff::SiPixelQuality, siPixelQualityToken_, siPixelStatusManager_, PixelGeomDetUnit::specificTopology(), stepIOV(), STUCKTBMROC, thresholdL1_, thresholdL2_, thresholdL3_, thresholdL4_, thresholdRNG1_, thresholdRNG2_, trackerGeometry_, trackerGeometryToken_, trackerTopologyToken_, cond::service::PoolDBOutputService::writeOneIOV(), and testProducerWithPsetDescEmpty_cfi::x1.
|
final |
Definition at line 573 of file SiPixelStatusHarvester.cc.
References endLumiBlock_, edm::LuminosityBlockBase::luminosityBlock(), SiPixelStatusManager::readLumi(), and siPixelStatusManager_.
|
private |
Definition at line 605 of file SiPixelStatusHarvester.cc.
References a, b, mps_fire::i, cuy::ib, findQualityFiles::size, and jetUpdater_cfi::sort.
Referenced by constructTag(), and dqmEndRun().
|
private |
Definition at line 663 of file SiPixelStatusHarvester.cc.
References coord_, SiPixelDetectorStatus::getDetectorStatus(), nano_mu_digi_cff::layer, SiPixelCoordinates::layer(), DeadROCCounter::nrocs, SiPixelCoordinates::ring(), and relativeConstraints::ring.
Referenced by dqmEndRun().
|
private |
Definition at line 581 of file SiPixelStatusHarvester.cc.
References dqmdumpme::first.
Referenced by dqmEndRun().
|
private |
Definition at line 688 of file SiPixelStatusHarvester.cc.
References coord_, dttmaxenums::L, nano_mu_digi_cff::layer, SiPixelCoordinates::layer(), dttmaxenums::R, SiPixelCoordinates::ring(), relativeConstraints::ring, AlCaHLTBitMon_QueryRunRegistry::string, and to_string().
|
private |
Definition at line 57 of file SiPixelStatusHarvester.h.
Referenced by dqmEndRun().
|
private |
Definition at line 69 of file SiPixelStatusHarvester.h.
Referenced by dqmEndRun().
|
private |
Definition at line 77 of file SiPixelStatusHarvester.h.
Referenced by dqmEndRun().
|
private |
Definition at line 80 of file SiPixelStatusHarvester.h.
Referenced by dqmEndRun(), perLayerRingAverage(), and substructure().
|
private |
Definition at line 72 of file SiPixelStatusHarvester.h.
Referenced by beginLuminosityBlock(), and SiPixelStatusHarvester().
|
private |
Definition at line 64 of file SiPixelStatusHarvester.h.
Referenced by dqmEndRun(), and SiPixelStatusHarvester().
|
private |
Definition at line 74 of file SiPixelStatusHarvester.h.
Referenced by dqmEndRun(), endLuminosityBlock(), and SiPixelStatusHarvester().
|
private |
Definition at line 60 of file SiPixelStatusHarvester.h.
Referenced by Modules.SwitchProducer::__addParameter(), SequenceTypes.DummyModule::__repr__(), Modules.SwitchProducer::__setattr__(), Mixins._Labelable::_findDependencies(), and Mixins._Labelable::setLabel().
|
private |
Definition at line 59 of file SiPixelStatusHarvester.h.
|
private |
Definition at line 58 of file SiPixelStatusHarvester.h.
|
private |
Definition at line 56 of file SiPixelStatusHarvester.h.
Referenced by dqmEndRun().
|
private |
Definition at line 83 of file SiPixelStatusHarvester.h.
Referenced by dqmEndRun(), and SiPixelStatusHarvester().
|
private |
Definition at line 66 of file SiPixelStatusHarvester.h.
Referenced by constructTag(), dqmEndRun(), and SiPixelStatusHarvester().
|
private |
Definition at line 78 of file SiPixelStatusHarvester.h.
Referenced by dqmEndRun(), and SiPixelStatusHarvester().
|
private |
Definition at line 87 of file SiPixelStatusHarvester.h.
Referenced by dqmEndRun().
|
private |
Definition at line 88 of file SiPixelStatusHarvester.h.
Referenced by dqmEndRun().
|
private |
Definition at line 62 of file SiPixelStatusHarvester.h.
Referenced by dqmEndRun(), endLuminosityBlock(), and SiPixelStatusHarvester().
|
private |
Definition at line 91 of file SiPixelStatusHarvester.h.
|
private |
Definition at line 55 of file SiPixelStatusHarvester.h.
Referenced by dqmEndRun().
|
private |
Definition at line 55 of file SiPixelStatusHarvester.h.
Referenced by dqmEndRun().
|
private |
Definition at line 55 of file SiPixelStatusHarvester.h.
Referenced by dqmEndRun().
|
private |
Definition at line 55 of file SiPixelStatusHarvester.h.
Referenced by dqmEndRun().
|
private |
Definition at line 55 of file SiPixelStatusHarvester.h.
Referenced by dqmEndRun().
|
private |
Definition at line 55 of file SiPixelStatusHarvester.h.
Referenced by dqmEndRun().
|
private |
Definition at line 76 of file SiPixelStatusHarvester.h.
Referenced by dqmEndRun().
|
private |
Definition at line 85 of file SiPixelStatusHarvester.h.
Referenced by dqmEndRun().
|
private |
Definition at line 86 of file SiPixelStatusHarvester.h.
Referenced by dqmEndRun().