12 : m_timetype(iConfig.getParameter<
std::
string>(
"timetype")),
23 typedef std::vector<edm::ParameterSet>
Parameters;
25 for (
const auto& iparam : toCopy) {
26 container = iparam.getParameter<
std::string>(
"container");
44 unsigned long long cacheID = 0;
45 if (container ==
"ESPedestals") {
47 }
else if (container ==
"ESADCToGeVConstant") {
49 }
else if (container ==
"ESIntercalibConstants") {
51 }
else if (container ==
"ESWeightStripGroups") {
53 }
else if (container ==
"ESTBWeights") {
55 }
else if (container ==
"ESChannelStatus") {
77 if (container ==
"ESPedestals") {
82 }
else if (container ==
"ESADCToGeVConstant") {
87 }
else if (container ==
"ESChannelStatus") {
92 }
else if (container ==
"ESIntercalibConstants") {
97 }
else if (container ==
"ESWeightStripGroups") {
102 }
else if (container ==
"ESTBWeights") {
T getParameter(std::string const &) const
std::map< std::string, unsigned long long > m_cacheIDs
const edm::ESGetToken< ESPedestals, ESPedestalsRcd > esPedestalsToken_
const edm::ESGetToken< ESWeightStripGroups, ESWeightStripGroupsRcd > esWeightStripGroupsToken_
cond::Time_t beginOfTime() const
const edm::ESGetToken< ESIntercalibConstants, ESIntercalibConstantsRcd > esIntercalibConstantsToken_
void createOneIOV(const T &payload, cond::Time_t firstSinceTime, const std::string &recordName)
bool shouldCopy(const edm::EventSetup &evtSetup, const std::string &container)
void copyToDB(const edm::EventSetup &evtSetup, const std::string &container)
const edm::ESGetToken< ESChannelStatus, ESChannelStatusRcd > esChannelStatusToken_
vector< ParameterSet > Parameters
bool getData(T &iHolder) const
Log< level::Info, false > LogInfo
std::map< std::string, std::string > m_records
void analyze(const edm::Event &evt, const edm::EventSetup &evtSetup) override
const edm::ESGetToken< ESADCToGeVConstant, ESADCToGeVConstantRcd > esADCToGeVConstantToken_
const edm::ESGetToken< ESTBWeights, ESTBWeightsRcd > esTBWeightsToken_
ESDBCopy(const edm::ParameterSet &iConfig)