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 public:
10  // Constructor, destructor
12 
13  // Accessors
14  const float getEffectiveArea(float eta) const;
15 
16  // Utility functions
17  void printEffectiveAreas() const;
18  void checkConsistency() const;
19 
20 private:
21  // Data members
22  const std::string filename_; // effective areas source file name
23  std::vector<float> absEtaMin_; // low limit of the eta range
24  std::vector<float> absEtaMax_; // upper limit of the eta range
25  std::vector<float> effectiveAreaValues_; // effective area for this eta range
26 };
27 
28 #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_