CMS 3D CMS Logo

SiStripObjects_toXML.cc
Go to the documentation of this file.
1 
4 
5 namespace { // Avoid cluttering the global namespace.
6 
7  // converter methods
8  std::string SiStripLatency2xml( std::string const &payloadData, std::string const &payloadType ) {
9  return cond::convertToXML<SiStripLatency> (payloadData, payloadType);
10  }
11 
12  std::string SiStripConfObject2xml( const std::string &payloadData, const std::string &payloadType ) {
13  return cond::convertToXML<SiStripConfObject> (payloadData, payloadType);
14  }
15 
16 } // end namespace
17 
18 
19 BOOST_PYTHON_MODULE( pluginSiStripObjects_toXML )
20 {
21  using namespace boost::python;
22  def ("SiStripLatency2xml" , &SiStripLatency2xml);
23  def ("SiStripConfObject2xml", &SiStripConfObject2xml);
24 
25 }
26 
BOOST_PYTHON_MODULE(pluginSiStripObjects_toXML)
JetCorrectorParameters::Definitions def
Definition: classes.h:6