Classes | |
struct | EleRegs |
struct | PhoRegs |
Public Member Functions | |
EGRegressionModifierV3 (const edm::ParameterSet &conf, edm::ConsumesCollector &cc) | |
void | modifyObject (reco::GsfElectron &) const final |
void | modifyObject (reco::Photon &) const final |
void | modifyObject (pat::Electron &) const final |
void | modifyObject (pat::Photon &) const final |
void | setEvent (const edm::Event &) final |
void | setEventContent (const edm::EventSetup &) final |
~EGRegressionModifierV3 () override | |
Public Member Functions inherited from ModifyObjectValueBase | |
virtual void | modifyObject (reco::Muon &) const |
virtual void | modifyObject (reco::BaseTau &) const |
virtual void | modifyObject (reco::Jet &) const |
virtual void | modifyObject (pat::Muon &) const |
virtual void | modifyObject (pat::Tau &) const |
virtual void | modifyObject (pat::Jet &) const |
ModifyObjectValueBase (const edm::ParameterSet &conf) | |
const std::string & | name () const |
virtual | ~ModifyObjectValueBase () |
Private Member Functions | |
std::array< float, 32 > | getRegData (const reco::GsfElectron &ele) const |
std::array< float, 32 > | getRegData (const reco::Photon &pho) const |
void | getSeedCrysCoord (const reco::CaloCluster &clus, int &iEtaOrX, int &iPhiOrY) const |
Private Attributes | |
edm::ESHandle< CaloGeometry > | caloGeomHandle_ |
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > | caloGeomToken_ |
std::unique_ptr< EleRegs > | eleRegs_ |
float | maxRawEnergyForLowPtEBSigma_ |
float | maxRawEnergyForLowPtEESigma_ |
std::unique_ptr< PhoRegs > | phoRegs_ |
edm::EDGetTokenT< double > | rhoToken_ |
float | rhoValue_ |
bool | useBuggedHOverE_ |
bool | useClosestToCentreSeedCrysDef_ |
Definition at line 22 of file EGRegressionModifierV3.cc.
EGRegressionModifierV3::EGRegressionModifierV3 | ( | const edm::ParameterSet & | conf, |
edm::ConsumesCollector & | cc | ||
) |
Definition at line 73 of file EGRegressionModifierV3.cc.
References caloGeomToken_, gpuPixelDoublets::cc, eleRegs_, edm::ParameterSet::exists(), edm::ParameterSet::getParameterSet(), phoRegs_, and useClosestToCentreSeedCrysDef_.
|
override |
Definition at line 92 of file EGRegressionModifierV3.cc.
|
private |
Definition at line 205 of file EGRegressionModifierV3.cc.
References funct::abs(), data, reco::deltaPhi(), reco::GsfElectron::ShowerShape::e5x5, reco::CaloCluster::eta(), reco::GsfElectron::full5x5_hcalOverEcalBc(), reco::GsfElectron::full5x5_showerShape(), getSeedCrysCoord(), reco::GsfElectron::hcalOverEcalBc(), l1tPhase2CaloJetEmulator_cfi::iEta, electrons_cff::isEB, reco::GsfElectron::isEB(), WZElectronSkims53X_cff::max, reco::GsfElectron::nSaturatedXtals(), electrons_cff::numberOfClusters, reco::CaloCluster::phi(), egamma_custom_cff::rawEnergy, rhoValue_, reco::GsfElectron::superCluster(), and useBuggedHOverE_.
Referenced by modifyObject().
|
private |
Definition at line 270 of file EGRegressionModifierV3.cc.
References funct::abs(), data, reco::deltaPhi(), reco::Photon::ShowerShape::e5x5, reco::CaloCluster::eta(), reco::Photon::full5x5_r9(), reco::Photon::full5x5_showerShapeVariables(), getSeedCrysCoord(), reco::Photon::hadronicOverEm(), l1tPhase2CaloJetEmulator_cfi::iEta, reco::Photon::isEB(), electrons_cff::isEB, WZElectronSkims53X_cff::max, reco::Photon::nSaturatedXtals(), electrons_cff::numberOfClusters, reco::CaloCluster::phi(), egamma_custom_cff::rawEnergy, rhoValue_, and reco::Photon::superCluster().
|
private |
Definition at line 338 of file EGRegressionModifierV3.cc.
References caloGeomHandle_, EcalBarrel, EBDetId::ieta(), electrons_cff::isEB, EEDetId::ix(), egammaTools::localEcalClusterCoordsEB(), egammaTools::localEcalClusterCoordsEE(), reco::CaloCluster::seed(), DetId::subdetId(), and useClosestToCentreSeedCrysDef_.
Referenced by getRegData().
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 106 of file EGRegressionModifierV3.cc.
References reco::GsfElectron::correctMomentum(), eleRegs_, reco::GsfElectron::fbrem(), DetId::Forward, getRegData(), edm::Ref< C, T, F >::isAvailable(), reco::GsfElectron::isEB(), CastorSimpleRecAlgoImpl::isSaturated(), reco::GsfElectron::ClassificationVariables::kDefaultValue, maxRawEnergyForLowPtEBSigma_, maxRawEnergyForLowPtEESigma_, SiStripPI::min, reco::GsfElectron::nSaturatedXtals(), reco::GsfElectron::p4(), egamma_custom_cff::rawEnergy, l1trig_cff::rawEt, reco::GsfElectron::setCorrectedEcalEnergy(), reco::GsfElectron::setCorrectedEcalEnergyError(), reco::GsfElectron::superCluster(), and reco::GsfElectron::trackMomentumError().
Referenced by modifyObject().
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 162 of file EGRegressionModifierV3.cc.
References DetId::Forward, getRegData(), edm::Ref< C, T, F >::isAvailable(), reco::Photon::isEB(), CastorSimpleRecAlgoImpl::isSaturated(), maxRawEnergyForLowPtEBSigma_, maxRawEnergyForLowPtEESigma_, SiStripPI::min, reco::Photon::nSaturatedXtals(), phoRegs_, egamma_custom_cff::rawEnergy, l1trig_cff::rawEt, reco::Photon::setCorrectedEnergy(), and reco::Photon::superCluster().
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 158 of file EGRegressionModifierV3.cc.
References modifyObject().
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 203 of file EGRegressionModifierV3.cc.
References modifyObject().
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 94 of file EGRegressionModifierV3.cc.
References edm::Event::get(), rhoToken_, and rhoValue_.
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 96 of file EGRegressionModifierV3.cc.
References caloGeomHandle_, caloGeomToken_, eleRegs_, edm::EventSetup::getHandle(), phoRegs_, and useClosestToCentreSeedCrysDef_.
|
private |
Definition at line 68 of file EGRegressionModifierV3.cc.
Referenced by getSeedCrysCoord(), and setEventContent().
|
private |
Definition at line 67 of file EGRegressionModifierV3.cc.
Referenced by EGRegressionModifierV3(), and setEventContent().
|
private |
Definition at line 57 of file EGRegressionModifierV3.cc.
Referenced by EGRegressionModifierV3(), modifyObject(), and setEventContent().
|
private |
Definition at line 65 of file EGRegressionModifierV3.cc.
Referenced by modifyObject().
|
private |
Definition at line 66 of file EGRegressionModifierV3.cc.
Referenced by modifyObject().
|
private |
Definition at line 58 of file EGRegressionModifierV3.cc.
Referenced by EGRegressionModifierV3(), modifyObject(), and setEventContent().
|
private |
Definition at line 61 of file EGRegressionModifierV3.cc.
Referenced by setEvent().
|
private |
Definition at line 60 of file EGRegressionModifierV3.cc.
Referenced by getRegData(), and setEvent().
|
private |
Definition at line 64 of file EGRegressionModifierV3.cc.
Referenced by getRegData().
|
private |
Definition at line 63 of file EGRegressionModifierV3.cc.
Referenced by EGRegressionModifierV3(), getSeedCrysCoord(), and setEventContent().