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 
30  void analyze(const edm::Event& evt, const edm::EventSetup& es) override;
31 
40  static void importParameterSet(EcalSRSettings& sr, const edm::ParameterSet& ps);
41 
49  static void importSrpConfigFile(EcalSRSettings& sr, std::istream& f, bool debug = false);
50 
54  static double normalizeWeights(int hwWeight);
55 
56 private:
61  static std::string tokenize(const std::string& s, const std::string& delim, int& pos);
62 
65  static std::string trim(std::string s);
66 
67  //fields
68 private:
70 
71  bool done_;
72 };
73 
74 #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 &)