Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:50:47

0001 #ifndef Utilities_CondDBTools_h
0002 #define Utilities_CondDBTools_h
0003 
0004 #include "CondCore/CondDB/interface/Time.h"
0005 //
0006 #include <string>
0007 
0008 namespace cond {
0009 
0010   namespace persistency {
0011 
0012     class Session;
0013 
0014     size_t importIovs(const std::string& sourceTag,
0015                       Session& sourceSession,
0016                       const std::string& destTag,
0017                       Session& destSession,
0018                       cond::Time_t begin,
0019                       cond::Time_t end,
0020                       const std::string& description,
0021                       const std::string& editingNote,
0022                       bool override,
0023                       bool serialize,
0024                       bool forceInsert);
0025 
0026     bool copyIov(Session& session,
0027                  const std::string& sourceTag,
0028                  const std::string& destTag,
0029                  cond::Time_t souceSince,
0030                  cond::Time_t destSince,
0031                  const std::string& description);
0032 
0033   }  // namespace persistency
0034 
0035 }  // namespace cond
0036 
0037 #endif