#include <CondFormats/SiPixelObjects/plugins/SiPixelFEDChannelContainerFromQualityConverter.cc>
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::one::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | beginJob () override |
void | endJob () override |
Private Attributes | |
int | IOVcount_ |
const bool | isMC_ |
const std::string | m_record |
std::unique_ptr< SiPixelFEDChannelContainer > | myQualities |
const bool | printdebug_ |
const bool | removeEmptyPayloads_ |
const edm::ESGetToken< SiPixelFedCablingMap, SiPixelFedCablingMapRcd > | siPixelCablingToken_ |
const edm::ESGetToken< SiPixelQuality, SiPixelQualityFromDbRcd > | siPixelQualityToken_ |
edm::ESWatcher< SiPixelQualityFromDbRcd > | SiPixelQualityWatcher_ |
Additional Inherited Members | |
Public Types inherited from edm::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
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 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<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) |
Description: class to build the SiPixelFEDChannelContainer payloads
Definition at line 41 of file SiPixelFEDChannelContainerFromQualityConverter.cc.
|
explicit |
Definition at line 72 of file SiPixelFEDChannelContainerFromQualityConverter.cc.
References myQualities.
|
overridedefault |
|
overrideprivatevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 91 of file SiPixelFEDChannelContainerFromQualityConverter.cc.
References edm::ESWatcher< T >::check(), createFromSiPixelQuality(), edm::EventSetup::getHandle(), iEvent, IOVcount_, myQualities, edm::ESHandle< T >::product(), removeEmptyPayloads_, siPixelCablingToken_, siPixelQualityToken_, SiPixelQualityWatcher_, AlCaHLTBitMon_QueryRunRegistry::string, and cond::impl::to_string().
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 208 of file SiPixelFEDChannelContainerFromQualityConverter.cc.
References IOVcount_.
SiPixelFEDChannelContainer::SiPixelFEDChannelCollection SiPixelFEDChannelContainerFromQualityConverter::createFromSiPixelQuality | ( | const SiPixelQuality & | theQuality, |
const SiPixelFedCablingMap & | theFedCabling | ||
) |
Definition at line 123 of file SiPixelFEDChannelContainerFromQualityConverter.cc.
References SiPixelFedCablingMap::cablingTree(), SiPixelFedCablingMap::det2fedMap(), Exception, SiPixelQuality::getBadComponentList(), sipixelobjects::PixelFEDCabling::link(), MainPageGenerator::link, mod(), AlCaHLTBitMon_ParallelJobs::p, castor_dqm_sourceclient_file_cfg::path, SiPixelFedCablingMap::pathToDetUnit(), funct::pow(), printdebug_, and PixelMapPlotter::roc.
Referenced by analyze().
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 211 of file SiPixelFEDChannelContainerFromQualityConverter.cc.
References cond::service::PoolDBOutputService::currentTime(), IOVcount_, edm::Service< T >::isAvailable(), isMC_, m_record, myQualities, printdebug_, and cond::service::PoolDBOutputService::writeOneIOV().
|
static |
Definition at line 240 of file SiPixelFEDChannelContainerFromQualityConverter.cc.
References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 65 of file SiPixelFEDChannelContainerFromQualityConverter.cc.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 61 of file SiPixelFEDChannelContainerFromQualityConverter.cc.
Referenced by endJob().
|
private |
Definition at line 59 of file SiPixelFEDChannelContainerFromQualityConverter.cc.
Referenced by endJob().
|
private |
Definition at line 63 of file SiPixelFEDChannelContainerFromQualityConverter.cc.
Referenced by analyze(), endJob(), and SiPixelFEDChannelContainerFromQualityConverter().
|
private |
Definition at line 60 of file SiPixelFEDChannelContainerFromQualityConverter.cc.
Referenced by createFromSiPixelQuality(), and endJob().
|
private |
Definition at line 62 of file SiPixelFEDChannelContainerFromQualityConverter.cc.
Referenced by analyze().
|
private |
Definition at line 57 of file SiPixelFEDChannelContainerFromQualityConverter.cc.
Referenced by analyze().
|
private |
Definition at line 56 of file SiPixelFEDChannelContainerFromQualityConverter.cc.
Referenced by analyze().
|
private |
Definition at line 66 of file SiPixelFEDChannelContainerFromQualityConverter.cc.
Referenced by analyze().