CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EcalTimeOffsetConstantPyWrapper.cc
Go to the documentation of this file.
4 #include "TH2F.h"
5 #include "TCanvas.h"
6 #include "TLine.h"
7 #include "TStyle.h"
8 #include "TPave.h"
9 #include "TPaveStats.h"
10 
13 
14 #include <string>
15 #include <fstream>
16 
17 namespace cond {
18  template<>
20  std::stringstream ss;
21  EcalCondHeader header;
22  ss << EcalTimeOffsetXMLTranslator::dumpXML(header,object());
23  return ss.str();
24  }
25 
26  template<>
28  std::stringstream ss;
29  ss <<" Barrel and endcap Time Offset" << std::endl;
30  ss << " EB " << object().getEBValue()
31  << " EE " << object().getEEValue() << std::endl;
32  return ss.str();
33  }
34 
35 
36  template<>
38  std::string const &,
39  std::vector<int> const&,
40  std::vector<float> const& ) const {
41  return filename;
42  }
43 }
44 
std::string plot(std::string const &, std::string const &, std::vector< int > const &, std::vector< float > const &) const
static std::string dumpXML(const EcalCondHeader &header, const EcalTimeOffsetConstant &record)
#define PYTHON_WRAPPER(_class, _name)
std::string summary() const
list object
Definition: dbtoconf.py:77
tuple filename
Definition: lut2db_cfg.py:20
std::string dump() const