CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
condPython Namespace Reference

Functions

template<typename T >
void defineWhat ()
 
template<>
void defineWhat< cond::ecalcond::Container > ()
 
template<>
void defineWhat< EcalDAQTowerStatus > ()
 
template<>
void defineWhat< EcalDCSTowerStatus > ()
 
template<>
void defineWhat< EcalDQMChannelStatus > ()
 
template<>
void defineWhat< EcalDQMTowerStatus > ()
 
template<>
void defineWhat< EcalPedestals > ()
 
template<>
void defineWhat< EcalPulseShapes > ()
 
template<>
void defineWhat< EcalPulseSymmCovariances > ()
 
template<>
void defineWhat< Pedestals > ()
 
template<>
void defineWhat< RPCObGas > ()
 
template<>
void defineWhat< RPCObImon > ()
 
template<>
void defineWhat< RPCObTemp > ()
 
template<>
void defineWhat< RPCObVmon > ()
 
template<>
void defineWhat< SiStripSummary > ()
 

Function Documentation

template<typename T >
void condPython::defineWhat ( )

Definition at line 8 of file InspectorPythonWrapper.h.

8  {
9  using namespace boost::python;
10  typedef cond::ExtractWhat<T> What;
11  class_<What>("What",init<>());
12  }

Definition at line 476 of file EcalChannelStatusPyWrapper.cc.

References cond::ecalcond::all, cond::ecalcond::barrel, cond::ecalcond::bySuperModule, cond::ecalcond::endcap, cond::ecalcond::singleChannel, relativeConstraints::value, and eostools::which().

476  {
477  using namespace boost::python;
478  enum_<cond::ecalcond::How>("How")
479  .value("singleChannel",cond::ecalcond::singleChannel)
480  .value("bySuperModule",cond::ecalcond::bySuperModule)
481  .value("barrel",cond::ecalcond::barrel)
482  .value("endcap",cond::ecalcond::endcap)
483  .value("all",cond::ecalcond::all)
484  ;
485 
487  class_<What>("What",init<>())
488  .def("set_how",&What::set_how)
489  .def("set_which",&What::set_which)
490  .def("how",&What::how, return_value_policy<copy_const_reference>())
491  .def("which",&What::which, return_value_policy<copy_const_reference>())
492  ;
493  }
def which
Definition: eostools.py:335

Definition at line 272 of file EcalDAQTowerStatusPyWrapper.cc.

References cond::ecalcond::all, cond::ecalcond::bySuperModule, cond::ecalcond::singleChannel, relativeConstraints::value, and eostools::which().

272  {
273  using namespace boost::python;
274  enum_<cond::ecalcond::How>("How")
275  .value("singleChannel",cond::ecalcond::singleChannel)
276  .value("bySuperModule",cond::ecalcond::bySuperModule)
277  .value("all",cond::ecalcond::all)
278  ;
279 
281  class_<What>("What",init<>())
282  .def("set_how",&What::set_how)
283  .def("set_which",&What::set_which)
284  .def("how",&What::how, return_value_policy<copy_const_reference>())
285  .def("which",&What::which, return_value_policy<copy_const_reference>())
286  ;
287  }
def which
Definition: eostools.py:335

Definition at line 315 of file EcalDCSTowerStatusPyWrapper.cc.

References cond::ecalcond::all, cond::ecalcond::bySuperModule, cond::ecalcond::singleChannel, relativeConstraints::value, and eostools::which().

315  {
316  using namespace boost::python;
317  enum_<cond::ecalcond::How>("How")
318  .value("singleChannel",cond::ecalcond::singleChannel)
319  .value("bySuperModule",cond::ecalcond::bySuperModule)
320  .value("all",cond::ecalcond::all)
321  ;
322 
324  class_<What>("What",init<>())
325  .def("set_how",&What::set_how)
326  .def("set_which",&What::set_which)
327  .def("how",&What::how, return_value_policy<copy_const_reference>())
328  .def("which",&What::which, return_value_policy<copy_const_reference>())
329  ;
330  }
def which
Definition: eostools.py:335

Definition at line 363 of file EcalDQMChannelStatusPyWrapper.cc.

References cond::ecalcond::all, cond::ecalcond::bySuperModule, cond::ecalcond::singleChannel, relativeConstraints::value, and eostools::which().

363  {
364  enum_<cond::ecalcond::How>("How")
365  .value("singleChannel",cond::ecalcond::singleChannel)
366  .value("bySuperModule",cond::ecalcond::bySuperModule)
367  .value("all",cond::ecalcond::all)
368  ;
369 
371  class_<What>("What",init<>())
372  .def("set_how",&What::set_how)
373  .def("set_which",&What::set_which)
374  .def("how",&What::how, return_value_policy<copy_const_reference>())
375  .def("which",&What::which, return_value_policy<copy_const_reference>())
376  ;
377  }
def which
Definition: eostools.py:335

Definition at line 319 of file EcalDQMTowerStatusPyWrapper.cc.

References cond::ecalcond::all, cond::ecalcond::bySuperModule, cond::ecalcond::singleChannel, relativeConstraints::value, and eostools::which().

319  {
320  enum_<cond::ecalcond::How>("How")
321  .value("singleChannel",cond::ecalcond::singleChannel)
322  .value("bySuperModule",cond::ecalcond::bySuperModule)
323  .value("all",cond::ecalcond::all)
324  ;
325 
327  class_<What>("What",init<>())
328  .def("set_how",&What::set_how)
329  .def("set_which",&What::set_which)
330  .def("how",&What::how, return_value_policy<copy_const_reference>())
331  .def("which",&What::which, return_value_policy<copy_const_reference>())
332  ;
333  }
def which
Definition: eostools.py:335
template<>
void condPython::defineWhat< EcalPedestals > ( )

Definition at line 386 of file EcalPedestalsPyWrapper.cc.

References cond::ecalped::all, cond::ecalped::bySuperModule, cond::ecalped::mean_x12, cond::ecalped::mean_x3, cond::ecalped::mean_x6, cond::ecalped::singleChannel, relativeConstraints::value, and eostools::which().

386  {
387  using namespace boost::python;
388  enum_<cond::ecalped::Quantity>("Quantity")
389  .value("mean_x12",cond::ecalped::mean_x12)
390  .value("mean_x6", cond::ecalped::mean_x6)
391  .value("mean_x3", cond::ecalped::mean_x3)
392  ;
393  enum_<cond::ecalped::How>("How")
394  .value("singleChannel",cond::ecalped::singleChannel)
395  .value("bySuperModule",cond::ecalped::bySuperModule)
396  .value("all",cond::ecalped::all)
397  ;
398 
400  class_<What>("What",init<>())
401  .def("set_quantity",&What::set_quantity)
402  .def("set_how",&What::set_how)
403  .def("set_which",&What::set_which)
404  .def("quantity",&What::quantity, return_value_policy<copy_const_reference>())
405  .def("how",&What::how, return_value_policy<copy_const_reference>())
406  .def("which",&What::which, return_value_policy<copy_const_reference>())
407  ;
408  }
def which
Definition: eostools.py:335
template<>
void condPython::defineWhat< EcalPulseShapes > ( )

Definition at line 318 of file EcalPulseShapesPyWrapper.cc.

References cond::ecalpulseshape::all, cond::ecalpulseshape::bySuperModule, cond::ecalpulseshape::sample_0, cond::ecalpulseshape::sample_1, cond::ecalpulseshape::sample_2, cond::ecalpulseshape::sample_3, cond::ecalpulseshape::sample_4, cond::ecalpulseshape::sample_5, cond::ecalpulseshape::sample_6, cond::ecalpulseshape::sample_7, cond::ecalpulseshape::sample_8, cond::ecalpulseshape::sample_9, cond::ecalpulseshape::singleChannel, relativeConstraints::value, and eostools::which().

318  {
319  using namespace boost::python;
320  enum_<cond::ecalpulseshape::Quantity>("Quantity")
322  .value("sample_1",cond::ecalpulseshape::sample_1)
323  .value("sample_2",cond::ecalpulseshape::sample_2)
324  .value("sample_3",cond::ecalpulseshape::sample_3)
325  .value("sample_4",cond::ecalpulseshape::sample_4)
326  .value("sample_5",cond::ecalpulseshape::sample_5)
327  .value("sample_6",cond::ecalpulseshape::sample_6)
328  .value("sample_7",cond::ecalpulseshape::sample_7)
329  .value("sample_8",cond::ecalpulseshape::sample_8)
330  .value("sample_9",cond::ecalpulseshape::sample_9)
331  ;
332  enum_<cond::ecalpulseshape::How>("How")
334  .value("bySuperModule",cond::ecalpulseshape::bySuperModule)
335  .value("all",cond::ecalpulseshape::all)
336  ;
337 
339  class_<What>("What",init<>())
340  .def("set_quantity",&What::set_quantity)
341  .def("set_how",&What::set_how)
342  .def("set_which",&What::set_which)
343  .def("quantity",&What::quantity, return_value_policy<copy_const_reference>())
344  .def("how",&What::how, return_value_policy<copy_const_reference>())
345  .def("which",&What::which, return_value_policy<copy_const_reference>())
346  ;
347  }
def which
Definition: eostools.py:335

Definition at line 325 of file EcalPulseSymmCovariancesPyWrapper.cc.

References cond::ecalpulsecovariance::all, cond::ecalpulsecovariance::bySuperModule, cond::ecalpulsecovariance::sample_0, cond::ecalpulsecovariance::sample_1, cond::ecalpulsecovariance::sample_2, cond::ecalpulsecovariance::sample_3, cond::ecalpulsecovariance::sample_4, cond::ecalpulsecovariance::sample_5, cond::ecalpulsecovariance::sample_6, cond::ecalpulsecovariance::sample_7, cond::ecalpulsecovariance::sample_8, cond::ecalpulsecovariance::sample_9, cond::ecalpulsecovariance::singleChannel, relativeConstraints::value, and eostools::which().

325  {
326  using namespace boost::python;
327  enum_<cond::ecalpulsecovariance::Quantity>("Quantity")
329  .value("sample_1",cond::ecalpulsecovariance::sample_1)
330  .value("sample_2",cond::ecalpulsecovariance::sample_2)
331  .value("sample_3",cond::ecalpulsecovariance::sample_3)
332  .value("sample_4",cond::ecalpulsecovariance::sample_4)
333  .value("sample_5",cond::ecalpulsecovariance::sample_5)
334  .value("sample_6",cond::ecalpulsecovariance::sample_6)
335  .value("sample_7",cond::ecalpulsecovariance::sample_7)
336  .value("sample_8",cond::ecalpulsecovariance::sample_8)
337  .value("sample_9",cond::ecalpulsecovariance::sample_9)
338  ;
339  enum_<cond::ecalpulsecovariance::How>("How")
341  .value("bySuperModule",cond::ecalpulsecovariance::bySuperModule)
342  .value("all",cond::ecalpulsecovariance::all)
343  ;
344 
346  class_<What>("What",init<>())
347  .def("set_quantity",&What::set_quantity)
348  .def("set_how",&What::set_how)
349  .def("set_which",&What::set_which)
350  .def("quantity",&What::quantity, return_value_policy<copy_const_reference>())
351  .def("how",&What::how, return_value_policy<copy_const_reference>())
352  .def("which",&What::which, return_value_policy<copy_const_reference>())
353  ;
354  }
def which
Definition: eostools.py:335
template<>
void condPython::defineWhat< Pedestals > ( )

Definition at line 112 of file PedestalPyWrapper.cc.

References eostools::which().

112  {
113  using namespace boost::python;
114  typedef cond::ExtractWhat<Pedestals> What;
115  class_<What>("What",init<>())
116  .def("set_which",&What::set_which)
117  .def("which",&What::which, return_value_policy<copy_const_reference>())
118  .def("set_quantity",&What::set_quantity)
119  .def("quantity",&What::quantity, return_value_policy<copy_const_reference>())
120  .def("descr_quantity",&What::descr_quantity, return_value_policy<copy_const_reference>())
121  ;
122 
123  }
def which
Definition: eostools.py:335
template<>
void condPython::defineWhat< RPCObGas > ( )

Definition at line 557 of file RPCObGasPyWrapper.cc.

References cond::rpcobgas::day, cond::rpcobgas::detid, cond::rpcobgas::flowin, cond::rpcobgas::flowout, cond::rpcobgas::time, relativeConstraints::value, and eostools::which().

557  {
558  using namespace boost::python;
559  enum_<cond::rpcobgas::How>("How")
560  .value("detid",cond::rpcobgas::detid)
561  .value("flowin",cond::rpcobgas::flowin)
562  .value("flowout",cond::rpcobgas::flowout)
563  .value("day",cond::rpcobgas::day)
564  .value("time",cond::rpcobgas::time)
565  ;
566 
567  typedef cond::ExtractWhat<RPCObGas> What;
568  class_<What>("What",init<>())
569  .def("set_how",&What::set_how)
570  .def("set_which",&What::set_which)
571  .def("how",&What::how, return_value_policy<copy_const_reference>())
572  .def("which",&What::which, return_value_policy<copy_const_reference>())
573  .def("set_starttime",&What::set_starttime)
574  .def("set_endtime",&What::set_endtime)
575  .def("startTime",&What::startTime, return_value_policy<copy_const_reference>())
576  .def("endTime",&What::endTime, return_value_policy<copy_const_reference>())
577  ;
578  }
def which
Definition: eostools.py:335
template<>
void condPython::defineWhat< RPCObImon > ( )

Definition at line 553 of file RPCObImonPyWrapper.cc.

References cond::rpcobimon::current, cond::rpcobimon::day, cond::rpcobimon::detid, cond::rpcobimon::time, relativeConstraints::value, and eostools::which().

553  {
554  using namespace boost::python;
555  enum_<cond::rpcobimon::How>("How")
556  .value("detid",cond::rpcobimon::detid)
557  .value("day",cond::rpcobimon::day)
558  .value("time",cond::rpcobimon::time)
559  .value("current",cond::rpcobimon::current)
560  ;
561 
562  typedef cond::ExtractWhat<RPCObImon> What;
563  class_<What>("What",init<>())
564  .def("set_how",&What::set_how)
565  .def("set_which",&What::set_which)
566  .def("how",&What::how, return_value_policy<copy_const_reference>())
567  .def("which",&What::which, return_value_policy<copy_const_reference>())
568  .def("set_starttime",&What::set_starttime)
569  .def("set_endtime",&What::set_endtime)
570  .def("startTime",&What::startTime, return_value_policy<copy_const_reference>())
571  .def("endTime",&What::endTime, return_value_policy<copy_const_reference>())
572  ;
573  }
def which
Definition: eostools.py:335
template<>
void condPython::defineWhat< RPCObTemp > ( )

Definition at line 535 of file RPCObTempPyWrapper.cc.

References cond::rpcobtemp::day, cond::rpcobtemp::detid, cond::rpcobtemp::temp, cond::rpcobtemp::time, relativeConstraints::value, and eostools::which().

535  {
536  using namespace boost::python;
537  enum_<cond::rpcobtemp::How>("How")
538  .value("detid",cond::rpcobtemp::detid)
539  .value("day",cond::rpcobtemp::day)
540  .value("time",cond::rpcobtemp::time)
541  .value("temp",cond::rpcobtemp::temp)
542  ;
543 
544  typedef cond::ExtractWhat<RPCObTemp> What;
545  class_<What>("What",init<>())
546  .def("set_how",&What::set_how)
547  .def("set_which",&What::set_which)
548  .def("how",&What::how, return_value_policy<copy_const_reference>())
549  .def("which",&What::which, return_value_policy<copy_const_reference>())
550  .def("set_starttime",&What::set_starttime)
551  .def("set_endtime",&What::set_endtime)
552  .def("startTime",&What::startTime, return_value_policy<copy_const_reference>())
553  .def("endTime",&What::endTime, return_value_policy<copy_const_reference>())
554  ;
555  }
def which
Definition: eostools.py:335
template<>
void condPython::defineWhat< RPCObVmon > ( )

Definition at line 554 of file RPCObVmonPyWrapper.cc.

References cond::rpcobvmon::current, cond::rpcobvmon::day, cond::rpcobvmon::detid, cond::rpcobvmon::time, relativeConstraints::value, and eostools::which().

554  {
555  using namespace boost::python;
556  enum_<cond::rpcobvmon::How>("How")
557  .value("detid",cond::rpcobvmon::detid)
558  .value("day",cond::rpcobvmon::day)
559  .value("time",cond::rpcobvmon::time)
560  .value("current",cond::rpcobvmon::current)
561  ;
562 
563  typedef cond::ExtractWhat<RPCObVmon> What;
564  class_<What>("What",init<>())
565  .def("set_how",&What::set_how)
566  .def("set_which",&What::set_which)
567  .def("how",&What::how, return_value_policy<copy_const_reference>())
568  .def("which",&What::which, return_value_policy<copy_const_reference>())
569  .def("set_starttime",&What::set_starttime)
570  .def("set_endtime",&What::set_endtime)
571  .def("startTime",&What::startTime, return_value_policy<copy_const_reference>())
572  .def("endTime",&What::endTime, return_value_policy<copy_const_reference>())
573  ;
574  }
def which
Definition: eostools.py:335
template<>
void condPython::defineWhat< SiStripSummary > ( )

Definition at line 112 of file SiStripSummaryPyWrapper.cc.

References sistripsummary::TEC, sistripsummary::TECM_1, sistripsummary::TECM_2, sistripsummary::TECM_3, sistripsummary::TECM_4, sistripsummary::TECM_5, sistripsummary::TECM_6, sistripsummary::TECM_7, sistripsummary::TECM_8, sistripsummary::TECM_9, sistripsummary::TECP_1, sistripsummary::TECP_2, sistripsummary::TECP_3, sistripsummary::TECP_4, sistripsummary::TECP_5, sistripsummary::TECP_6, sistripsummary::TECP_7, sistripsummary::TECP_8, sistripsummary::TECP_9, sistripsummary::TIB, sistripsummary::TIB_1, sistripsummary::TIB_2, sistripsummary::TIB_3, sistripsummary::TIB_4, sistripsummary::TID, sistripsummary::TIDM_1, sistripsummary::TIDM_2, sistripsummary::TIDM_3, sistripsummary::TIDP_1, sistripsummary::TIDP_2, sistripsummary::TIDP_3, sistripsummary::TOB, sistripsummary::TOB_1, sistripsummary::TOB_2, sistripsummary::TOB_3, sistripsummary::TOB_4, sistripsummary::TOB_5, sistripsummary::TOB_6, sistripsummary::TRACKER, and relativeConstraints::value.

112  {
113  using namespace boost::python;
114  enum_<sistripsummary::TrackerRegion>("TrackerRegion")
115  .value("Tracker",sistripsummary::TRACKER)
116  .value("TIB",sistripsummary::TIB)
117  .value("TID",sistripsummary::TID)
118  .value("TOB",sistripsummary::TOB)
119  .value("TEC",sistripsummary::TEC)
120  .value("TIB_L1",sistripsummary::TIB_1)
121  .value("TIB_L2",sistripsummary::TIB_2)
122  .value("TIB_L3",sistripsummary::TIB_3)
123  .value("TIB_L4",sistripsummary::TIB_4)
124  .value("TOB_L1",sistripsummary::TOB_1)
125  .value("TOB_L2",sistripsummary::TOB_2)
126  .value("TOB_L3",sistripsummary::TOB_3)
127  .value("TOB_L4",sistripsummary::TOB_4)
128  .value("TOB_L5",sistripsummary::TOB_5)
129  .value("TOB_L6",sistripsummary::TOB_6)
130  .value("TIDM_D1",sistripsummary::TIDM_1)
131  .value("TIDM_D2",sistripsummary::TIDM_2)
132  .value("TIDM_D3",sistripsummary::TIDM_3)
133  .value("TIDP_D1",sistripsummary::TIDP_1)
134  .value("TIDP_D2",sistripsummary::TIDP_2)
135  .value("TIDP_D3",sistripsummary::TIDP_3)
136  .value("TECP_D1",sistripsummary::TECP_1)
137  .value("TECP_D2",sistripsummary::TECP_2)
138  .value("TECP_D3",sistripsummary::TECP_3)
139  .value("TECP_D4",sistripsummary::TECP_4)
140  .value("TECP_D5",sistripsummary::TECP_5)
141  .value("TECP_D6",sistripsummary::TECP_6)
142  .value("TECP_D7",sistripsummary::TECP_7)
143  .value("TECP_D8",sistripsummary::TECP_8)
144  .value("TECP_D9",sistripsummary::TECP_9)
145  .value("TECM_D1",sistripsummary::TECM_1)
146  .value("TECM_D2",sistripsummary::TECM_2)
147  .value("TECM_D3",sistripsummary::TECM_3)
148  .value("TECM_D4",sistripsummary::TECM_4)
149  .value("TECM_D5",sistripsummary::TECM_5)
150  .value("TECM_D6",sistripsummary::TECM_6)
151  .value("TECM_D7",sistripsummary::TECM_7)
152  .value("TECM_D8",sistripsummary::TECM_8)
153  .value("TECM_D9",sistripsummary::TECM_9)
154  ;
155 
157  class_<What>("What",init<>())
158  .def("set_quantity",&What::set_quantity)
159  .def("set_how",&What::set_trackerregion)
160  .def("quantity",&What::quantity, return_value_policy<copy_const_reference>())
161  .def("how",&What::trackerregion, return_value_policy<copy_const_reference>())
162  ;
163  }