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
EffectiveAreas::EffectiveAreas
EffectiveAreas(const std::string &filename)
Definition: EffectiveAreas.cc:9
EffectiveAreas::absEtaMax_
std::vector< float > absEtaMax_
Definition: EffectiveAreas.h:24
EffectiveAreas
Definition: EffectiveAreas.h:8
PVValHelper::eta
Definition: PVValidationHelpers.h:69
EffectiveAreas::printEffectiveAreas
void printEffectiveAreas() const
Definition: EffectiveAreas.cc:57
corrVsCorr.filename
filename
Definition: corrVsCorr.py:123
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
EffectiveAreas::effectiveAreaValues_
std::vector< float > effectiveAreaValues_
Definition: EffectiveAreas.h:25
EffectiveAreas::absEtaMin_
std::vector< float > absEtaMin_
Definition: EffectiveAreas.h:23
EffectiveAreas::checkConsistency
void checkConsistency() const
Definition: EffectiveAreas.cc:67
EffectiveAreas::getEffectiveArea
const float getEffectiveArea(float eta) const
Definition: EffectiveAreas.cc:44
EffectiveAreas::filename_
const std::string filename_
Definition: EffectiveAreas.h:22