test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 }
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 }
28 
29 BOOST_PYTHON_MODULE(pluginCondDBV2PyInterface) {
30 
31  def("CMSSWInit",&CMSSWInit);
32 
33  def("makeIov",&cond::makeIov);
34 
35  class_<cond::Iov_t>("Iov", init<>())
36  .def_readwrite("since", &cond::Iov_t::since )
37  .def_readwrite("payloadId", &cond::Iov_t::payloadId )
38  ;
39 
40 }
tuple ret
prodAgent to be discontinued
static PluginManager & configure(const Config &)
Time_t since
Definition: Types.h:54
unsigned long long Time_t
Definition: Time.h:16
PluginManager::Config config()
Definition: standard.cc:21
Hash payloadId
Definition: Types.h:56
std::string Hash
Definition: Types.h:45
BOOST_PYTHON_MODULE(pluginBeamSpot_PayloadInspector)
Iov_t makeIov(cond::Time_t since, const Hash &payloadId)
JetCorrectorParameters::Definitions def
Definition: classes.h:6