21 #include <unordered_map>
58 desc.
setComment(
"Stores a dummy TrackerDetToDTCELinkCablingMap database object from a CSV file.");
59 desc.
add<
long long unsigned int>(
"iovBeginTime", 1);
61 descriptions.
add(
"DTCCablingMapTestProducer", desc);
65 : iovBeginTime_(iConfig.getParameter<long long unsigned int>(
"iovBeginTime")),
67 recordName_(iConfig.getParameter<std::
string>(
"record")) {}
80 if (poolDbService.isAvailable())
83 throw std::runtime_error(
"PoolDBService required.");
#define DEFINE_FWK_MODULE(type)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
DTCCablingMapTestProducer(const edm::ParameterSet &)
void setComment(std::string const &value)
unsigned long long Time_t
Hash writeOneIOV(const T &payload, Time_t time, const std::string &recordName)
ParameterDescriptionBase * add(U const &iLabel, T const &value)
~DTCCablingMapTestProducer() override
cond::Time_t iovBeginTime_
void analyze(const edm::Event &, const edm::EventSetup &) override
void add(std::string const &label, ParameterSetDescription const &psetDescription)
std::unique_ptr< TrackerDetToDTCELinkCablingMap > pCablingMap_