Public Member Functions | |
EGRegressionModifierV1 (const edm::ParameterSet &conf, edm::ConsumesCollector &cc) | |
void | modifyObject (reco::GsfElectron &) const final |
void | modifyObject (reco::Photon &) const final |
void | modifyObject (pat::Electron &ele) const final |
void | modifyObject (pat::Photon &pho) const final |
void | setEvent (const edm::Event &) final |
void | setEventContent (const edm::EventSetup &) final |
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 Attributes | |
const bool | applyExtraHighEnergyProtection_ |
const bool | autoDetectBunchSpacing_ |
int | bunchspacing_ |
edm::EDGetTokenT< unsigned int > | bunchSpacingToken_ |
CaloGeometry const * | caloGeom_ |
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > | caloGeomToken_ |
edm::ESGetToken< GBRForest, GBRWrapperRcd > | condNamesWeight25nsToken_ |
edm::ESGetToken< GBRForest, GBRWrapperRcd > | condNamesWeight50nsToken_ |
EGRegressionModifierCondTokens | eleCond25nsTokens_ |
EGRegressionModifierCondTokens | eleCond50nsTokens_ |
std::vector< const GBRForestD * > | eleForestsMean_ |
std::vector< const GBRForestD * > | eleForestsSigma_ |
const GBRForest * | epForest_ |
int | nVtx_ |
EGRegressionModifierCondTokens | phoCond25nsTokens_ |
EGRegressionModifierCondTokens | phoCond50nsTokens_ |
std::vector< const GBRForestD * > | phoForestsMean_ |
std::vector< const GBRForestD * > | phoForestsSigma_ |
edm::EDGetTokenT< double > | rhoToken_ |
float | rhoValue_ |
edm::EDGetTokenT< reco::VertexCollection > | vtxToken_ |
Definition at line 18 of file EGRegressionModifierV1.cc.
EGRegressionModifierV1::EGRegressionModifierV1 | ( | const edm::ParameterSet & | conf, |
edm::ConsumesCollector & | cc | ||
) |
Definition at line 61 of file EGRegressionModifierV1.cc.
References gpuPixelDoublets::cc, and edm::ParameterSet::getParameterSet().
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 103 of file EGRegressionModifierV1.cc.
References funct::abs(), applyExtraHighEnergyProtection_, caloGeom_, reco::GsfElectron::classification(), ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), reco::GsfElectron::correctMomentum(), reco::deltaPhi(), reco::deltaR(), reco::GsfElectron::ecalDriven(), eleForestsMean_, eleForestsSigma_, reco::CaloCluster::energy(), EgHLTOffHistBins_cfi::eOverP, ecalHexDisplay_cfg::ep, epForest_, reco::CaloCluster::eta(), GBRForest::GetResponse(), l1tPhase2CaloJetEmulator_cfi::iEta, createfilelist::int, edm::Ref< C, T, F >::isAvailable(), electrons_cff::isEB, reco::GsfElectron::isEB(), egammaTools::localEcalClusterCoordsEB(), egammaTools::localEcalClusterCoordsEE(), WZElectronSkims53X_cff::max, L1TPhase2MuonOffline_cfi::maxDR, SiStripPI::mean, electrons_cff::numberOfClusters, nVtx_, reco::GsfElectron::p4(), reco::CaloCluster::phi(), egamma_custom_cff::rawEnergy, reco::GsfElectron::setCorrectedEcalEnergy(), reco::GsfElectron::setCorrectedEcalEnergyError(), reco::GsfElectron::showerShape(), mathSSE::sqrt(), reco::GsfElectron::superCluster(), reco::GsfElectron::trackerDrivenSeed(), reco::GsfElectron::trackMomentumAtVtx(), reco::GsfElectron::trackMomentumError(), and mps_merge::weight.
|
finalvirtual |
this is 1*abs(ieta)/ieta in original training
duplicated variables but this was trained like that
duplicated variables but this was trained like that
Reimplemented from ModifyObjectValueBase.
Definition at line 284 of file EGRegressionModifierV1.cc.
References funct::abs(), reco::deltaPhi(), reco::Photon::e5x5(), reco::CaloCluster::energy(), reco::CaloCluster::eta(), reco::Photon::hadronicOverEm(), hcalRecHitTable_cff::ieta, hcalRecHitTable_cff::iphi, edm::Ref< C, T, F >::isAvailable(), reco::Photon::isEB(), electrons_cff::isEB, WZElectronSkims53X_cff::max, SiStripPI::mean, electrons_cff::numberOfClusters, nVtx_, reco::CaloCluster::phi(), phoForestsMean_, phoForestsSigma_, reco::Photon::r9(), egamma_custom_cff::rawEnergy, rhoValue_, reco::CaloCluster::seed(), reco::Photon::setCorrectedEnergy(), reco::Photon::showerShapeVariables(), and reco::Photon::superCluster().
|
inlinefinalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 29 of file EGRegressionModifierV1.cc.
References modifyObject().
Referenced by modifyObject().
|
inlinefinalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 30 of file EGRegressionModifierV1.cc.
References modifyObject().
Referenced by modifyObject().
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 81 of file EGRegressionModifierV1.cc.
References autoDetectBunchSpacing_, bunchspacing_, bunchSpacingToken_, edm::Event::get(), nVtx_, rhoToken_, rhoValue_, and vtxToken_.
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 89 of file EGRegressionModifierV1.cc.
References bunchspacing_, caloGeom_, caloGeomToken_, condNamesWeight25nsToken_, condNamesWeight50nsToken_, eleCond25nsTokens_, eleCond50nsTokens_, eleForestsMean_, eleForestsSigma_, epForest_, edm::EventSetup::getData(), EGRegressionModifierCondTokens::mean, phoCond25nsTokens_, phoCond50nsTokens_, phoForestsMean_, phoForestsSigma_, retrieveGBRForests(), and EGRegressionModifierCondTokens::sigma.
|
private |
Definition at line 50 of file EGRegressionModifierV1.cc.
Referenced by modifyObject().
|
private |
Definition at line 41 of file EGRegressionModifierV1.cc.
Referenced by setEvent().
|
private |
Definition at line 42 of file EGRegressionModifierV1.cc.
Referenced by setEvent(), and setEventContent().
|
private |
Definition at line 43 of file EGRegressionModifierV1.cc.
Referenced by setEvent().
|
private |
Definition at line 49 of file EGRegressionModifierV1.cc.
Referenced by modifyObject(), and setEventContent().
|
private |
Definition at line 48 of file EGRegressionModifierV1.cc.
Referenced by setEventContent().
|
private |
Definition at line 39 of file EGRegressionModifierV1.cc.
Referenced by setEventContent().
|
private |
Definition at line 38 of file EGRegressionModifierV1.cc.
Referenced by setEventContent().
|
private |
Definition at line 35 of file EGRegressionModifierV1.cc.
Referenced by setEventContent().
|
private |
Definition at line 33 of file EGRegressionModifierV1.cc.
Referenced by setEventContent().
|
private |
Definition at line 54 of file EGRegressionModifierV1.cc.
Referenced by modifyObject(), and setEventContent().
|
private |
Definition at line 55 of file EGRegressionModifierV1.cc.
Referenced by modifyObject(), and setEventContent().
|
private |
Definition at line 56 of file EGRegressionModifierV1.cc.
Referenced by modifyObject(), and setEventContent().
|
private |
Definition at line 46 of file EGRegressionModifierV1.cc.
Referenced by modifyObject(), and setEvent().
|
private |
Definition at line 36 of file EGRegressionModifierV1.cc.
Referenced by setEventContent().
|
private |
Definition at line 34 of file EGRegressionModifierV1.cc.
Referenced by setEventContent().
|
private |
Definition at line 52 of file EGRegressionModifierV1.cc.
Referenced by modifyObject(), and setEventContent().
|
private |
Definition at line 53 of file EGRegressionModifierV1.cc.
Referenced by modifyObject(), and setEventContent().
|
private |
Definition at line 45 of file EGRegressionModifierV1.cc.
Referenced by setEvent().
|
private |
Definition at line 44 of file EGRegressionModifierV1.cc.
Referenced by modifyObject(), and setEvent().
|
private |
Definition at line 47 of file EGRegressionModifierV1.cc.
Referenced by setEvent().