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) {
67 if (!std::isfinite(
cand.pt()))
69 if (
cand.vertexRef().isNull())
72 if (
cand.vertexRef().key() != thePVkey ||
82 for (
const auto &tauTrack : tauTracks) {
91 nonTauTracks.push_back(
track);
100 descriptions.
add(
"pfTauMiniAODPrimaryVertexProducer",
desc);
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
PFTauMiniAODPrimaryVertexProducer(const edm::ParameterSet &iConfig)
const uint32_t *__restrict__ Quality * quality
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_