Go to the documentation of this file.
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()),
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
const edm::EDGetTokenT< reco::VertexCollection > verticesT_
void setEvent(const edm::Event &) final
LowPtElectronModifier(const edm::ParameterSet &conf, edm::ConsumesCollector &)
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.
#define DEFINE_EDM_PLUGIN(factory, type, name)
const edm::EDGetTokenT< reco::ConversionCollection > convT_
reco::ConversionCollection const * conv_
void modifyObject(pat::Electron &ele) const final
std::vector< Vertex > VertexCollection
reco::BeamSpot const * beamSpot_
const edm::EDGetTokenT< reco::BeamSpot > beamSpotT_
~LowPtElectronModifier() override=default
Analysis-level electron class.
void setEventContent(const edm::EventSetup &) final
reco::VertexCollection const * vertices_