|
|
Go to the documentation of this file. 1 #ifndef CommonTools_ConditionDBWriter_ConditionDBWriter_h
2 #define CommonTools_ConditionDBWriter_ConditionDBWriter_h
161 edm::LogInfo(
"ConditionDBWriter::ConditionDBWriter()") << std::endl;
174 "ConditionDBWriter::ConditionDBWriter(): ERROR - unknown IOV interval write mode...will not store anything "
183 edm::LogError(
"ConditionDBWriter::endJob(): ERROR - only SinceAppendMode support!!!!");
212 edm::LogInfo(
"ConditionDBWriter::beginJob") << std::endl;
224 edm::LogInfo(
"ConditionDBWriter::beginRun") << std::endl;
231 edm::LogInfo(
"ConditionDBWriter::beginLuminosityBlock") << std::endl;
246 edm::LogInfo(
"ConditionDBWriter::endLuminosityBlock") << std::endl;
256 "ConditionDBWriter::endLuminosityblock(): ERROR - requested to store on DB on a Lumi Block based interval, "
257 "but received null pointer...will not store anything on the DB")
279 "ConditionDBWriter::endRun(): ERROR - requested to store on DB on a Run based interval, but received null "
280 "pointer...will not store anything on the DB")
300 "ConditionDBWriter::endJob(): ERROR - requested to store on DB on a Job based interval, but received null "
301 "pointer...will not store anything on the DB")
308 edm::LogInfo(
"ConditionDBWriter::storeOnDb ") << std::endl;
313 edm::LogError(
"ConditionDBWriter: Pointer to object has not been set...storing no data on DB");
322 edm::LogError(
"ConditionDBWriter") <<
"PoolDBOutputService is unavailable" << std::endl;
333 edm::LogInfo(
"ConditionDBWriter") <<
"appending a new object to tag " <<
Record_ <<
" in since mode " << std::endl;
346 edm::LogError(
"ConditionDBWriter::setTime(): PoolDBOutputService is not available...cannot set current time")
362 "ConditionDBWriter::storeOnDbNow: ERROR - requested to store on DB a new object (module configuration is "
363 "algo driven based IOV), but received NULL pointer...will not store anything on the DB")
372 "ConditionDBWriter::storeOnDbNow(): ERROR - received a direct request from concrete algorithm to store on DB "
373 "a new object, but module configuration is not to store on DB on an algo driven based interval...will not "
374 "store anything on the DB")
cond::Time_t timeOfLastIOV()
void setDoStore(const bool doStore)
When set to false the payload will not be written to the db.
virtual void algoEndRun(const edm::Run &, const edm::EventSetup &)
virtual void algoAnalyze(const edm::Event &, const edm::EventSetup &)
cond::Time_t beginOfTime() const
virtual void algoBeginJob(const edm::EventSetup &)
unsigned int maxRunRange_
~ConditionDBWriter() override
void analyze(const edm::Event &event, const edm::EventSetup &iSetup) override
T getUntrackedParameter(std::string const &, T const &) const
void endLuminosityBlock(const edm::LuminosityBlock &lumiBlock, const edm::EventSetup &es) override
virtual std::unique_ptr< T > getNewObject()=0
ConditionDBWriter(const edm::ParameterSet &iConfig)
void beginRun(const edm::Run &run, const edm::EventSetup &es) override
unsigned long long Time_t
bool timeFromStartOfRunRange_
void endRun(const edm::Run &run, const edm::EventSetup &es) override
T getParameter(std::string const &) const
void storeOnDb(std::unique_ptr< T > &objPointer)
Hash writeOne(const T *payload, Time_t time, const std::string &recordName)
void beginLuminosityBlock(const edm::LuminosityBlock &lumiBlock, const edm::EventSetup &iSetup) override
virtual void algoEndJob()
bool isNewTagRequest(const std::string &recordName)
virtual void algoEndLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &)
unsigned int minRunRange_
virtual void algoBeginRun(const edm::Run &, const edm::EventSetup &)
cond::Time_t currentTime() const
virtual void algoBeginLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &)