45 max_dz_{iConfig.getParameter<
double>(
"max_dz")},
46 v_recoVertexToken_{consumes<std::vector<reco::Vertex>>(iConfig.getParameter<
edm::InputTag>(
"srcVertex"))},
47 v_recoTrackToken_{consumes<std::vector<reco::Track>>(iConfig.getParameter<
edm::InputTag>(
"srcTrack"))} {
48 produces<std::vector<reco::Track>>();
63 auto goodTracks = std::make_unique<std::vector<reco::Track>>();
65 auto const& vtxPos =
vertices->front().position();
edm::EDGetTokenT< std::vector< reco::Vertex > > v_recoVertexToken_
T getParameter(std::string const &) const
edm::EDGetTokenT< std::vector< reco::Track > > v_recoTrackToken_
TrackFromPVSelector(edm::ParameterSet const &iConfig)
void produce(edm::StreamID, edm::Event &iEvent, edm::EventSetup const &iSetup) const override
Abs< T >::type abs(const T &t)
#define DEFINE_FWK_MODULE(type)
auto const & tracks
cannot be loose