#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_, fftjetcommon_cfi::nEtaBins, and parallelization::uint().
Referenced by EffectiveAreas().
const float EffectiveAreas::getEffectiveArea | ( | float | eta | ) | const |
Definition at line 50 of file EffectiveAreas.cc.
References funct::abs(), absEtaMax_, absEtaMin_, effectiveAreaValues_, fftjetcommon_cfi::nEtaBins, and parallelization::uint().
Referenced by PhotonMVAEstimatorRun2Spring16NonTrig::fillMVAVariables(), ElectronIdentifier::isolation(), GsfEleEffAreaPFIsoCut::operator()(), PhoAnyPFIsoWithEAAndExpoScalingEBCut::operator()(), PhoAnyPFIsoWithEAAndQuadScalingCut::operator()(), PhoAnyPFIsoWithEACut::operator()(), PhoAnyPFIsoWithEAAndExpoScalingCut::operator()(), GsfEleCalPFClusterIsoCut::operator()(), PhoAnyPFIsoWithEACut::value(), PhoAnyPFIsoWithEAAndExpoScalingCut::value(), GsfEleEffAreaPFIsoCut::value(), PhoAnyPFIsoWithEAAndQuadScalingCut::value(), PhoAnyPFIsoWithEAAndExpoScalingEBCut::value(), and GsfEleCalPFClusterIsoCut::value().
void EffectiveAreas::printEffectiveAreas | ( | ) | const |
Definition at line 65 of file EffectiveAreas.cc.
References absEtaMax_, absEtaMin_, effectiveAreaValues_, filename_, fftjetcommon_cfi::nEtaBins, and parallelization::uint().
|
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().