#include <EffectiveAreas.h>
Public Member Functions | |
void | checkConsistency () const |
EffectiveAreas (const std::string &filename) | |
const float | getEffectiveArea (float eta) const |
void | printEffectiveAreas () const |
~EffectiveAreas () | |
Private Attributes | |
std::vector< float > | absEtaMax_ |
std::vector< float > | absEtaMin_ |
std::vector< float > | effectiveAreaValues_ |
const std::string | filename_ |
Definition at line 8 of file EffectiveAreas.h.
EffectiveAreas::EffectiveAreas | ( | const std::string & | filename | ) |
Definition at line 9 of file EffectiveAreas.cc.
References absEtaMax_, absEtaMin_, checkConsistency(), effectiveAreaValues_, ALCARECOTkAlBeamHalo_cff::etaMax, ALCARECOTkAlBeamHalo_cff::etaMin, Exception, filename_, analyzePatCleaning_cfg::inputFile, geometryCSVtoXML::line, AlCaHLTBitMon_QueryRunRegistry::string, and trackerHitRTTI::undef.
EffectiveAreas::~EffectiveAreas | ( | ) |
Definition at line 46 of file EffectiveAreas.cc.
void EffectiveAreas::checkConsistency | ( | void | ) | const |
Definition at line 79 of file EffectiveAreas.cc.
References absEtaMax_, absEtaMin_, effectiveAreaValues_, Exception, filename_, and fftjetcommon_cfi::nEtaBins.
Referenced by EffectiveAreas().
const float EffectiveAreas::getEffectiveArea | ( | float | eta | ) | const |
Definition at line 50 of file EffectiveAreas.cc.
References funct::abs(), absEtaMax_, absEtaMin_, effectiveAreaValues_, and fftjetcommon_cfi::nEtaBins.
Referenced by PhotonMVAEstimatorRun2Spring16NonTrig::fillMVAVariables(), PhoAnyPFIsoWithEAAndExpoScalingEBCut::operator()(), PhoAnyPFIsoWithEAAndQuadScalingCut::operator()(), GsfEleEffAreaPFIsoCut::operator()(), PhoAnyPFIsoWithEACut::operator()(), PhoAnyPFIsoWithEAAndExpoScalingCut::operator()(), GsfEleCalPFClusterIsoCut::operator()(), PhoAnyPFIsoWithEACut::value(), PhoAnyPFIsoWithEAAndQuadScalingCut::value(), GsfEleRelPFIsoScaledCut::value(), PhoAnyPFIsoWithEAAndExpoScalingCut::value(), GsfEleEffAreaPFIsoCut::value(), PhoAnyPFIsoWithEAAndExpoScalingEBCut::value(), and GsfEleCalPFClusterIsoCut::value().
void EffectiveAreas::printEffectiveAreas | ( | ) | const |
Definition at line 65 of file EffectiveAreas.cc.
References absEtaMax_, absEtaMin_, effectiveAreaValues_, filename_, and fftjetcommon_cfi::nEtaBins.
|
private |
Definition at line 26 of file EffectiveAreas.h.
Referenced by checkConsistency(), EffectiveAreas(), getEffectiveArea(), and printEffectiveAreas().
|
private |
Definition at line 25 of file EffectiveAreas.h.
Referenced by checkConsistency(), EffectiveAreas(), getEffectiveArea(), and printEffectiveAreas().
|
private |
Definition at line 27 of file EffectiveAreas.h.
Referenced by checkConsistency(), EffectiveAreas(), getEffectiveArea(), and printEffectiveAreas().
|
private |
Definition at line 24 of file EffectiveAreas.h.
Referenced by checkConsistency(), EffectiveAreas(), and printEffectiveAreas().