#include <ESDBCopy.h>
Private Member Functions | |
void | copyToDB (const edm::EventSetup &evtSetup, const std::string &container) |
bool | shouldCopy (const edm::EventSetup &evtSetup, const std::string &container) |
Private Attributes | |
const edm::ESGetToken < ESADCToGeVConstant, ESADCToGeVConstantRcd > | esADCToGeVConstantToken_ |
const edm::ESGetToken < ESChannelStatus, ESChannelStatusRcd > | esChannelStatusToken_ |
const edm::ESGetToken < ESIntercalibConstants, ESIntercalibConstantsRcd > | esIntercalibConstantsToken_ |
const edm::ESGetToken < ESPedestals, ESPedestalsRcd > | esPedestalsToken_ |
const edm::ESGetToken < ESTBWeights, ESTBWeightsRcd > | esTBWeightsToken_ |
const edm::ESGetToken < ESWeightStripGroups, ESWeightStripGroupsRcd > | esWeightStripGroupsToken_ |
std::map< std::string, unsigned long long > | m_cacheIDs |
std::map< std::string, std::string > | m_records |
std::string | m_timetype |
Additional Inherited Members | |
Public Types inherited from edm::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::one::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
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 () noexcept |
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... | |
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) |
Definition at line 31 of file ESDBCopy.h.
|
explicit |
Definition at line 11 of file ESDBCopy.cc.
References edm::ParameterSet::getParameter(), m_cacheIDs, m_records, GlobalPosition_Frontier_DevDB_cff::record, AlCaHLTBitMon_QueryRunRegistry::string, and copyEcalPFRecHitThresholds_cfg::toCopy.
|
override |
Definition at line 33 of file ESDBCopy.cc.
|
overridevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 35 of file ESDBCopy.cc.
References copyToDB(), m_records, and shouldCopy().
|
private |
Definition at line 69 of file ESDBCopy.cc.
References cond::service::PoolDBOutputService::beginOfTime(), cond::service::PoolDBOutputService::createOneIOV(), esADCToGeVConstantToken_, esChannelStatusToken_, esIntercalibConstantsToken_, esPedestalsToken_, esTBWeightsToken_, esWeightStripGroupsToken_, Exception, edm::EventSetup::getData(), edm::Service< T >::isAvailable(), m_records, getGTfromDQMFile::obj, align_cfg::recordName, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by analyze().
|
private |
Definition at line 43 of file ESDBCopy.cc.
References Exception, edm::EventSetup::get(), and m_cacheIDs.
Referenced by analyze().
|
private |
Definition at line 47 of file ESDBCopy.h.
Referenced by copyToDB().
|
private |
Definition at line 48 of file ESDBCopy.h.
Referenced by copyToDB().
|
private |
Definition at line 49 of file ESDBCopy.h.
Referenced by copyToDB().
|
private |
Definition at line 46 of file ESDBCopy.h.
Referenced by copyToDB().
|
private |
Definition at line 51 of file ESDBCopy.h.
Referenced by copyToDB().
|
private |
Definition at line 50 of file ESDBCopy.h.
Referenced by copyToDB().
|
private |
Definition at line 43 of file ESDBCopy.h.
Referenced by ESDBCopy(), and shouldCopy().
|
private |
Definition at line 44 of file ESDBCopy.h.
Referenced by analyze(), copyToDB(), and ESDBCopy().
|
private |
Definition at line 42 of file ESDBCopy.h.