Classes | |
struct | CondNames |
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_ |
edm::ESHandle< CaloGeometry > | caloGeomH_ |
std::string | condNamesWeight25ns_ |
std::string | condNamesWeight50ns_ |
CondNames | eleCondNames_ |
std::vector< const GBRForestD * > | eleForestsMean_ |
std::vector< const GBRForestD * > | eleForestsSigma_ |
const GBRForest * | epForest_ |
int | nVtx_ |
CondNames | phoCondNames_ |
std::vector< const GBRForestD * > | phoForestsMean_ |
std::vector< const GBRForestD * > | phoForestsSigma_ |
edm::EDGetTokenT< double > | rhoToken_ |
float | rhoValue_ |
edm::Handle< reco::VertexCollection > | vtxH_ |
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 68 of file EGRegressionModifierV1.cc.
References autoDetectBunchSpacing_, bunchSpacingToken_, condNamesWeight25ns_, condNamesWeight50ns_, edm::ConsumesCollector::consumes(), eleCondNames_, nano_cff::electrons, edm::ParameterSet::getParameter(), EGRegressionModifierV1::CondNames::mean50ns, phoCondNames_, nano_cff::photons, and AlCaHLTBitMon_QueryRunRegistry::string.
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 130 of file EGRegressionModifierV1.cc.
References funct::abs(), applyExtraHighEnergyProtection_, caloGeomH_, reco::GsfElectron::classification(), constexpr, reco::GsfElectron::correctMomentum(), reco::deltaPhi(), reco::deltaR(), reco::GsfElectron::ecalDriven(), eleForestsMean_, eleForestsSigma_, reco::CaloCluster::energy(), epForest_, reco::CaloCluster::eta(), GBRForest::GetResponse(), createfilelist::int, edm::Ref< C, T, F >::isAvailable(), reco::GsfElectron::isEB(), egammaTools::localEcalClusterCoordsEB(), egammaTools::localEcalClusterCoordsEE(), SiStripPI::max, jets_cff::maxDR, SiStripPI::mean, nVtx_, reco::GsfElectron::p4(), reco::CaloCluster::phi(), mathSSE::return(), 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 312 of file EGRegressionModifierV1.cc.
References funct::abs(), reco::deltaPhi(), reco::Photon::e5x5(), reco::CaloCluster::energy(), reco::CaloCluster::eta(), reco::Photon::hadronicOverEm(), edm::Ref< C, T, F >::isAvailable(), reco::Photon::isEB(), SiStripPI::max, SiStripPI::mean, nVtx_, reco::CaloCluster::phi(), phoForestsMean_, phoForestsSigma_, reco::Photon::r9(), mathSSE::return(), rhoValue_, reco::CaloCluster::seed(), reco::Photon::setCorrectedEnergy(), reco::Photon::showerShapeVariables(), and reco::Photon::superCluster().
|
inlinefinalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 30 of file EGRegressionModifierV1.cc.
References modifyObject().
Referenced by modifyObject().
|
inlinefinalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 31 of file EGRegressionModifierV1.cc.
References modifyObject().
Referenced by modifyObject().
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 98 of file EGRegressionModifierV1.cc.
References autoDetectBunchSpacing_, bunchspacing_, bunchSpacingToken_, edm::Event::getByToken(), nVtx_, rhoToken_, rhoValue_, vtxH_, and vtxToken_.
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 114 of file EGRegressionModifierV1.cc.
References bunchspacing_, caloGeomH_, condNamesWeight25ns_, condNamesWeight50ns_, eleCondNames_, eleForestsMean_, eleForestsSigma_, epForest_, edm::EventSetup::get(), EGRegressionModifierV1::CondNames::mean25ns, EGRegressionModifierV1::CondNames::mean50ns, phoCondNames_, phoForestsMean_, phoForestsSigma_, edm::ESHandle< T >::product(), retrieveGBRForests(), EGRegressionModifierV1::CondNames::sigma25ns, EGRegressionModifierV1::CondNames::sigma50ns, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 57 of file EGRegressionModifierV1.cc.
Referenced by modifyObject().
|
private |
Definition at line 48 of file EGRegressionModifierV1.cc.
Referenced by EGRegressionModifierV1(), and setEvent().
|
private |
Definition at line 49 of file EGRegressionModifierV1.cc.
Referenced by setEvent(), and setEventContent().
|
private |
Definition at line 50 of file EGRegressionModifierV1.cc.
Referenced by EGRegressionModifierV1(), and setEvent().
|
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 EGRegressionModifierV1(), and setEventContent().
|
private |
Definition at line 45 of file EGRegressionModifierV1.cc.
Referenced by EGRegressionModifierV1(), and setEventContent().
|
private |
Definition at line 42 of file EGRegressionModifierV1.cc.
Referenced by EGRegressionModifierV1(), and setEventContent().
|
private |
Definition at line 61 of file EGRegressionModifierV1.cc.
Referenced by modifyObject(), and setEventContent().
|
private |
Definition at line 62 of file EGRegressionModifierV1.cc.
Referenced by modifyObject(), and setEventContent().
|
private |
Definition at line 63 of file EGRegressionModifierV1.cc.
Referenced by modifyObject(), and setEventContent().
|
private |
Definition at line 53 of file EGRegressionModifierV1.cc.
Referenced by modifyObject(), and setEvent().
|
private |
Definition at line 43 of file EGRegressionModifierV1.cc.
Referenced by EGRegressionModifierV1(), and setEventContent().
|
private |
Definition at line 59 of file EGRegressionModifierV1.cc.
Referenced by modifyObject(), and setEventContent().
|
private |
Definition at line 60 of file EGRegressionModifierV1.cc.
Referenced by modifyObject(), and setEventContent().
|
private |
Definition at line 52 of file EGRegressionModifierV1.cc.
Referenced by setEvent().
|
private |
Definition at line 51 of file EGRegressionModifierV1.cc.
Referenced by modifyObject(), and setEvent().
|
private |
Definition at line 55 of file EGRegressionModifierV1.cc.
Referenced by setEvent().
|
private |
Definition at line 54 of file EGRegressionModifierV1.cc.
Referenced by setEvent().