CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
EffectiveAreas.h
Go to the documentation of this file.
1 #ifndef CommonTools_Egamma_EffectiveAreas_h
2 #define CommonTools_Egamma_EffectiveAreas_h
3 
4 #include <vector>
5 #include <string>
6 
8 public:
9  // Constructor, destructor
11 
12  // Accessors
13  const float getEffectiveArea(float eta) const;
14 
15  // Utility functions
16  void printEffectiveAreas() const;
17  void checkConsistency() const;
18 
19 private:
20  // Data members
21  const std::string filename_; // effective areas source file name
22  std::vector<float> absEtaMin_; // low limit of the eta range
23  std::vector<float> absEtaMax_; // upper limit of the eta range
24  std::vector<float> effectiveAreaValues_; // effective area for this eta range
25 };
26 
27 #endif
const float getEffectiveArea(float eta) const
EffectiveAreas(const std::string &filename)
std::vector< float > absEtaMax_
std::vector< float > effectiveAreaValues_
std::vector< float > absEtaMin_
void checkConsistency() const
tuple filename
Definition: lut2db_cfg.py:20
void printEffectiveAreas() const
const std::string filename_