Public Member Functions | |
LowPtElectronModifier (const edm::ParameterSet &conf, edm::ConsumesCollector &) | |
void | modifyObject (pat::Electron &ele) const final |
void | setEvent (const edm::Event &) final |
void | setEventContent (const edm::EventSetup &) final |
~LowPtElectronModifier () override=default | |
Public Member Functions inherited from ModifyObjectValueBase | |
virtual void | modifyObject (reco::GsfElectron &) const |
virtual void | modifyObject (reco::Photon &) const |
virtual void | modifyObject (reco::Muon &) const |
virtual void | modifyObject (reco::BaseTau &) const |
virtual void | modifyObject (reco::Jet &) const |
virtual void | modifyObject (pat::Photon &) 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 | |
reco::BeamSpot const * | beamSpot_ = 0 |
const edm::EDGetTokenT< reco::BeamSpot > | beamSpotT_ |
reco::ConversionCollection const * | conv_ = 0 |
const edm::EDGetTokenT< reco::ConversionCollection > | convT_ |
bool | extra_ |
reco::VertexCollection const * | vertices_ = 0 |
const edm::EDGetTokenT< reco::VertexCollection > | verticesT_ |
Definition at line 10 of file LowPtElectronsModifier.cc.
LowPtElectronModifier::LowPtElectronModifier | ( | const edm::ParameterSet & | conf, |
edm::ConsumesCollector & | cc | ||
) |
Definition at line 32 of file LowPtElectronsModifier.cc.
|
overridedefault |
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 58 of file LowPtElectronsModifier.cc.
References LowPtConversion::addExtraUserVars(), LowPtConversion::addUserVars(), beamSpot_, pat::Electron::BS2D, conv, conv_, reco::Vertex::covariance(), DEFINE_EDM_PLUGIN, extra_, pat::Electron::gsfTrack(), LowPtConversion::match(), reco::Vertex::position(), MetAnalyzer::pv(), pat::Electron::PV2D, pat::Electron::PVDZ, pat::Electron::setDB(), vertices_, and reco::Vertex::zError().
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 46 of file LowPtElectronsModifier.cc.
References beamSpot_, beamSpotT_, conv_, convT_, edm::Event::get(), vertices_, and verticesT_.
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 54 of file LowPtElectronsModifier.cc.
|
private |
Definition at line 24 of file LowPtElectronsModifier.cc.
Referenced by modifyObject(), and setEvent().
|
private |
Definition at line 23 of file LowPtElectronsModifier.cc.
Referenced by setEvent().
|
private |
Definition at line 22 of file LowPtElectronsModifier.cc.
Referenced by modifyObject(), and setEvent().
|
private |
Definition at line 21 of file LowPtElectronsModifier.cc.
Referenced by setEvent().
|
private |
Definition at line 27 of file LowPtElectronsModifier.cc.
Referenced by modifyObject().
|
private |
Definition at line 26 of file LowPtElectronsModifier.cc.
Referenced by modifyObject(), and setEvent().
|
private |
Definition at line 25 of file LowPtElectronsModifier.cc.
Referenced by setEvent().