1 #ifndef PhysicsTools_PFCandProducer_PFPileUp_
2 #define PhysicsTools_PFCandProducer_PFPileUp_
37 typedef std::vector< edm::FwdPtr<reco::PFCandidate> >
PFCollection;
Identifies pile-up candidates from a collection of PFCandidates, and produces the corresponding colle...
edm::EDGetTokenT< reco::VertexCollection > tokenVertices_
vertices
edm::EDGetTokenT< PFView > tokenPFCandidatesView_
fall-back token
virtual void produce(edm::Event &, const edm::EventSetup &) override
std::vector< reco::PFCandidate > PFCollectionByValue
std::vector< edm::FwdPtr< reco::PFCandidate > > PFCollection
edm::EDGetTokenT< PFCollection > tokenPFCandidates_
PFCandidates to be analyzed.
bool enable_
enable PFPileUp selection
bool checkClosestZVertex_
use the closest z vertex if a track is not in a vertex
PFPileUp(const edm::ParameterSet &)
edm::View< reco::PFCandidate > PFView