CMS 3D CMS Logo

EffectiveAreas.h
Go to the documentation of this file.
1 #ifndef RecoEgamma_EgammaTools_EffectiveAreas_H
2 #define RecoEgamma_EgammaTools_EffectiveAreas_H
3 
4 #include <vector>
5 
6 #include <string>
7 
9 
10 public:
11  // Constructor, destructor
13 
14  // Accessors
15  const float getEffectiveArea(float eta) const;
16 
17  // Utility functions
18  void printEffectiveAreas() const;
19  void checkConsistency() const;
20 
21 private:
22  // Data members
23  const std::string filename_; // effective areas source file name
24  std::vector<float> absEtaMin_; // low limit of the eta range
25  std::vector<float> absEtaMax_; // upper limit of the eta range
26  std::vector<float> effectiveAreaValues_; // effective area for this eta range
27 
28 };
29 
30 #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
void printEffectiveAreas() const
const std::string filename_