CMS 3D CMS Logo

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 
24  ~EcalSRCondTools() override;
25 
26 
31  void analyze(const edm::Event& evt, const edm::EventSetup& es) override;
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)
void analyze(const edm::Event &evt, const edm::EventSetup &es) override
double f[11][100]
#define debug
Definition: HDRShower.cc:19
~EcalSRCondTools() override
EcalSRCondTools(const edm::ParameterSet &)