#include <EffectiveAreas.h>
Public Member Functions | |
void | checkConsistency () const |
EffectiveAreas (const std::string &filename, const bool quadraticEAflag=false) | |
const float | getEffectiveArea (float eta) const |
const float | getLinearEA (float eta) const |
const float | getQuadraticEA (float eta) const |
void | printEffectiveAreas () const |
Private Attributes | |
std::vector< float > | absEtaMax_ |
std::vector< float > | absEtaMin_ |
std::vector< float > | effectiveAreaValues_ |
const std::string | filename_ |
std::vector< float > | linearEffectiveAreaValues_ |
const bool | quadraticEAflag_ |
std::vector< float > | quadraticEffectiveAreaValues_ |
Definition at line 7 of file EffectiveAreas.h.
EffectiveAreas::EffectiveAreas | ( | const std::string & | filename, |
const bool | quadraticEAflag = false |
||
) |
Definition at line 9 of file EffectiveAreas.cc.
References absEtaMax_, absEtaMin_, checkConsistency(), effectiveAreaValues_, ALCARECOTkAlBeamHalo_cff::etaMax, ALCARECOTkAlBeamHalo_cff::etaMin, Exception, filename_, makeListRunsInFiles::inputFile, mps_splice::line, linearEffectiveAreaValues_, quadraticEAflag_, quadraticEffectiveAreaValues_, contentValuesCheck::ss, AlCaHLTBitMon_QueryRunRegistry::string, and trackerHitRTTI::undef.
void EffectiveAreas::checkConsistency | ( | void | ) | const |
Definition at line 145 of file EffectiveAreas.cc.
References absEtaMax_, absEtaMin_, effectiveAreaValues_, Exception, filename_, l1tTowerCalibrationProducer_cfi::iEta, linearEffectiveAreaValues_, L1TMuonDQMOffline_cfi::nEtaBins, quadraticEAflag_, quadraticEffectiveAreaValues_, and parallelization::uint.
Referenced by EffectiveAreas().
const float EffectiveAreas::getEffectiveArea | ( | float | eta | ) | const |
Definition at line 76 of file EffectiveAreas.cc.
References funct::abs(), absEtaMax_, absEtaMin_, effectiveAreaValues_, PVValHelper::eta, l1tTowerCalibrationProducer_cfi::iEta, L1TMuonDQMOffline_cfi::nEtaBins, and parallelization::uint.
Referenced by ElectronIdentifier::isolation(), GsfEleEffAreaPFIsoCut::operator()(), PhoAnyPFIsoWithEAAndExpoScalingEBCut::operator()(), PhoAnyPFIsoWithEAAndQuadScalingCut::operator()(), PhoAnyPFIsoWithEAAndExpoScalingCut::operator()(), PhoAnyPFIsoWithEACut::operator()(), GsfEleCalPFClusterIsoCut::operator()(), PhoGenericRhoPtScaledCut::operator()(), PhoAnyPFIsoWithEAAndExpoScalingCut::value(), GsfEleEffAreaPFIsoCut::value(), PhoAnyPFIsoWithEAAndExpoScalingEBCut::value(), PhoAnyPFIsoWithEACut::value(), PhoAnyPFIsoWithEAAndQuadScalingCut::value(), GsfEleRelPFIsoScaledCut::value(), and GsfEleCalPFClusterIsoCut::value().
const float EffectiveAreas::getLinearEA | ( | float | eta | ) | const |
Definition at line 90 of file EffectiveAreas.cc.
References funct::abs(), absEtaMax_, absEtaMin_, PVValHelper::eta, l1tTowerCalibrationProducer_cfi::iEta, linearEffectiveAreaValues_, L1TMuonDQMOffline_cfi::nEtaBins, and parallelization::uint.
Referenced by PhoGenericQuadraticRhoPtScaledCut::operator()().
const float EffectiveAreas::getQuadraticEA | ( | float | eta | ) | const |
Definition at line 105 of file EffectiveAreas.cc.
References funct::abs(), absEtaMax_, absEtaMin_, PVValHelper::eta, l1tTowerCalibrationProducer_cfi::iEta, L1TMuonDQMOffline_cfi::nEtaBins, quadraticEffectiveAreaValues_, and parallelization::uint.
Referenced by PhoGenericQuadraticRhoPtScaledCut::operator()().
void EffectiveAreas::printEffectiveAreas | ( | ) | const |
Definition at line 119 of file EffectiveAreas.cc.
References absEtaMax_, absEtaMin_, effectiveAreaValues_, filename_, l1tTowerCalibrationProducer_cfi::iEta, linearEffectiveAreaValues_, L1TMuonDQMOffline_cfi::nEtaBins, quadraticEAflag_, quadraticEffectiveAreaValues_, and parallelization::uint.
|
private |
Definition at line 25 of file EffectiveAreas.h.
Referenced by checkConsistency(), EffectiveAreas(), getEffectiveArea(), getLinearEA(), getQuadraticEA(), and printEffectiveAreas().
|
private |
Definition at line 24 of file EffectiveAreas.h.
Referenced by checkConsistency(), EffectiveAreas(), getEffectiveArea(), getLinearEA(), getQuadraticEA(), and printEffectiveAreas().
|
private |
Definition at line 26 of file EffectiveAreas.h.
Referenced by checkConsistency(), EffectiveAreas(), getEffectiveArea(), and printEffectiveAreas().
|
private |
Definition at line 23 of file EffectiveAreas.h.
Referenced by checkConsistency(), EffectiveAreas(), and printEffectiveAreas().
|
private |
Definition at line 30 of file EffectiveAreas.h.
Referenced by checkConsistency(), EffectiveAreas(), getLinearEA(), and printEffectiveAreas().
|
private |
Definition at line 29 of file EffectiveAreas.h.
Referenced by checkConsistency(), EffectiveAreas(), and printEffectiveAreas().
|
private |
Definition at line 31 of file EffectiveAreas.h.
Referenced by checkConsistency(), EffectiveAreas(), getQuadraticEA(), and printEffectiveAreas().