CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SiStripBaseDelayPyWrapper.cc
Go to the documentation of this file.
2 
5 
6 #include <string>
7 #include <fstream>
8 
9 namespace cond {
10 
11  template<>
12  class ValueExtractor<SiStripBaseDelay>: public BaseValueExtractor<SiStripBaseDelay> {
13  public:
14 
17  static What what() { return What();}
18 
21  {
22  // here one can make stuff really complicated...
23  }
24  void compute(Class const & it){
25  }
26  private:
27 
28  };
29 
30 
31  template<>
32  std::string
34  std::stringstream ss;
35  return ss.str();
36 
37  }
38 
39  template<>
41  std::stringstream ss;
42  object().printSummary(ss);
43  return ss.str();
44  }
45 
46 
47  template<>
48  std::string PayLoadInspector<SiStripBaseDelay>::plot(std::string const & filename,
49  std::string const &,
50  std::vector<int> const&,
51  std::vector<float> const& ) const {
52  std::string fname = filename + ".png";
53  std::ofstream f(fname.c_str());
54  return fname;
55  }
56 
57 
58 }
59 
std::string plot(std::string const &, std::string const &, std::vector< int > const &, std::vector< float > const &) const
ExtractWhat< Class > What
#define PYTHON_WRAPPER(_class, _name)
std::string summary() const
double f[11][100]
list object
Definition: dbtoconf.py:77
string fname
main script
tuple filename
Definition: lut2db_cfg.py:20
std::string dump() const