16 std::vector<const reco::Track*>&)
override;
28 std::vector<const reco::Track*> &nonTauTracks){
33 for(
const auto& tauTrack : tauTracks){
34 if (tauTrack.id() == vtxTrkRef->id() && tauTrack.key() == vtxTrkRef->key()) {
39 if( !matched ) nonTauTracks.push_back((*vtxTrkRef).get());
46 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 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>
void nonTauTracksInPV(const reco::VertexRef &, const std::vector< edm::Ptr< reco::TrackBase > > &, std::vector< const reco::Track * > &) override