Go to the documentation of this file.
18 std::vector<const reco::Track *> &)
override;
24 std::vector<const reco::Track *> &);
47 std::vector<const reco::Track *> &nonTauTracks) {
60 const size_t &thePVkey,
63 std::vector<const reco::Track *> &nonTauTracks) {
66 if (
cand.vertexRef().isNull())
69 if (
cand.vertexRef().key() != thePVkey ||
79 for (
const auto &tauTrack : tauTracks) {
88 nonTauTracks.push_back(
track);
97 descriptions.
add(
"pfTauMiniAODPrimaryVertexProducer", desc);
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
PFTauMiniAODPrimaryVertexProducer(const edm::ParameterSet &iConfig)
MiniAOD implementation of the PFTauPrimaryVertexProducer plugin.
#define DEFINE_FWK_MODULE(type)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
edm::Handle< pat::PackedCandidateCollection > packedCands_
void nonTauTracksInPV(const reco::VertexRef &, const std::vector< edm::Ptr< reco::TrackBase > > &, std::vector< const reco::Track * > &) override
void nonTauTracksInPVFromPackedCands(const size_t &, const pat::PackedCandidateCollection &, const std::vector< edm::Ptr< reco::TrackBase > > &, std::vector< const reco::Track * > &)
std::vector< pat::PackedCandidate > PackedCandidateCollection
~PFTauMiniAODPrimaryVertexProducer() override
static edm::ParameterSetDescription getDescriptionsBase()
void beginEvent(const edm::Event &, const edm::EventSetup &) override
edm::EDGetTokenT< pat::PackedCandidateCollection > packedCandsToken_
key_type key() const
Accessor for product key.
Abs< T >::type abs(const T &t)
edm::Handle< pat::PackedCandidateCollection > lostCands_
edm::EDGetTokenT< pat::PackedCandidateCollection > lostCandsToken_