CMS 3D CMS Logo

CondDBPyWrappers.cc
Go to the documentation of this file.
4 
5 #include <boost/python.hpp>
6 
7 using namespace boost::python;
8 
9 namespace {
10 
11  void CMSSWInit() {
14  }
15 
16 } // namespace
17 
18 namespace cond {
19 
20  Iov_t makeIov(cond::Time_t since, const Hash& payloadId) {
21  Iov_t ret;
22  ret.since = since;
23  ret.payloadId = payloadId;
24  return ret;
25  }
26 
27 } // namespace cond
28 
29 BOOST_PYTHON_MODULE(pluginCondDBV2PyInterface) {
30  def("CMSSWInit", &CMSSWInit);
31 
32  def("makeIov", &cond::makeIov);
33 
34  class_<cond::Iov_t>("Iov", init<>())
35  .def_readwrite("since", &cond::Iov_t::since)
36  .def_readwrite("payloadId", &cond::Iov_t::payloadId);
37 }
runTheMatrix.ret
ret
prodAgent to be discontinued
Definition: runTheMatrix.py:355
cond::Hash
std::string Hash
Definition: Types.h:43
edmplugin::PluginManager::Config
Definition: PluginManager.h:53
writeEcalDQMStatus.since
since
Definition: writeEcalDQMStatus.py:53
cond::makeIov
Iov_t makeIov(cond::Time_t since, const Hash &payloadId)
Definition: CondDBPyWrappers.cc:20
looper.config
config
Definition: looper.py:291
standard.h
cond
Definition: plugin.cc:23
cond::Iov_t::payloadId
Hash payloadId
Definition: Types.h:55
edmplugin::PluginManager::configure
static PluginManager & configure(const Config &)
Definition: PluginManager.cc:316
cond::Iov_t::since
Time_t since
Definition: Types.h:53
cond::Time_t
unsigned long long Time_t
Definition: Time.h:14
edmplugin::standard::config
PluginManager::Config config()
Definition: standard.cc:21
PluginManager.h
BOOST_PYTHON_MODULE
BOOST_PYTHON_MODULE(pluginCondDBV2PyInterface)
Definition: CondDBPyWrappers.cc:29
cond::Iov_t
Definition: Types.h:47
spu::def
int def(FILE *, FILE *, int)
Definition: SherpackUtilities.cc:14
Types.h