CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
EcalSRCondTools.h
Go to the documentation of this file.
1 #ifndef SRCONDACCESS_H
2 #define SRCONDACCESS_H
3 
4 /*
5  */
6 
15 
16 #include <string>
20  //methods
21 public:
26 
29  ~EcalSRCondTools() override;
30 
35  void analyze(const edm::Event& evt, const edm::EventSetup& es) override;
36 
45  static void importParameterSet(EcalSRSettings& sr, const edm::ParameterSet& ps);
46 
54  static void importSrpConfigFile(EcalSRSettings& sr, std::istream& f, bool debug = false);
55 
59  static double normalizeWeights(int hwWeight);
60 
61 private:
66  static std::string tokenize(const std::string& s, const std::string& delim, int& pos);
67 
70  static std::string trim(std::string s);
71 
72  //fields
73 private:
75 
78  bool done_;
79 
82 };
83 
84 #endif //SRCONDACCESS_H not defined
static void importSrpConfigFile(EcalSRSettings &sr, std::istream &f, bool debug=false)
const std::string mode_
const 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)
edm::ESGetToken< EcalSRSettings, EcalSRSettingsRcd > hSrToken_
static std::string trim(std::string s)
void analyze(const edm::Event &evt, const edm::EventSetup &es) override
#define debug
Definition: HDRShower.cc:19
edm::ESGetToken< EcalTPGPhysicsConst, EcalTPGPhysicsConstRcd > tpgPhysicsConstToken_
~EcalSRCondTools() override
EcalSRCondTools(const edm::ParameterSet &)