15 std::vector<const reco::Track*>&)
override;
25 std::vector<const reco::Track*>& nonTauTracks) {
30 for (
const auto& tauTrack : tauTracks) {
31 if (tauTrack.id() == vtxTrkRef->id() && tauTrack.key() == vtxTrkRef->key()) {
37 nonTauTracks.push_back((*vtxTrkRef).get());
43 descriptions.
add(
"pfTauPrimaryVertexProducer",
desc);
~PFTauPrimaryVertexProducer() override
RECO/AOD implementation of the PFTauPrimaryVertexProducer plugin.
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
#define DEFINE_FWK_MODULE(type)
void nonTauTracksInPV(const reco::VertexRef &, const std::vector< edm::Ptr< reco::TrackBase > > &, std::vector< const reco::Track *> &) override
void add(std::string const &label, ParameterSetDescription const &psetDescription)
static edm::ParameterSetDescription getDescriptionsBase()
PFTauPrimaryVertexProducer(const edm::ParameterSet &iConfig)
std::vector< TrackBaseRef >::const_iterator trackRef_iterator
The iteratator for the vector<TrackRef>