40 extra_(conf.getParameter<
bool>(
"addExtraUserVars")) {
62 conv.addUserVars(ele);
64 conv.addExtraUserVars(ele);
67 auto const& gsfTrack = *ele.
gsfTrack();
70 ele.
setDB(gsfTrack.dxy(
pv.position()),
71 gsfTrack.dxyError(
pv.position(),
pv.covariance()),
73 ele.
setDB(gsfTrack.dz(
pv.position()), std::hypot(gsfTrack.dzError(),
pv.zError()),
LowPtElectronModifier(const edm::ParameterSet &conf, edm::ConsumesCollector &)
std::vector< Vertex > VertexCollection
collection of Vertex objects
reco::GsfTrackRef gsfTrack() const override
override the reco::GsfElectron::gsfTrack method, to access the internal storage of the supercluster ...
std::vector< Vertex > VertexCollection
std::vector< Conversion > ConversionCollection
collectin of Conversion objects
void setDB(double dB, double edB, IPTYPE type)
Set impact parameter of a certain type and its uncertainty.
reco::BeamSpot const * beamSpot_
const edm::EDGetTokenT< reco::BeamSpot > beamSpotT_
const edm::EDGetTokenT< reco::VertexCollection > verticesT_
const edm::EDGetTokenT< reco::ConversionCollection > convT_
~LowPtElectronModifier() override=default
Analysis-level electron class.
reco::ConversionCollection const * conv_
#define DEFINE_EDM_PLUGIN(factory, type, name)
void setEvent(const edm::Event &) final
void modifyObject(pat::Electron &ele) const final
void setEventContent(const edm::EventSetup &) final
reco::VertexCollection const * vertices_