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