CMS 3D CMS Logo

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
void printEffectiveAreas() const
EffectiveAreas(const std::string &filename)
std::vector< float > absEtaMax_
std::vector< float > effectiveAreaValues_
const float getEffectiveArea(float eta) const
std::vector< float > absEtaMin_
void checkConsistency() const
const std::string filename_