#include <DBReader.h>
Public Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) |
DBReader (const edm::ParameterSet &) | |
void | initialize (const edm::EventSetup &iSetup) |
~DBReader () | |
Public Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzer () | |
ModuleDescription const & | moduleDescription () const |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
Private Member Functions | |
template<typename T > | |
void | printParameters (const T &functionPtr) |
Private Attributes | |
boost::shared_ptr< BackgroundFunction > | background_ |
boost::shared_ptr< MomentumScaleCorrector > | corrector_ |
boost::shared_ptr< ResolutionFunction > | resolution_ |
std::string | type_ |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
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 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) |
Definition at line 24 of file DBReader.h.
|
explicit |
Definition at line 12 of file DBReader.cc.
DBReader::~DBReader | ( | ) |
Definition at line 40 of file DBReader.cc.
void DBReader::analyze | ( | const edm::Event & | e, |
const edm::EventSetup & | iSetup | ||
) |
Definition at line 42 of file DBReader.cc.
References background_, corrector_, DEFINE_FWK_MODULE, initialize(), printParameters(), resolution_, and type_.
void DBReader::initialize | ( | const edm::EventSetup & | iSetup | ) |
Definition at line 16 of file DBReader.cc.
References background_, corrector_, gather_cfg::cout, cmsRelvalreport::exit, edm::EventSetup::get(), MuScleFitDBobject::identifiers, MuScleFitDBobject::parameters, edm::ESHandle< T >::product(), resolution_, and type_.
Referenced by analyze().
|
inlineprivate |
Definition at line 37 of file DBReader.h.
References gather_cfg::cout, and hcalTTPDigis_cfi::id.
Referenced by analyze().
|
private |
Definition at line 63 of file DBReader.h.
Referenced by analyze(), and initialize().
|
private |
Definition at line 61 of file DBReader.h.
Referenced by analyze(), and initialize().
|
private |
Definition at line 62 of file DBReader.h.
Referenced by analyze(), and initialize().
|
private |
Definition at line 59 of file DBReader.h.
Referenced by Modules.Service::__str__(), Modules.Service::_placeImpl(), Modules.ESSource::_placeImpl(), Modules.ESProducer::_placeImpl(), analyze(), Modules.ESPrefer::copy(), Mixins._TypedParameterizable::dumpPython(), Modules.ESPrefer::dumpPythonAs(), Modules.Service::dumpSequencePython(), initialize(), RandomRunSource.RandomRunSource::insertInto(), Modules.Service::insertInto(), Mixins._TypedParameterizable::insertInto(), Modules.ESSource::moduleLabel_(), Modules.ESProducer::moduleLabel_(), Modules.ESSource::nameInProcessDesc_(), Modules.ESProducer::nameInProcessDesc_(), and Modules.ESPrefer::nameInProcessDesc_().