#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 | |
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<class ProductType > | |
BranchAliasSetterT< ProductType > | produces () |
declare what type of product will make and with which optional label More... | |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
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) |
template<Transition B> | |
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 (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () noexcept |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) noexcept |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (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 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 |
Definition at line 575 of file SiPixelStatusHarvester.cc.
References countLumi_.
|
finalvirtual |
Implements DQMOneEDAnalyzer< edm::one::WatchLuminosityBlocks >.
Definition at line 101 of file SiPixelStatusHarvester.cc.
References HistogramManagerHolder::histo.
|
private |
Definition at line 649 of file SiPixelStatusHarvester.cc.
References equal(), edm::RunBase::id(), recordName_, edm::RunID::run(), edm::second(), JetPartonCorrections_cff::tagName, and cond::service::PoolDBOutputService::writeOne().
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(), 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(), if(), SiPixelCoordinates::init(), createfilelist::int, readEcalDQMStatus::interval, edm::Service< T >::isAvailable(), SiPixelQuality::IsRocBad(), SiPixelCoordinates::layer(), phase1PixelTopology::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, DetId::rawId(), 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::writeOne(), and testProducerWithPsetDescEmpty_cfi::x1.
|
final |
Definition at line 580 of file SiPixelStatusHarvester.cc.
References endLumiBlock_, edm::LuminosityBlockBase::luminosityBlock(), SiPixelStatusManager::readLumi(), and siPixelStatusManager_.
|
private |
Definition at line 612 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 671 of file SiPixelStatusHarvester.cc.
References coord_, SiPixelDetectorStatus::getDetectorStatus(), SiPixelCoordinates::layer(), phase1PixelTopology::layer, DeadROCCounter::nrocs, SiPixelCoordinates::ring(), and relativeConstraints::ring.
Referenced by dqmEndRun().
|
private |
Definition at line 588 of file SiPixelStatusHarvester.cc.
References first.
Referenced by dqmEndRun().
|
private |
Definition at line 696 of file SiPixelStatusHarvester.cc.
References coord_, dttmaxenums::L, SiPixelCoordinates::layer(), phase1PixelTopology::layer, dttmaxenums::R, SiPixelCoordinates::ring(), relativeConstraints::ring, and AlCaHLTBitMon_QueryRunRegistry::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 SequenceTypes.DummyModule::__repr__(), 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().