#include <CondFormats/SiPixelObjects/plugins/FastSiPixelFEDChannelContainerFromQuality.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 | |
unsigned int | closest_from_above (std::vector< unsigned int > const &vec, unsigned int value) |
unsigned int | closest_from_below (std::vector< unsigned int > const &vec, unsigned int value) |
Private Attributes | |
const bool | isMC_ |
const std::string | m_CablingTagName |
const std::string | m_condDbCabling |
const std::string | m_condDbQuality |
cond::persistency::ConnectionPool | m_connectionPool |
unsigned long long | m_endTime |
const std::string | m_output |
const std::string | m_QualityTagName |
const std::string | m_record |
unsigned long long | m_startTime |
std::unique_ptr< SiPixelFEDChannelContainer > | myQualities |
const bool | printdebug_ |
const bool | removeEmptyPayloads_ |
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 57 of file FastSiPixelFEDChannelContainerFromQuality.cc.
|
explicit |
Definition at line 101 of file FastSiPixelFEDChannelContainerFromQuality.cc.
References cond::persistency::ConnectionPool::configure(), edm::ParameterSet::getParameter(), m_connectionPool, myQualities, and cond::persistency::ConnectionPool::setParameters().
|
overridedefault |
|
overridevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 123 of file FastSiPixelFEDChannelContainerFromQuality.cc.
References cond::TimeTypeSpecs::beginValue, closest_from_above(), closest_from_below(), cond::persistency::Transaction::commit(), createFromSiPixelQuality(), cond::persistency::ConnectionPool::createSession(), HLT_2022v12_cff::distance, cond::TimeTypeSpecs::endValue, Exception, cond::persistency::Session::fetchPayload(), spr::find(), groupFilesInBlocks::fout, m_CablingTagName, m_condDbCabling, m_condDbQuality, m_connectionPool, m_endTime, m_output, m_QualityTagName, m_startTime, cond::time::MAX_VAL(), cond::time::MIN_VAL(), myQualities, jetsAK4_Puppi_cff::payload, printdebug_, cond::persistency::Session::readIov(), removeEmptyPayloads_, cond::runnumber, cond::persistency::IOVProxy::selectRange(), contentValuesCheck::ss, cond::persistency::Transaction::start(), mps_setup::stdout, AlCaHLTBitMon_QueryRunRegistry::string, cond::timeTypeSpecs, cond::impl::to_string(), cond::persistency::Session::transaction(), HcalDetIdTransform::transform(), and SiPixelFEDChannelUtils::unpack().
|
inlineprivate |
Definition at line 90 of file FastSiPixelFEDChannelContainerFromQuality.cc.
References pfDeepBoostedJetPreprocessParams_cfi::lower_bound, and relativeConstraints::value.
Referenced by analyze().
|
inlineprivate |
Definition at line 95 of file FastSiPixelFEDChannelContainerFromQuality.cc.
References pfDeepBoostedJetPreprocessParams_cfi::upper_bound, and relativeConstraints::value.
Referenced by analyze().
SiPixelFEDChannelContainer::SiPixelFEDChannelCollection FastSiPixelFEDChannelContainerFromQuality::createFromSiPixelQuality | ( | const SiPixelQuality & | theQuality, |
const SiPixelFedCablingMap & | theFedCabling, | ||
const SiPixelFedCablingTree & | theCablingTree | ||
) |
Definition at line 294 of file FastSiPixelFEDChannelContainerFromQuality.cc.
References SiPixelFedCablingMap::det2fedMap(), Exception, SiPixelFedCablingTree::fed(), 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().
|
overridevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 406 of file FastSiPixelFEDChannelContainerFromQuality.cc.
References cond::service::PoolDBOutputService::currentTime(), edm::Service< T >::isAvailable(), isMC_, m_record, myQualities, printdebug_, and cond::service::PoolDBOutputService::writeOneIOV().
|
static |
Definition at line 381 of file FastSiPixelFEDChannelContainerFromQuality.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::addUntracked(), submitPVResolutionJobs::desc, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 85 of file FastSiPixelFEDChannelContainerFromQuality.cc.
Referenced by endJob().
|
private |
Definition at line 74 of file FastSiPixelFEDChannelContainerFromQuality.cc.
Referenced by analyze().
|
private |
Definition at line 72 of file FastSiPixelFEDChannelContainerFromQuality.cc.
Referenced by analyze().
|
private |
Definition at line 71 of file FastSiPixelFEDChannelContainerFromQuality.cc.
Referenced by analyze().
|
private |
Definition at line 70 of file FastSiPixelFEDChannelContainerFromQuality.cc.
Referenced by analyze(), and FastSiPixelFEDChannelContainerFromQuality().
|
private |
Definition at line 82 of file FastSiPixelFEDChannelContainerFromQuality.cc.
Referenced by analyze().
|
private |
Definition at line 78 of file FastSiPixelFEDChannelContainerFromQuality.cc.
Referenced by analyze().
|
private |
Definition at line 73 of file FastSiPixelFEDChannelContainerFromQuality.cc.
Referenced by analyze().
|
private |
Definition at line 75 of file FastSiPixelFEDChannelContainerFromQuality.cc.
Referenced by endJob().
|
private |
Definition at line 81 of file FastSiPixelFEDChannelContainerFromQuality.cc.
Referenced by analyze().
|
private |
Definition at line 88 of file FastSiPixelFEDChannelContainerFromQuality.cc.
Referenced by analyze(), endJob(), and FastSiPixelFEDChannelContainerFromQuality().
|
private |
Definition at line 84 of file FastSiPixelFEDChannelContainerFromQuality.cc.
Referenced by analyze(), createFromSiPixelQuality(), and endJob().
|
private |
Definition at line 86 of file FastSiPixelFEDChannelContainerFromQuality.cc.
Referenced by analyze().