1 #ifndef CondTools_L1Trigger_DataWriter_h
2 #define CondTools_L1Trigger_DataWriter_h
50 const std::string& recordType ) ;
56 bool updateIOV(
const std::string& esRecordName,
59 bool logTransactions =
false ) ;
64 bool logTransactions =
false ) ;
68 void readObject(
const std::string& payloadToken,
std::string lastPayloadToken(const std::string &recordName)
std::string payloadToken(const std::string &recordName, edm::RunNumber_t runNumber)
cond::DbSession session() const
std::string writePayload(const edm::EventSetup &setup, const std::string &recordType)
void writeKeyList(L1TriggerKeyList *keyList, edm::RunNumber_t sinceRun=0, bool logTransactions=false)
int start(bool readOnly=false)
start transaction
bool fillLastTriggerKeyList(L1TriggerKeyList &output)
void readObject(const std::string &payloadToken, T &outputObject)
boost::shared_ptr< T > getTypedObject(const std::string &objectId)
bool updateIOV(const std::string &esRecordName, const std::string &payloadToken, edm::RunNumber_t sinceRun, bool logTransactions=false)
int commit()
commit transaction. Will disconnect from database if connection timeout==0 or connectted time close t...
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")