#include <EcalIsolationCorrector.h>
Public Types | |
enum | RunRange { RunAB, RunC, RunD } |
Public Member Functions | |
float | correctForHLTDefinition (reco::GsfElectron e, bool isData=false, float intL_AB=5.5, float intL_C=6.7, float intL_D=7.3) |
float | correctForHLTDefinition (reco::GsfElectron e, int runNumber, bool isData=false) |
float | correctForHLTDefinition (reco::GsfElectron e, std::string runName, bool isData=false) |
float | correctForHLTDefinition (reco::Photon p, bool isData=false, float intL_AB=5.5, float intL_C=6.7, float intL_D=7.3) |
float | correctForHLTDefinition (reco::Photon p, int runNumber, bool isData=false) |
float | correctForHLTDefinition (reco::Photon p, std::string runName, bool isData=false) |
float | correctForHLTDefinition (pat::Electron e, bool isData=false, float intL_AB=5.5, float intL_C=6.7, float intL_D=7.3) |
float | correctForHLTDefinition (pat::Electron e, int runNumber, bool isData=false) |
float | correctForHLTDefinition (pat::Electron e, std::string runName, bool isData=false) |
float | correctForHLTDefinition (pat::Photon p, bool isData=false, float intL_AB=5.5, float intL_C=6.7, float intL_D=7.3) |
float | correctForHLTDefinition (pat::Photon p, int runNumber, bool isData=false) |
float | correctForHLTDefinition (pat::Photon p, std::string runName, bool isData=false) |
float | correctForNoise (reco::GsfElectron e, bool isData=false, float intL_AB=5.5, float intL_C=6.7, float intL_D=7.3) |
float | correctForNoise (reco::GsfElectron e, int runNumber, bool isData=false) |
float | correctForNoise (reco::GsfElectron e, std::string runName, bool isData=false) |
float | correctForNoise (reco::Photon p, bool isData=false, float intL_AB=5.5, float intL_C=6.7, float intL_D=7.3) |
float | correctForNoise (reco::Photon p, int runNumber, bool isData=false) |
float | correctForNoise (reco::Photon p, std::string runName, bool isData=false) |
float | correctForNoise (pat::Electron e, bool isData=false, float intL_AB=5.5, float intL_C=6.7, float intL_D=7.3) |
float | correctForNoise (pat::Electron e, int runNumber, bool isData=false) |
float | correctForNoise (pat::Electron e, std::string runName, bool isData=false) |
float | correctForNoise (pat::Photon p, bool isData=false, float intL_AB=5.5, float intL_C=6.7, float intL_D=7.3) |
float | correctForNoise (pat::Photon p, int runNumber, bool isData=false) |
float | correctForNoise (pat::Photon p, std::string runName, bool isData=false) |
EcalIsolationCorrector (bool forElectrons) | |
~EcalIsolationCorrector () | |
Protected Member Functions | |
RunRange | checkRunRange (int runNumber) |
float | correctForHLTDefinition (float iso, bool isBarrel, RunRange runRange) |
float | correctForNoise (float iso, bool isBarrel, RunRange runRange, bool isData) |
Private Attributes | |
bool | isElectron_ |
Definition at line 17 of file EcalIsolationCorrector.h.
EcalIsolationCorrector::EcalIsolationCorrector | ( | bool | forElectrons | ) |
Definition at line 7 of file EcalIsolationCorrector.cc.
|
inline |
Definition at line 22 of file EcalIsolationCorrector.h.
|
protected |
Definition at line 9 of file EcalIsolationCorrector.cc.
References RunAB, RunC, RunD, convertSQLiteXML::runNumber, and crab_NZS2018C_1::runRange.
Referenced by correctForHLTDefinition(), and correctForNoise().
float EcalIsolationCorrector::correctForHLTDefinition | ( | reco::GsfElectron | e, |
bool | isData = false , |
||
float | intL_AB = 5.5 , |
||
float | intL_C = 6.7 , |
||
float | intL_D = 7.3 |
||
) |
Definition at line 371 of file EcalIsolationCorrector.cc.
References DMR_cfg::cerr, correctForNoise(), MillePedeFileConverter_cfg::e, HLTBitAnalyser_cfi::isData, isElectron_, genparticles_cff::iso, RunAB, RunC, and RunD.
Referenced by correctForHLTDefinition().
float EcalIsolationCorrector::correctForHLTDefinition | ( | reco::GsfElectron | e, |
int | runNumber, | ||
bool | isData = false |
||
) |
Definition at line 335 of file EcalIsolationCorrector.cc.
References DMR_cfg::cerr, checkRunRange(), correctForHLTDefinition(), correctForNoise(), MillePedeFileConverter_cfg::e, HLTBitAnalyser_cfi::isData, isElectron_, genparticles_cff::iso, convertSQLiteXML::runNumber, and crab_NZS2018C_1::runRange.
float EcalIsolationCorrector::correctForHLTDefinition | ( | reco::GsfElectron | e, |
std::string | runName, | ||
bool | isData = false |
||
) |
Definition at line 348 of file EcalIsolationCorrector.cc.
References DMR_cfg::cerr, correctForHLTDefinition(), correctForNoise(), MillePedeFileConverter_cfg::e, HLTBitAnalyser_cfi::isData, isElectron_, genparticles_cff::iso, RunAB, RunC, RunD, and crab_NZS2018C_1::runRange.
float EcalIsolationCorrector::correctForHLTDefinition | ( | reco::Photon | p, |
bool | isData = false , |
||
float | intL_AB = 5.5 , |
||
float | intL_C = 6.7 , |
||
float | intL_D = 7.3 |
||
) |
Definition at line 480 of file EcalIsolationCorrector.cc.
References DMR_cfg::cerr, correctForHLTDefinition(), correctForNoise(), HLTBitAnalyser_cfi::isData, isElectron_, genparticles_cff::iso, AlCaHLTBitMon_ParallelJobs::p, RunAB, RunC, and RunD.
float EcalIsolationCorrector::correctForHLTDefinition | ( | reco::Photon | p, |
int | runNumber, | ||
bool | isData = false |
||
) |
Definition at line 443 of file EcalIsolationCorrector.cc.
References DMR_cfg::cerr, checkRunRange(), correctForHLTDefinition(), correctForNoise(), HLTBitAnalyser_cfi::isData, isElectron_, genparticles_cff::iso, AlCaHLTBitMon_ParallelJobs::p, convertSQLiteXML::runNumber, and crab_NZS2018C_1::runRange.
float EcalIsolationCorrector::correctForHLTDefinition | ( | reco::Photon | p, |
std::string | runName, | ||
bool | isData = false |
||
) |
Definition at line 456 of file EcalIsolationCorrector.cc.
References DMR_cfg::cerr, correctForHLTDefinition(), correctForNoise(), HLTBitAnalyser_cfi::isData, isElectron_, genparticles_cff::iso, AlCaHLTBitMon_ParallelJobs::p, RunAB, RunC, RunD, and crab_NZS2018C_1::runRange.
float EcalIsolationCorrector::correctForHLTDefinition | ( | pat::Electron | e, |
bool | isData = false , |
||
float | intL_AB = 5.5 , |
||
float | intL_C = 6.7 , |
||
float | intL_D = 7.3 |
||
) |
Definition at line 425 of file EcalIsolationCorrector.cc.
References DMR_cfg::cerr, correctForHLTDefinition(), correctForNoise(), MillePedeFileConverter_cfg::e, HLTBitAnalyser_cfi::isData, isElectron_, genparticles_cff::iso, RunAB, RunC, and RunD.
float EcalIsolationCorrector::correctForHLTDefinition | ( | pat::Electron | e, |
int | runNumber, | ||
bool | isData = false |
||
) |
Definition at line 389 of file EcalIsolationCorrector.cc.
References DMR_cfg::cerr, checkRunRange(), correctForHLTDefinition(), correctForNoise(), MillePedeFileConverter_cfg::e, HLTBitAnalyser_cfi::isData, isElectron_, genparticles_cff::iso, convertSQLiteXML::runNumber, and crab_NZS2018C_1::runRange.
float EcalIsolationCorrector::correctForHLTDefinition | ( | pat::Electron | e, |
std::string | runName, | ||
bool | isData = false |
||
) |
Definition at line 402 of file EcalIsolationCorrector.cc.
References DMR_cfg::cerr, correctForHLTDefinition(), correctForNoise(), MillePedeFileConverter_cfg::e, HLTBitAnalyser_cfi::isData, isElectron_, genparticles_cff::iso, RunAB, RunC, RunD, and crab_NZS2018C_1::runRange.
float EcalIsolationCorrector::correctForHLTDefinition | ( | pat::Photon | p, |
bool | isData = false , |
||
float | intL_AB = 5.5 , |
||
float | intL_C = 6.7 , |
||
float | intL_D = 7.3 |
||
) |
Definition at line 536 of file EcalIsolationCorrector.cc.
References DMR_cfg::cerr, correctForHLTDefinition(), correctForNoise(), HLTBitAnalyser_cfi::isData, isElectron_, genparticles_cff::iso, AlCaHLTBitMon_ParallelJobs::p, RunAB, RunC, and RunD.
float EcalIsolationCorrector::correctForHLTDefinition | ( | pat::Photon | p, |
int | runNumber, | ||
bool | isData = false |
||
) |
Definition at line 499 of file EcalIsolationCorrector.cc.
References DMR_cfg::cerr, checkRunRange(), correctForHLTDefinition(), correctForNoise(), HLTBitAnalyser_cfi::isData, isElectron_, genparticles_cff::iso, AlCaHLTBitMon_ParallelJobs::p, convertSQLiteXML::runNumber, and crab_NZS2018C_1::runRange.
float EcalIsolationCorrector::correctForHLTDefinition | ( | pat::Photon | p, |
std::string | runName, | ||
bool | isData = false |
||
) |
Definition at line 512 of file EcalIsolationCorrector.cc.
References DMR_cfg::cerr, correctForHLTDefinition(), correctForNoise(), HLTBitAnalyser_cfi::isData, isElectron_, genparticles_cff::iso, AlCaHLTBitMon_ParallelJobs::p, RunAB, RunC, RunD, and crab_NZS2018C_1::runRange.
|
protected |
Definition at line 289 of file EcalIsolationCorrector.cc.
References PixelPluginsPhase0_cfi::isBarrel, isElectron_, genparticles_cff::iso, mps_fire::result, RunAB, RunC, RunD, and crab_NZS2018C_1::runRange.
float EcalIsolationCorrector::correctForNoise | ( | reco::GsfElectron | e, |
bool | isData = false , |
||
float | intL_AB = 5.5 , |
||
float | intL_C = 6.7 , |
||
float | intL_D = 7.3 |
||
) |
Definition at line 106 of file EcalIsolationCorrector.cc.
References DMR_cfg::cerr, MillePedeFileConverter_cfg::e, HLTBitAnalyser_cfi::isData, isElectron_, genparticles_cff::iso, RunAB, RunC, and RunD.
Referenced by correctForHLTDefinition(), and correctForNoise().
float EcalIsolationCorrector::correctForNoise | ( | reco::GsfElectron | e, |
int | runNumber, | ||
bool | isData = false |
||
) |
Definition at line 75 of file EcalIsolationCorrector.cc.
References DMR_cfg::cerr, checkRunRange(), correctForNoise(), MillePedeFileConverter_cfg::e, HLTBitAnalyser_cfi::isData, isElectron_, genparticles_cff::iso, convertSQLiteXML::runNumber, and crab_NZS2018C_1::runRange.
float EcalIsolationCorrector::correctForNoise | ( | reco::GsfElectron | e, |
std::string | runName, | ||
bool | isData = false |
||
) |
Definition at line 85 of file EcalIsolationCorrector.cc.
References DMR_cfg::cerr, correctForNoise(), MillePedeFileConverter_cfg::e, HLTBitAnalyser_cfi::isData, isElectron_, genparticles_cff::iso, RunAB, RunC, RunD, and crab_NZS2018C_1::runRange.
float EcalIsolationCorrector::correctForNoise | ( | reco::Photon | p, |
bool | isData = false , |
||
float | intL_AB = 5.5 , |
||
float | intL_C = 6.7 , |
||
float | intL_D = 7.3 |
||
) |
Definition at line 197 of file EcalIsolationCorrector.cc.
References DMR_cfg::cerr, correctForNoise(), HLTBitAnalyser_cfi::isData, isElectron_, genparticles_cff::iso, AlCaHLTBitMon_ParallelJobs::p, RunAB, RunC, and RunD.
float EcalIsolationCorrector::correctForNoise | ( | reco::Photon | p, |
int | runNumber, | ||
bool | isData = false |
||
) |
Definition at line 166 of file EcalIsolationCorrector.cc.
References DMR_cfg::cerr, checkRunRange(), correctForNoise(), HLTBitAnalyser_cfi::isData, isElectron_, genparticles_cff::iso, AlCaHLTBitMon_ParallelJobs::p, convertSQLiteXML::runNumber, and crab_NZS2018C_1::runRange.
float EcalIsolationCorrector::correctForNoise | ( | reco::Photon | p, |
std::string | runName, | ||
bool | isData = false |
||
) |
Definition at line 176 of file EcalIsolationCorrector.cc.
References DMR_cfg::cerr, correctForNoise(), HLTBitAnalyser_cfi::isData, isElectron_, genparticles_cff::iso, AlCaHLTBitMon_ParallelJobs::p, RunAB, RunC, RunD, and crab_NZS2018C_1::runRange.
float EcalIsolationCorrector::correctForNoise | ( | pat::Electron | e, |
bool | isData = false , |
||
float | intL_AB = 5.5 , |
||
float | intL_C = 6.7 , |
||
float | intL_D = 7.3 |
||
) |
Definition at line 152 of file EcalIsolationCorrector.cc.
References DMR_cfg::cerr, correctForNoise(), MillePedeFileConverter_cfg::e, HLTBitAnalyser_cfi::isData, isElectron_, genparticles_cff::iso, RunAB, RunC, and RunD.
float EcalIsolationCorrector::correctForNoise | ( | pat::Electron | e, |
int | runNumber, | ||
bool | isData = false |
||
) |
Definition at line 121 of file EcalIsolationCorrector.cc.
References DMR_cfg::cerr, checkRunRange(), correctForNoise(), MillePedeFileConverter_cfg::e, HLTBitAnalyser_cfi::isData, isElectron_, genparticles_cff::iso, convertSQLiteXML::runNumber, and crab_NZS2018C_1::runRange.
float EcalIsolationCorrector::correctForNoise | ( | pat::Electron | e, |
std::string | runName, | ||
bool | isData = false |
||
) |
Definition at line 131 of file EcalIsolationCorrector.cc.
References DMR_cfg::cerr, correctForNoise(), MillePedeFileConverter_cfg::e, HLTBitAnalyser_cfi::isData, isElectron_, genparticles_cff::iso, RunAB, RunC, RunD, and crab_NZS2018C_1::runRange.
float EcalIsolationCorrector::correctForNoise | ( | pat::Photon | p, |
bool | isData = false , |
||
float | intL_AB = 5.5 , |
||
float | intL_C = 6.7 , |
||
float | intL_D = 7.3 |
||
) |
Definition at line 242 of file EcalIsolationCorrector.cc.
References DMR_cfg::cerr, correctForNoise(), HLTBitAnalyser_cfi::isData, isElectron_, genparticles_cff::iso, AlCaHLTBitMon_ParallelJobs::p, RunAB, RunC, and RunD.
float EcalIsolationCorrector::correctForNoise | ( | pat::Photon | p, |
int | runNumber, | ||
bool | isData = false |
||
) |
Definition at line 211 of file EcalIsolationCorrector.cc.
References DMR_cfg::cerr, checkRunRange(), correctForNoise(), HLTBitAnalyser_cfi::isData, isElectron_, genparticles_cff::iso, AlCaHLTBitMon_ParallelJobs::p, convertSQLiteXML::runNumber, and crab_NZS2018C_1::runRange.
float EcalIsolationCorrector::correctForNoise | ( | pat::Photon | p, |
std::string | runName, | ||
bool | isData = false |
||
) |
Definition at line 221 of file EcalIsolationCorrector.cc.
References DMR_cfg::cerr, correctForNoise(), HLTBitAnalyser_cfi::isData, isElectron_, genparticles_cff::iso, AlCaHLTBitMon_ParallelJobs::p, RunAB, RunC, RunD, and crab_NZS2018C_1::runRange.
|
protected |
Definition at line 20 of file EcalIsolationCorrector.cc.
References gather_cfg::cout, PixelPluginsPhase0_cfi::isBarrel, HLTBitAnalyser_cfi::isData, isElectron_, genparticles_cff::iso, mps_fire::result, RunAB, RunC, RunD, and crab_NZS2018C_1::runRange.
|
private |
Definition at line 105 of file EcalIsolationCorrector.h.
Referenced by correctForHLTDefinition(), and correctForNoise().