1 #ifndef CondTools_L1Trigger_DataWriter_h
2 #define CondTools_L1Trigger_DataWriter_h
56 bool logTransactions =
false ) ;
61 bool logTransactions =
false ) ;
persistency::Exception Exception
void start(bool readOnly=true)
cond::persistency::Session session() const
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)
std::shared_ptr< T > fetchPayload(const cond::Hash &payloadHash)