1 #ifndef CondCore_PoolDBOutputService_h
2 #define CondCore_PoolDBOutputService_h
66 if( !payload )
throwException(
"Provided payload pointer is invalid.",
"PoolDBOutputService::writeOne");
79 bool withlogging=
false);
87 bool withlogging=
false){
88 if( !firstPayloadObj )
throwException(
"Provided payload pointer is invalid.",
"PoolDBOutputService::createNewIOV");
102 bool withlogging=
false);
109 bool withlogging=
false);
115 bool withlogging=
false){
116 if( !payloadObj )
throwException(
"Provided payload pointer is invalid.",
"PoolDBOutputService::appendSinceTime");
130 bool withlogging=
false);
185 void initDB(
bool forReading=
true );
const TimeTypeSpecs timeTypeSpecs[]
void closeIOV(Time_t lastTill, const std::string &recordName, bool withlogging=false)
void initDB(bool forReading=true)
void fillRecord(edm::ParameterSet &pset)
cond::persistency::Session session() const
void preBeginLumi(const edm::LuminosityBlockID &, const edm::Timestamp &)
std::string tag(const std::string &recordName)
std::string demangledName(const std::type_info &typeInfo)
std::string classNameForTypeId(const std::type_info &typeInfo)
void appendSinceTime(T *payloadObj, cond::Time_t sinceTime, const std::string &recordName, bool withlogging=false)
unsigned long long Time_t
bool isNewTagRequest(const std::string &recordName)
Record & lookUpRecord(const std::string &recordName)
cond::Time_t beginOfTime() const
void writeOne(T *payload, Time_t time, const std::string &recordName, bool withlogging=false)
cond::persistency::Session m_session
cond::TimeType m_timetype
void createNewIOV(T *firstPayloadObj, cond::Time_t firstSinceTime, cond::Time_t firstTillTime, const std::string &recordName, bool withlogging=false)
void setLogHeaderForRecord(const std::string &recordName, const std::string &provenance, const std::string &usertext)
void postModule(const edm::ModuleDescription &desc)
virtual ~PoolDBOutputService()
void throwException(std::string const &message, std::string const &methodName)
cond::Time_t m_currentTime
void preModule(const edm::ModuleDescription &desc)
void tagInfo(const std::string &recordName, cond::TagInfo_t &result)
cond::Time_t endOfTime() const
std::string timetypestr() const
cond::Hash storePayload(const T &payload, const boost::posix_time::ptime &creationTime=boost::posix_time::microsec_clock::universal_time())
cond::Time_t currentTime() const
std::string const & className() const
cond::TimeType m_timetype
std::map< std::string, Record > m_callbacks
volatile std::atomic< bool > shutdown_flag false
void preEventProcessing(const edm::EventID &evtID, const edm::Timestamp &iTime)
std::string m_timetypestr
PoolDBOutputService(const edm::ParameterSet &iConfig, edm::ActivityRegistry &iAR)