CMS 3D CMS Logo

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< EcalPedestals > ()
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.

                    {
    using namespace boost::python;
    typedef cond::ExtractWhat<T> What;
    class_<What>("What",init<>());
  }
template<>
void condPython::defineWhat< cond::ecalcond::Container > ( )

Definition at line 281 of file EcalChannelStatusPyWrapper.cc.

References cond::ecalcond::all, cond::ecalcond::barrel, cond::ecalcond::bySuperModule, cond::ecalcond::endcap, cond::ecalcond::singleChannel, and relativeConstraints::value.

                                           {
    using namespace boost::python;
    enum_<cond::ecalcond::How>("How")
      .value("singleChannel",cond::ecalcond::singleChannel)
      .value("bySuperModule",cond::ecalcond::bySuperModule) 
      .value("barrel",cond::ecalcond::barrel)
      .value("endcap",cond::ecalcond::endcap)
      .value("all",cond::ecalcond::all)
      ;
    
    typedef cond::ExtractWhat<cond::ecalcond::Container> What;
    class_<What>("What",init<>())
      .def("set_how",&What::set_how)
      .def("set_which",&What::set_which)
      .def("how",&What::how, return_value_policy<copy_const_reference>())
      .def("which",&What::which, return_value_policy<copy_const_reference>())
      ;
  }
template<>
void condPython::defineWhat< EcalDAQTowerStatus > ( )

Definition at line 246 of file EcalDAQTowerStatusPyWrapper.cc.

References cond::ecalcond::all, cond::ecalcond::bySuperModule, cond::ecalcond::singleChannel, and relativeConstraints::value.

                                        {
    using namespace boost::python;
    enum_<cond::ecalcond::How>("How")
      .value("singleChannel",cond::ecalcond::singleChannel)
      .value("bySuperModule",cond::ecalcond::bySuperModule) 
      .value("all",cond::ecalcond::all)
      ;

    typedef cond::ExtractWhat<EcalDAQTowerStatus> What;
    class_<What>("What",init<>())
      .def("set_how",&What::set_how)
      .def("set_which",&What::set_which)
      .def("how",&What::how, return_value_policy<copy_const_reference>())
      .def("which",&What::which, return_value_policy<copy_const_reference>())
      ;
  }
template<>
void condPython::defineWhat< EcalDCSTowerStatus > ( )

Definition at line 266 of file EcalDCSTowerStatusPyWrapper.cc.

References cond::ecalcond::all, cond::ecalcond::bySuperModule, cond::ecalcond::singleChannel, and relativeConstraints::value.

                                        {
    using namespace boost::python;
    enum_<cond::ecalcond::How>("How")
      .value("singleChannel",cond::ecalcond::singleChannel)
      .value("bySuperModule",cond::ecalcond::bySuperModule) 
      .value("all",cond::ecalcond::all)
      ;

    typedef cond::ExtractWhat<EcalDCSTowerStatus> What;
    class_<What>("What",init<>())
      .def("set_how",&What::set_how)
      .def("set_which",&What::set_which)
      .def("how",&What::how, return_value_policy<copy_const_reference>())
      .def("which",&What::which, return_value_policy<copy_const_reference>())
      ;
  }
template<>
void condPython::defineWhat< EcalPedestals > ( )

Definition at line 350 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, and relativeConstraints::value.

                                   {
    using namespace boost::python;
    enum_<cond::ecalped::Quantity>("Quantity")
      .value("mean_x12",cond::ecalped::mean_x12)
      .value("mean_x6",  cond::ecalped::mean_x6)
      .value("mean_x3", cond::ecalped::mean_x3)
      ;
    enum_<cond::ecalped::How>("How")
      .value("singleChannel",cond::ecalped::singleChannel)
      .value("bySuperModule",cond::ecalped::bySuperModule) 
      .value("all",cond::ecalped::all)
      ;

    typedef cond::ExtractWhat<EcalPedestals> What;
    class_<What>("What",init<>())
      .def("set_quantity",&What::set_quantity)
      .def("set_how",&What::set_how)
      .def("set_which",&What::set_which)
      .def("quantity",&What::quantity, return_value_policy<copy_const_reference>())
      .def("how",&What::how, return_value_policy<copy_const_reference>())
      .def("which",&What::which, return_value_policy<copy_const_reference>())
      ;
  }
template<>
void condPython::defineWhat< Pedestals > ( )

Definition at line 112 of file PedestalPyWrapper.cc.

                               {
    using namespace boost::python;
    typedef cond::ExtractWhat<Pedestals> What;
    class_<What>("What",init<>())
      .def("set_which",&What::set_which)
      .def("which",&What::which, return_value_policy<copy_const_reference>())
      .def("set_quantity",&What::set_quantity)
      .def("quantity",&What::quantity, return_value_policy<copy_const_reference>())
      .def("descr_quantity",&What::descr_quantity, return_value_policy<copy_const_reference>())
      ;

  }
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, and relativeConstraints::value.

                              {
    using namespace boost::python;
    enum_<cond::rpcobgas::How>("How")
      .value("detid",cond::rpcobgas::detid)
      .value("flowin",cond::rpcobgas::flowin)
      .value("flowout",cond::rpcobgas::flowout)
      .value("day",cond::rpcobgas::day) 
      .value("time",cond::rpcobgas::time)
      ;

    typedef cond::ExtractWhat<RPCObGas> What;
    class_<What>("What",init<>())
      .def("set_how",&What::set_how)
      .def("set_which",&What::set_which)
      .def("how",&What::how, return_value_policy<copy_const_reference>())
      .def("which",&What::which, return_value_policy<copy_const_reference>())
      .def("set_starttime",&What::set_starttime)
      .def("set_endtime",&What::set_endtime)
      .def("startTime",&What::startTime, return_value_policy<copy_const_reference>())
      .def("endTime",&What::endTime, return_value_policy<copy_const_reference>())
      ;
  }
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, and relativeConstraints::value.

                               {
    using namespace boost::python;
    enum_<cond::rpcobimon::How>("How")
      .value("detid",cond::rpcobimon::detid)
      .value("day",cond::rpcobimon::day) 
      .value("time",cond::rpcobimon::time)
      .value("current",cond::rpcobimon::current)
      ;

    typedef cond::ExtractWhat<RPCObImon> What;
    class_<What>("What",init<>())
      .def("set_how",&What::set_how)
      .def("set_which",&What::set_which)
      .def("how",&What::how, return_value_policy<copy_const_reference>())
      .def("which",&What::which, return_value_policy<copy_const_reference>())
      .def("set_starttime",&What::set_starttime)
      .def("set_endtime",&What::set_endtime)
      .def("startTime",&What::startTime, return_value_policy<copy_const_reference>())
      .def("endTime",&What::endTime, return_value_policy<copy_const_reference>())
      ;
  }
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, and relativeConstraints::value.

                               {
    using namespace boost::python;
    enum_<cond::rpcobtemp::How>("How")
      .value("detid",cond::rpcobtemp::detid)
      .value("day",cond::rpcobtemp::day) 
      .value("time",cond::rpcobtemp::time)
      .value("temp",cond::rpcobtemp::temp)
      ;

    typedef cond::ExtractWhat<RPCObTemp> What;
    class_<What>("What",init<>())
      .def("set_how",&What::set_how)
      .def("set_which",&What::set_which)
      .def("how",&What::how, return_value_policy<copy_const_reference>())
      .def("which",&What::which, return_value_policy<copy_const_reference>())
      .def("set_starttime",&What::set_starttime)
      .def("set_endtime",&What::set_endtime)
      .def("startTime",&What::startTime, return_value_policy<copy_const_reference>())
      .def("endTime",&What::endTime, return_value_policy<copy_const_reference>())
      ;
  }
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, and relativeConstraints::value.

                               {
    using namespace boost::python;
    enum_<cond::rpcobvmon::How>("How")
      .value("detid",cond::rpcobvmon::detid)
      .value("day",cond::rpcobvmon::day) 
      .value("time",cond::rpcobvmon::time)
      .value("current",cond::rpcobvmon::current)
      ;

    typedef cond::ExtractWhat<RPCObVmon> What;
    class_<What>("What",init<>())
      .def("set_how",&What::set_how)
      .def("set_which",&What::set_which)
      .def("how",&What::how, return_value_policy<copy_const_reference>())
      .def("which",&What::which, return_value_policy<copy_const_reference>())
      .def("set_starttime",&What::set_starttime)
      .def("set_endtime",&What::set_endtime)
      .def("startTime",&What::startTime, return_value_policy<copy_const_reference>())
      .def("endTime",&What::endTime, return_value_policy<copy_const_reference>())
      ;
  }
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.

                                    {
    using namespace boost::python;
    enum_<sistripsummary::TrackerRegion>("TrackerRegion")
      .value("Tracker",sistripsummary::TRACKER)
      .value("TIB",sistripsummary::TIB)
      .value("TID",sistripsummary::TID)
      .value("TOB",sistripsummary::TOB)
      .value("TEC",sistripsummary::TEC)
      .value("TIB_L1",sistripsummary::TIB_1)
      .value("TIB_L2",sistripsummary::TIB_2)
      .value("TIB_L3",sistripsummary::TIB_3)
      .value("TIB_L4",sistripsummary::TIB_4)
      .value("TOB_L1",sistripsummary::TOB_1)
      .value("TOB_L2",sistripsummary::TOB_2)
      .value("TOB_L3",sistripsummary::TOB_3)
      .value("TOB_L4",sistripsummary::TOB_4)
      .value("TOB_L5",sistripsummary::TOB_5)
      .value("TOB_L6",sistripsummary::TOB_6)
      .value("TIDM_D1",sistripsummary::TIDM_1)
      .value("TIDM_D2",sistripsummary::TIDM_2)
      .value("TIDM_D3",sistripsummary::TIDM_3)
      .value("TIDP_D1",sistripsummary::TIDP_1)
      .value("TIDP_D2",sistripsummary::TIDP_2)
      .value("TIDP_D3",sistripsummary::TIDP_3)
      .value("TECP_D1",sistripsummary::TECP_1)
      .value("TECP_D2",sistripsummary::TECP_2)
      .value("TECP_D3",sistripsummary::TECP_3)
      .value("TECP_D4",sistripsummary::TECP_4)
      .value("TECP_D5",sistripsummary::TECP_5)
      .value("TECP_D6",sistripsummary::TECP_6)
      .value("TECP_D7",sistripsummary::TECP_7)
      .value("TECP_D8",sistripsummary::TECP_8)
      .value("TECP_D9",sistripsummary::TECP_9)
      .value("TECM_D1",sistripsummary::TECM_1)
      .value("TECM_D2",sistripsummary::TECM_2)
      .value("TECM_D3",sistripsummary::TECM_3)
      .value("TECM_D4",sistripsummary::TECM_4)
      .value("TECM_D5",sistripsummary::TECM_5)
      .value("TECM_D6",sistripsummary::TECM_6)
      .value("TECM_D7",sistripsummary::TECM_7)
      .value("TECM_D8",sistripsummary::TECM_8)
      .value("TECM_D9",sistripsummary::TECM_9)
      ;

    typedef cond::ExtractWhat<SiStripSummary> What;
    class_<What>("What",init<>())
      .def("set_quantity",&What::set_quantity)
      .def("set_how",&What::set_trackerregion)
      .def("quantity",&What::quantity, return_value_policy<copy_const_reference>())
      .def("how",&What::trackerregion, return_value_policy<copy_const_reference>())
      ;
  }