Classes | |
struct | EleRegs |
struct | PhoRegs |
Public Member Functions | |
EGRegressionModifierV3 (const edm::ParameterSet &conf, edm::ConsumesCollector &cc) | |
void | modifyObject (pat::Electron &) const final |
void | modifyObject (pat::Photon &) const final |
void | modifyObject (reco::GsfElectron &) const final |
void | modifyObject (reco::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 (pat::Jet &) const |
virtual void | modifyObject (pat::Muon &) const |
virtual void | modifyObject (pat::Tau &) const |
virtual void | modifyObject (reco::BaseTau &) const |
virtual void | modifyObject (reco::Jet &) const |
virtual void | modifyObject (reco::Muon &) 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_ |
std::unique_ptr< EleRegs > | eleRegs_ |
float | maxRawEnergyForLowPtEBSigma_ |
float | maxRawEnergyForLowPtEESigma_ |
std::unique_ptr< PhoRegs > | phoRegs_ |
edm::EDGetTokenT< double > | rhoToken_ |
float | rhoValue_ |
bool | useClosestToCentreSeedCrysDef_ |
Definition at line 22 of file EGRegressionModifierV3.cc.
EGRegressionModifierV3::EGRegressionModifierV3 | ( | const edm::ParameterSet & | conf, |
edm::ConsumesCollector & | cc | ||
) |
Definition at line 71 of file EGRegressionModifierV3.cc.
References eleRegs_, edm::ParameterSet::exists(), edm::ParameterSet::getParameterSet(), and phoRegs_.
|
override |
Definition at line 86 of file EGRegressionModifierV3.cc.
|
private |
Definition at line 198 of file EGRegressionModifierV3.cc.
References funct::abs(), data, reco::deltaPhi(), reco::GsfElectron::ShowerShape::e5x5, reco::CaloCluster::eta(), reco::GsfElectron::full5x5_showerShape(), getSeedCrysCoord(), reco::GsfElectron::hcalOverEcalBc(), L1TowerCalibrationProducer_cfi::iEta, reco::GsfElectron::isEB(), SiStripPI::max, reco::GsfElectron::nSaturatedXtals(), reco::CaloCluster::phi(), rhoValue_, and reco::GsfElectron::superCluster().
Referenced by modifyObject().
|
private |
Definition at line 262 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(), L1TowerCalibrationProducer_cfi::iEta, reco::Photon::isEB(), SiStripPI::max, reco::Photon::nSaturatedXtals(), reco::CaloCluster::phi(), rhoValue_, and reco::Photon::superCluster().
|
private |
Definition at line 330 of file EGRegressionModifierV3.cc.
References caloGeomHandle_, EcalBarrel, EBDetId::ieta(), EEDetId::ix(), egammaTools::localEcalClusterCoordsEB(), egammaTools::localEcalClusterCoordsEE(), reco::CaloCluster::seed(), DetId::subdetId(), and useClosestToCentreSeedCrysDef_.
Referenced by getRegData().
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 151 of file EGRegressionModifierV3.cc.
References modifyObject().
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 196 of file EGRegressionModifierV3.cc.
References modifyObject().
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 99 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_, min(), reco::GsfElectron::nSaturatedXtals(), reco::GsfElectron::p4(), reco::GsfElectron::setCorrectedEcalEnergy(), reco::GsfElectron::setCorrectedEcalEnergyError(), reco::GsfElectron::superCluster(), and reco::GsfElectron::trackMomentumError().
Referenced by modifyObject().
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 155 of file EGRegressionModifierV3.cc.
References DetId::Forward, getRegData(), edm::Ref< C, T, F >::isAvailable(), reco::Photon::isEB(), CastorSimpleRecAlgoImpl::isSaturated(), maxRawEnergyForLowPtEBSigma_, maxRawEnergyForLowPtEESigma_, min(), reco::Photon::nSaturatedXtals(), phoRegs_, reco::Photon::setCorrectedEnergy(), and reco::Photon::superCluster().
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 88 of file EGRegressionModifierV3.cc.
References edm::Event::get(), rhoToken_, and rhoValue_.
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 90 of file EGRegressionModifierV3.cc.
References caloGeomHandle_, eleRegs_, edm::EventSetup::get(), get, phoRegs_, and useClosestToCentreSeedCrysDef_.
|
private |
Definition at line 66 of file EGRegressionModifierV3.cc.
Referenced by getSeedCrysCoord(), and setEventContent().
|
private |
Definition at line 57 of file EGRegressionModifierV3.cc.
Referenced by EGRegressionModifierV3(), modifyObject(), and setEventContent().
|
private |
Definition at line 64 of file EGRegressionModifierV3.cc.
Referenced by modifyObject().
|
private |
Definition at line 65 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 63 of file EGRegressionModifierV3.cc.
Referenced by getSeedCrysCoord(), and setEventContent().