1 #ifndef CondTools_L1Trigger_DataWriter_h
2 #define CondTools_L1Trigger_DataWriter_h
57 bool logTransactions =
false);
84 throw cond::Exception(
"DataWriter: PoolDBOutputService not available.");
persistency::Exception Exception
void readObject(const std::string &payloadToken, T &outputObject)
bool fillLastTriggerKeyList(L1TriggerKeyListExt &output)
void start(bool readOnly=true)
cond::persistency::Session session() const
std::string lastPayloadToken(const std::string &recordName)
std::unique_ptr< T > fetchPayload(const cond::Hash &payloadHash)
void writeKeyList(L1TriggerKeyListExt *keyList, edm::RunNumber_t sinceRun=0, bool logTransactions=false)
Transaction & transaction()
bool updateIOV(const std::string &esRecordName, const std::string &payloadToken, edm::RunNumber_t sinceRun, bool logTransactions=false)
std::string payloadToken(const std::string &recordName, edm::RunNumber_t runNumber)
std::unique_ptr< WriterProxy > WriterProxyPtr
std::string writePayload(const edm::EventSetup &setup)
WriterProxy * getWriter()