#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.
References checkRunRange(), correctForHLTDefinition(), correctForNoise(), MillePedeFileConverter_cfg::e, PixelPluginsPhase0_cfi::isBarrel, HLTBitAnalyser_cfi::isData, AlCaHLTBitMon_ParallelJobs::p, convertSQLiteXML::runNumber, and AlCaHLTBitMon_QueryRunRegistry::string.
|
protected |
Definition at line 9 of file EcalIsolationCorrector.cc.
References RunAB, RunC, and RunD.
Referenced by correctForHLTDefinition(), correctForNoise(), and ~EcalIsolationCorrector().
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 beam_dqm_sourceclient-live_cfg::cerr, correctForNoise(), reco::GsfElectron::dr03EcalRecHitSumEt(), reco::GsfElectron::isEB(), isElectron_, RunAB, RunC, and RunD.
Referenced by correctForHLTDefinition(), and ~EcalIsolationCorrector().
float EcalIsolationCorrector::correctForHLTDefinition | ( | reco::GsfElectron | e, |
int | runNumber, | ||
bool | isData = false |
||
) |
Definition at line 335 of file EcalIsolationCorrector.cc.
References beam_dqm_sourceclient-live_cfg::cerr, checkRunRange(), correctForHLTDefinition(), correctForNoise(), reco::GsfElectron::dr03EcalRecHitSumEt(), reco::GsfElectron::isEB(), and isElectron_.
float EcalIsolationCorrector::correctForHLTDefinition | ( | reco::GsfElectron | e, |
std::string | runName, | ||
bool | isData = false |
||
) |
Definition at line 348 of file EcalIsolationCorrector.cc.
References beam_dqm_sourceclient-live_cfg::cerr, correctForHLTDefinition(), correctForNoise(), reco::GsfElectron::dr03EcalRecHitSumEt(), reco::GsfElectron::isEB(), isElectron_, RunAB, RunC, and RunD.
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 beam_dqm_sourceclient-live_cfg::cerr, correctForHLTDefinition(), correctForNoise(), reco::Photon::ecalRecHitSumEtConeDR03(), reco::Photon::isEB(), isElectron_, RunAB, RunC, and RunD.
float EcalIsolationCorrector::correctForHLTDefinition | ( | reco::Photon | p, |
int | runNumber, | ||
bool | isData = false |
||
) |
Definition at line 443 of file EcalIsolationCorrector.cc.
References beam_dqm_sourceclient-live_cfg::cerr, checkRunRange(), correctForHLTDefinition(), correctForNoise(), reco::Photon::ecalRecHitSumEtConeDR03(), reco::Photon::isEB(), and isElectron_.
float EcalIsolationCorrector::correctForHLTDefinition | ( | reco::Photon | p, |
std::string | runName, | ||
bool | isData = false |
||
) |
Definition at line 456 of file EcalIsolationCorrector.cc.
References beam_dqm_sourceclient-live_cfg::cerr, correctForHLTDefinition(), correctForNoise(), reco::Photon::ecalRecHitSumEtConeDR03(), reco::Photon::isEB(), isElectron_, RunAB, RunC, and RunD.
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 beam_dqm_sourceclient-live_cfg::cerr, correctForHLTDefinition(), correctForNoise(), reco::GsfElectron::dr03EcalRecHitSumEt(), reco::GsfElectron::isEB(), isElectron_, RunAB, RunC, and RunD.
float EcalIsolationCorrector::correctForHLTDefinition | ( | pat::Electron | e, |
int | runNumber, | ||
bool | isData = false |
||
) |
Definition at line 389 of file EcalIsolationCorrector.cc.
References beam_dqm_sourceclient-live_cfg::cerr, checkRunRange(), correctForHLTDefinition(), correctForNoise(), reco::GsfElectron::dr03EcalRecHitSumEt(), reco::GsfElectron::isEB(), and isElectron_.
float EcalIsolationCorrector::correctForHLTDefinition | ( | pat::Electron | e, |
std::string | runName, | ||
bool | isData = false |
||
) |
Definition at line 402 of file EcalIsolationCorrector.cc.
References beam_dqm_sourceclient-live_cfg::cerr, correctForHLTDefinition(), correctForNoise(), reco::GsfElectron::dr03EcalRecHitSumEt(), reco::GsfElectron::isEB(), isElectron_, RunAB, RunC, and RunD.
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 beam_dqm_sourceclient-live_cfg::cerr, checkRunRange(), correctForHLTDefinition(), correctForNoise(), reco::Photon::ecalRecHitSumEtConeDR03(), PixelPluginsPhase0_cfi::isBarrel, HLTBitAnalyser_cfi::isData, reco::Photon::isEB(), isElectron_, RunAB, RunC, RunD, convertSQLiteXML::runNumber, and AlCaHLTBitMon_QueryRunRegistry::string.
float EcalIsolationCorrector::correctForHLTDefinition | ( | pat::Photon | p, |
int | runNumber, | ||
bool | isData = false |
||
) |
Definition at line 499 of file EcalIsolationCorrector.cc.
References beam_dqm_sourceclient-live_cfg::cerr, checkRunRange(), correctForHLTDefinition(), correctForNoise(), reco::Photon::ecalRecHitSumEtConeDR03(), reco::Photon::isEB(), and isElectron_.
float EcalIsolationCorrector::correctForHLTDefinition | ( | pat::Photon | p, |
std::string | runName, | ||
bool | isData = false |
||
) |
Definition at line 512 of file EcalIsolationCorrector.cc.
References beam_dqm_sourceclient-live_cfg::cerr, correctForHLTDefinition(), correctForNoise(), reco::Photon::ecalRecHitSumEtConeDR03(), reco::Photon::isEB(), isElectron_, RunAB, RunC, and RunD.
|
protected |
Definition at line 289 of file EcalIsolationCorrector.cc.
References isElectron_, mps_fire::result, RunAB, RunC, and RunD.
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 beam_dqm_sourceclient-live_cfg::cerr, reco::GsfElectron::dr03EcalRecHitSumEt(), HLTBitAnalyser_cfi::isData, reco::GsfElectron::isEB(), isElectron_, RunAB, RunC, and RunD.
Referenced by correctForHLTDefinition(), correctForNoise(), and ~EcalIsolationCorrector().
float EcalIsolationCorrector::correctForNoise | ( | reco::GsfElectron | e, |
int | runNumber, | ||
bool | isData = false |
||
) |
Definition at line 75 of file EcalIsolationCorrector.cc.
References beam_dqm_sourceclient-live_cfg::cerr, checkRunRange(), correctForNoise(), reco::GsfElectron::dr03EcalRecHitSumEt(), HLTBitAnalyser_cfi::isData, reco::GsfElectron::isEB(), and isElectron_.
float EcalIsolationCorrector::correctForNoise | ( | reco::GsfElectron | e, |
std::string | runName, | ||
bool | isData = false |
||
) |
Definition at line 85 of file EcalIsolationCorrector.cc.
References beam_dqm_sourceclient-live_cfg::cerr, correctForNoise(), reco::GsfElectron::dr03EcalRecHitSumEt(), HLTBitAnalyser_cfi::isData, reco::GsfElectron::isEB(), isElectron_, RunAB, RunC, and RunD.
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 beam_dqm_sourceclient-live_cfg::cerr, correctForNoise(), reco::Photon::ecalRecHitSumEtConeDR03(), HLTBitAnalyser_cfi::isData, reco::Photon::isEB(), isElectron_, RunAB, RunC, and RunD.
float EcalIsolationCorrector::correctForNoise | ( | reco::Photon | p, |
int | runNumber, | ||
bool | isData = false |
||
) |
Definition at line 166 of file EcalIsolationCorrector.cc.
References beam_dqm_sourceclient-live_cfg::cerr, checkRunRange(), correctForNoise(), reco::Photon::ecalRecHitSumEtConeDR03(), HLTBitAnalyser_cfi::isData, reco::Photon::isEB(), and isElectron_.
float EcalIsolationCorrector::correctForNoise | ( | reco::Photon | p, |
std::string | runName, | ||
bool | isData = false |
||
) |
Definition at line 176 of file EcalIsolationCorrector.cc.
References beam_dqm_sourceclient-live_cfg::cerr, correctForNoise(), reco::Photon::ecalRecHitSumEtConeDR03(), HLTBitAnalyser_cfi::isData, reco::Photon::isEB(), isElectron_, RunAB, RunC, and RunD.
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 beam_dqm_sourceclient-live_cfg::cerr, correctForNoise(), reco::GsfElectron::dr03EcalRecHitSumEt(), HLTBitAnalyser_cfi::isData, reco::GsfElectron::isEB(), isElectron_, RunAB, RunC, and RunD.
float EcalIsolationCorrector::correctForNoise | ( | pat::Electron | e, |
int | runNumber, | ||
bool | isData = false |
||
) |
Definition at line 121 of file EcalIsolationCorrector.cc.
References beam_dqm_sourceclient-live_cfg::cerr, checkRunRange(), correctForNoise(), reco::GsfElectron::dr03EcalRecHitSumEt(), HLTBitAnalyser_cfi::isData, reco::GsfElectron::isEB(), and isElectron_.
float EcalIsolationCorrector::correctForNoise | ( | pat::Electron | e, |
std::string | runName, | ||
bool | isData = false |
||
) |
Definition at line 131 of file EcalIsolationCorrector.cc.
References beam_dqm_sourceclient-live_cfg::cerr, correctForNoise(), reco::GsfElectron::dr03EcalRecHitSumEt(), HLTBitAnalyser_cfi::isData, reco::GsfElectron::isEB(), isElectron_, RunAB, RunC, and RunD.
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 beam_dqm_sourceclient-live_cfg::cerr, checkRunRange(), correctForNoise(), reco::Photon::ecalRecHitSumEtConeDR03(), PixelPluginsPhase0_cfi::isBarrel, HLTBitAnalyser_cfi::isData, reco::Photon::isEB(), isElectron_, RunAB, RunC, RunD, convertSQLiteXML::runNumber, and AlCaHLTBitMon_QueryRunRegistry::string.
float EcalIsolationCorrector::correctForNoise | ( | pat::Photon | p, |
int | runNumber, | ||
bool | isData = false |
||
) |
Definition at line 211 of file EcalIsolationCorrector.cc.
References beam_dqm_sourceclient-live_cfg::cerr, checkRunRange(), correctForNoise(), reco::Photon::ecalRecHitSumEtConeDR03(), HLTBitAnalyser_cfi::isData, reco::Photon::isEB(), and isElectron_.
float EcalIsolationCorrector::correctForNoise | ( | pat::Photon | p, |
std::string | runName, | ||
bool | isData = false |
||
) |
Definition at line 221 of file EcalIsolationCorrector.cc.
References beam_dqm_sourceclient-live_cfg::cerr, correctForNoise(), reco::Photon::ecalRecHitSumEtConeDR03(), HLTBitAnalyser_cfi::isData, reco::Photon::isEB(), isElectron_, RunAB, RunC, and RunD.
|
protected |
Definition at line 20 of file EcalIsolationCorrector.cc.
References gather_cfg::cout, isElectron_, mps_fire::result, RunAB, RunC, and RunD.
|
private |
Definition at line 105 of file EcalIsolationCorrector.h.
Referenced by correctForHLTDefinition(), and correctForNoise().