Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:52:23

0001 #ifndef CondTools_RunInfo_RunInfoUpdate_h
0002 #define CondTools_RunInfo_RunInfoUpdate_h
0003 
0004 #include "CondFormats/RunInfo/interface/RunInfo.h"
0005 
0006 namespace cond {
0007   namespace persistency {
0008     class Session;
0009   }
0010 }  // namespace cond
0011 
0012 class RunInfoUpdate {
0013 public:
0014   explicit RunInfoUpdate(cond::persistency::Session& dbSession);
0015 
0016   ~RunInfoUpdate();
0017   void appendNewRun(const RunInfo& run);
0018 
0019   size_t import(size_t maxEntries, const std::string& tag, cond::persistency::Session& sourceSession);
0020 
0021 private:
0022   cond::persistency::Session& m_dbSession;
0023 };
0024 
0025 #endif