test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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
14 
15  // Accessors
16  const float getEffectiveArea(float eta) const;
17 
18  // Utility functions
19  void printEffectiveAreas() const;
20  void checkConsistency() const;
21 
22 private:
23  // Data members
24  const std::string filename_; // effective areas source file name
25  std::vector<float> absEtaMin_; // low limit of the eta range
26  std::vector<float> absEtaMax_; // upper limit of the eta range
27  std::vector<float> effectiveAreaValues_; // effective area for this eta range
28 
29 };
30 
31 #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_