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  * $Id: EcalSRCondTools.h,v 1.3 2011/03/02 14:47:41 pgras Exp $
6  */
7 
12 
16  //methods
17 public:
22 
26 
27 
32  virtual void analyze(const edm::Event& evt, const edm::EventSetup& es);
33 
42  static void importParameterSet(EcalSRSettings& sr, const edm::ParameterSet& ps);
43 
44 
52  static void importSrpConfigFile(EcalSRSettings& sr, std::istream& f, bool debug = false);
53 
57  static double normalizeWeights(int hwWeight);
58 
59 private:
64  static std::string tokenize(const std::string& s, const std::string& delim, int& pos);
65 
68  static std::string trim(std::string s);
69 
70  //fields
71 private:
72 
74 };
75 
76 #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]
virtual void analyze(const edm::Event &evt, const edm::EventSetup &es)
#define debug
Definition: MEtoEDMFormat.h:34
EcalSRCondTools(const edm::ParameterSet &)