CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EcalSRCondTools.h
Go to the documentation of this file.
1 #ifndef SRCONDACCESS_H
2 #define SRCONDACCESS_H
3 
4 /*
5  */
6 
11 
15  //methods
16 public:
21 
25 
26 
31  virtual void analyze(const edm::Event& evt, const edm::EventSetup& es);
32 
41  static void importParameterSet(EcalSRSettings& sr, const edm::ParameterSet& ps);
42 
43 
51  static void importSrpConfigFile(EcalSRSettings& sr, std::istream& f, bool debug = false);
52 
56  static double normalizeWeights(int hwWeight);
57 
58 private:
63  static std::string tokenize(const std::string& s, const std::string& delim, int& pos);
64 
67  static std::string trim(std::string s);
68 
69  //fields
70 private:
71 
73 
74  bool done_;
75 
76 };
77 
78 #endif //SRCONDACCESS_H not defined
static void importSrpConfigFile(EcalSRSettings &sr, std::istream &f, bool debug=false)
edm::ParameterSet ps_
static std::string tokenize(const std::string &s, const std::string &delim, int &pos)
static void importParameterSet(EcalSRSettings &sr, const edm::ParameterSet &ps)
static double normalizeWeights(int hwWeight)
static std::string trim(std::string s)
double f[11][100]
#define debug
Definition: HDRShower.cc:19
virtual void analyze(const edm::Event &evt, const edm::EventSetup &es)
EcalSRCondTools(const edm::ParameterSet &)