Macros

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
#ifndef Utilities_CondDBTools_h
#define Utilities_CondDBTools_h

#include "CondCore/CondDB/interface/Time.h"
//
#include <string>

namespace cond {

  namespace persistency {

    class Session;

    size_t importIovs(const std::string& sourceTag,
                      Session& sourceSession,
                      const std::string& destTag,
                      Session& destSession,
                      cond::Time_t begin,
                      cond::Time_t end,
                      const std::string& description,
                      const std::string& editingNote,
                      bool override,
                      bool serialize,
                      bool forceInsert);

    bool copyIov(Session& session,
                 const std::string& sourceTag,
                 const std::string& destTag,
                 cond::Time_t souceSince,
                 cond::Time_t destSince,
                 const std::string& description);

  }  // namespace persistency

}  // namespace cond

#endif