#include <HBHEDarkeningEP.h>
Classes | |
struct | Dosemap |
Public Types | |
typedef std::unique_ptr< HBHEDarkening > | ReturnType |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::eventsetup::ESProductResolverProvider | |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Member Functions | |
void | setIntervalFor (const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override |
Protected Member Functions inherited from edm::ESProducer | |
ESConsumesInfo * | consumesInfoPushBackNew () |
unsigned int | consumesInfoSize () const |
template<typename CallbackT , typename TList , typename TRecord > | |
void | registerProducts (std::shared_ptr< std::pair< unsigned int, std::shared_ptr< CallbackT >>> iCallback, const TList *, const TRecord *iRecord, const es::Label &iLabel) |
template<typename CallbackT , typename TRecord > | |
void | registerProducts (std::shared_ptr< std::pair< unsigned int, std::shared_ptr< CallbackT >>>, const eventsetup::produce::Null *, const TRecord *, const es::Label &) |
template<typename T > | |
auto | setWhatProduced (T *iThis, const es::Label &iLabel={}) |
template<typename T > | |
auto | setWhatProduced (T *iThis, const char *iLabel) |
template<typename T > | |
auto | setWhatProduced (T *iThis, const std::string &iLabel) |
template<typename T , typename TDecorator > | |
auto | setWhatProduced (T *iThis, const TDecorator &iDec, const es::Label &iLabel={}) |
template<typename T , typename TReturn , typename TRecord > | |
auto | setWhatProduced (T *iThis, TReturn(T::*iMethod)(const TRecord &), const es::Label &iLabel={}) |
template<typename T , typename TReturn , typename TRecord , typename TDecorator > | |
auto | setWhatProduced (T *iThis, TReturn(T ::*iMethod)(const TRecord &), const TDecorator &iDec, const es::Label &iLabel={}) |
template<typename TFunc > | |
auto | setWhatProduced (TFunc &&func, const es::Label &iLabel={}) |
template<typename TReturn , typename TRecord , typename TFunc , typename TDecorator > | |
ESConsumesCollectorT< TRecord > | setWhatProduced (TFunc &&func, TDecorator &&iDec, const es::Label &iLabel={}) |
void | usesResources (std::vector< std::string > const &) |
Protected Member Functions inherited from edm::ESProductResolverFactoryProducer | |
template<class TFactory > | |
void | registerFactory (std::unique_ptr< TFactory > iFactory, const std::string &iLabel=std::string()) |
virtual void | registerFactoryWithKey (const EventSetupRecordKey &iRecord, std::unique_ptr< eventsetup::ESProductResolverFactoryBase > iFactory, const std::string &iLabel=std::string()) |
KeyedResolversVector | registerResolvers (const EventSetupRecordKey &, unsigned int iovIndex) override |
Protected Member Functions inherited from edm::eventsetup::ESProductResolverProvider | |
template<class T > | |
void | usingRecord () |
void | usingRecordWithKey (const EventSetupRecordKey &key) |
Protected Member Functions inherited from edm::EventSetupRecordIntervalFinder | |
template<class T > | |
void | findingRecord () |
void | findingRecordWithKey (const eventsetup::EventSetupRecordKey &) |
Private Attributes | |
std::vector< Dosemap > | dosemaps_ |
const double | drdA_ |
const double | drdB_ |
const int | ieta_shift_ |
std::vector< HBHEDarkening::LumiYear > | years_ |
Additional Inherited Members | |
Protected Types inherited from edm::ESProductResolverFactoryProducer | |
using | EventSetupRecordKey = eventsetup::EventSetupRecordKey |
Protected Types inherited from edm::eventsetup::ESProductResolverProvider | |
using | KeyedResolversVector = std::vector< std::pair< DataKey, std::shared_ptr< ESProductResolver > >> |
Definition at line 18 of file HBHEDarkeningEP.h.
typedef std::unique_ptr<HBHEDarkening> HBHEDarkeningEP::ReturnType |
Definition at line 23 of file HBHEDarkeningEP.h.
HBHEDarkeningEP::HBHEDarkeningEP | ( | const edm::ParameterSet & | pset | ) |
Definition at line 11 of file HBHEDarkeningEP.cc.
References dosemaps_, muonDTDigis_cfi::pset, edm::ESProducer::setWhatProduced(), AlCaHLTBitMon_QueryRunRegistry::string, and years_.
|
override |
Definition at line 35 of file HBHEDarkeningEP.cc.
|
static |
Definition at line 43 of file HBHEDarkeningEP.cc.
References edm::ParameterSetDescription::add(), edm::ConfigurationDescriptions::addDefault(), submitPVResolutionJobs::desc, and AlCaHLTBitMon_QueryRunRegistry::string.
HBHEDarkeningEP::ReturnType HBHEDarkeningEP::produce | ( | const HBHEDarkeningRecord & | iRecord | ) |
Definition at line 65 of file HBHEDarkeningEP.cc.
References HBHEDarkening_cff::dosemaps, dosemaps_, drdA_, drdB_, ieta_shift_, eostools::move(), HBHEDarkening::readDoseMap(), and years_.
|
overrideprotectedvirtual |
Implements edm::EventSetupRecordIntervalFinder.
Definition at line 37 of file HBHEDarkeningEP.cc.
References edm::IOVSyncValue::beginOfTime(), and edm::IOVSyncValue::endOfTime().
|
private |
Definition at line 39 of file HBHEDarkeningEP.h.
Referenced by HBHEDarkeningEP(), and produce().
|
private |
Definition at line 41 of file HBHEDarkeningEP.h.
Referenced by produce().
|
private |
Definition at line 42 of file HBHEDarkeningEP.h.
Referenced by produce().
|
private |
Definition at line 43 of file HBHEDarkeningEP.h.
Referenced by produce().
|
private |
Definition at line 40 of file HBHEDarkeningEP.h.
Referenced by HBHEDarkeningEP(), and produce().