1 #ifndef CalibTracker_SiStripESProducer_DummyCondDBWriter_h
2 #define CalibTracker_SiStripESProducer_DummyCondDBWriter_h
18 template <
typename TObject,
typename TObjectO,
typename TRecord>
33 template <
typename TObject,
typename TObjectO,
typename TRecord>
38 edm::LogInfo(
"DummyCondDBWriter") <<
"DummyCondDBWriter constructor for typename " <<
typeid(TObject).
name()
39 <<
" and record " <<
typeid(TRecord).
name() << std::endl;
42 template <
typename TObject,
typename TObjectO,
typename TRecord>
44 edm::LogInfo(
"DummyCondDBWriter") <<
"DummyCondDBWriter::~DummyCondDBWriter()" << std::endl;
47 template <
typename TObject,
typename TObjectO,
typename TRecord>
52 edm::LogInfo(
"DummyCondDBWriter") <<
"not needed to store objects with Record " << rcdName <<
" at run "
53 << run.
run() << std::endl;
64 if (openIovAt ==
"beginOfTime")
66 else if (openIovAt ==
"currentTime")
73 edm::LogError(
"SiStripFedCablingBuilder") <<
"Service is unavailable" << std::endl;
void beginRun(const edm::Run &run, const edm::EventSetup &es) override
T getUntrackedParameter(std::string const &, T const &) const
edm::ESWatcher< TRecord > watcher_
DummyCondDBWriter(const edm::ParameterSet &iConfig)
Log< level::Error, false > LogError
bool getData(T &iHolder) const
unsigned long long Time_t
cond::Time_t beginOfTime() const
Hash writeOneIOV(const T &payload, Time_t time, const std::string &recordName)
Log< level::Info, false > LogInfo
edm::ESGetToken< TObject, TRecord > token_
edm::ParameterSet iConfig_
T getParameter(std::string const &) const
bool check(const edm::EventSetup &iSetup)
cond::Time_t currentTime() const
void endRun(const edm::Run &run, const edm::EventSetup &es) override
~DummyCondDBWriter() override
void analyze(const edm::Event &e, const edm::EventSetup &es) override