#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 23 of file EcalIsolationCorrector.h.
|
protected |
Definition at line 10 of file EcalIsolationCorrector.cc.
References RunAB, RunC, and RunD.
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 380 of file EcalIsolationCorrector.cc.
References ecal_dqm_sourceclient-live_cfg::cerr, correctForNoise(), reco::GsfElectron::dr03EcalRecHitSumEt(), reco::GsfElectron::isEB(), isElectron_, RunAB, RunC, and RunD.
Referenced by correctForHLTDefinition().
float EcalIsolationCorrector::correctForHLTDefinition | ( | reco::GsfElectron | e, |
int | runNumber, | ||
bool | isData = false |
||
) |
Definition at line 342 of file EcalIsolationCorrector.cc.
References ecal_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 356 of file EcalIsolationCorrector.cc.
References ecal_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 491 of file EcalIsolationCorrector.cc.
References ecal_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 452 of file EcalIsolationCorrector.cc.
References ecal_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 466 of file EcalIsolationCorrector.cc.
References ecal_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 435 of file EcalIsolationCorrector.cc.
References ecal_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 397 of file EcalIsolationCorrector.cc.
References ecal_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 411 of file EcalIsolationCorrector.cc.
References ecal_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 548 of file EcalIsolationCorrector.cc.
References ecal_dqm_sourceclient-live_cfg::cerr, correctForHLTDefinition(), correctForNoise(), reco::Photon::ecalRecHitSumEtConeDR03(), reco::Photon::isEB(), isElectron_, RunAB, RunC, and RunD.
float EcalIsolationCorrector::correctForHLTDefinition | ( | pat::Photon | p, |
int | runNumber, | ||
bool | isData = false |
||
) |
Definition at line 509 of file EcalIsolationCorrector.cc.
References ecal_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 523 of file EcalIsolationCorrector.cc.
References ecal_dqm_sourceclient-live_cfg::cerr, correctForHLTDefinition(), correctForNoise(), reco::Photon::ecalRecHitSumEtConeDR03(), reco::Photon::isEB(), isElectron_, RunAB, RunC, and RunD.
|
protected |
Definition at line 297 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 108 of file EcalIsolationCorrector.cc.
References ecal_dqm_sourceclient-live_cfg::cerr, reco::GsfElectron::dr03EcalRecHitSumEt(), reco::GsfElectron::isEB(), isElectron_, 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 ecal_dqm_sourceclient-live_cfg::cerr, checkRunRange(), correctForNoise(), reco::GsfElectron::dr03EcalRecHitSumEt(), reco::GsfElectron::isEB(), and isElectron_.
float EcalIsolationCorrector::correctForNoise | ( | reco::GsfElectron | e, |
std::string | runName, | ||
bool | isData = false |
||
) |
Definition at line 86 of file EcalIsolationCorrector.cc.
References ecal_dqm_sourceclient-live_cfg::cerr, correctForNoise(), reco::GsfElectron::dr03EcalRecHitSumEt(), 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 202 of file EcalIsolationCorrector.cc.
References ecal_dqm_sourceclient-live_cfg::cerr, correctForNoise(), reco::Photon::ecalRecHitSumEtConeDR03(), reco::Photon::isEB(), isElectron_, RunAB, RunC, and RunD.
float EcalIsolationCorrector::correctForNoise | ( | reco::Photon | p, |
int | runNumber, | ||
bool | isData = false |
||
) |
Definition at line 169 of file EcalIsolationCorrector.cc.
References ecal_dqm_sourceclient-live_cfg::cerr, checkRunRange(), correctForNoise(), reco::Photon::ecalRecHitSumEtConeDR03(), reco::Photon::isEB(), and isElectron_.
float EcalIsolationCorrector::correctForNoise | ( | reco::Photon | p, |
std::string | runName, | ||
bool | isData = false |
||
) |
Definition at line 180 of file EcalIsolationCorrector.cc.
References ecal_dqm_sourceclient-live_cfg::cerr, correctForNoise(), reco::Photon::ecalRecHitSumEtConeDR03(), 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 155 of file EcalIsolationCorrector.cc.
References ecal_dqm_sourceclient-live_cfg::cerr, correctForNoise(), reco::GsfElectron::dr03EcalRecHitSumEt(), reco::GsfElectron::isEB(), isElectron_, RunAB, RunC, and RunD.
float EcalIsolationCorrector::correctForNoise | ( | pat::Electron | e, |
int | runNumber, | ||
bool | isData = false |
||
) |
Definition at line 122 of file EcalIsolationCorrector.cc.
References ecal_dqm_sourceclient-live_cfg::cerr, checkRunRange(), correctForNoise(), reco::GsfElectron::dr03EcalRecHitSumEt(), reco::GsfElectron::isEB(), and isElectron_.
float EcalIsolationCorrector::correctForNoise | ( | pat::Electron | e, |
std::string | runName, | ||
bool | isData = false |
||
) |
Definition at line 133 of file EcalIsolationCorrector.cc.
References ecal_dqm_sourceclient-live_cfg::cerr, correctForNoise(), reco::GsfElectron::dr03EcalRecHitSumEt(), 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 249 of file EcalIsolationCorrector.cc.
References ecal_dqm_sourceclient-live_cfg::cerr, correctForNoise(), reco::Photon::ecalRecHitSumEtConeDR03(), reco::Photon::isEB(), isElectron_, RunAB, RunC, and RunD.
float EcalIsolationCorrector::correctForNoise | ( | pat::Photon | p, |
int | runNumber, | ||
bool | isData = false |
||
) |
Definition at line 216 of file EcalIsolationCorrector.cc.
References ecal_dqm_sourceclient-live_cfg::cerr, checkRunRange(), correctForNoise(), reco::Photon::ecalRecHitSumEtConeDR03(), reco::Photon::isEB(), and isElectron_.
float EcalIsolationCorrector::correctForNoise | ( | pat::Photon | p, |
std::string | runName, | ||
bool | isData = false |
||
) |
Definition at line 227 of file EcalIsolationCorrector.cc.
References ecal_dqm_sourceclient-live_cfg::cerr, correctForNoise(), reco::Photon::ecalRecHitSumEtConeDR03(), reco::Photon::isEB(), isElectron_, RunAB, RunC, and RunD.
|
protected |
Definition at line 22 of file EcalIsolationCorrector.cc.
References gather_cfg::cout, isElectron_, mps_fire::result, RunAB, RunC, and RunD.
|
private |
Definition at line 93 of file EcalIsolationCorrector.h.
Referenced by correctForHLTDefinition(), and correctForNoise().