CMS 3D CMS Logo

PFPileUp.h
Go to the documentation of this file.
1 #ifndef PhysicsTools_PFCandProducer_PFPileUp_
2 #define PhysicsTools_PFCandProducer_PFPileUp_
3 
4 // system include files
5 #include <memory>
6 #include <string>
7 
8 // user include files
12 
15 
18 
20 
32 public:
33  typedef std::vector<edm::FwdPtr<reco::PFCandidate> > PFCollection;
35  typedef std::vector<reco::PFCandidate> PFCollectionByValue;
36 
37  explicit PFPileUp(const edm::ParameterSet&);
38 
39  ~PFPileUp() override;
40 
41  void produce(edm::Event&, const edm::EventSetup&) override;
42 
43 private:
45 
50 
53 
55  bool enable_;
56 
58  bool verbose_;
59 
62 };
63 
64 #endif
PFPileUpAlgo
Definition: PFPileUpAlgo.h:12
PFPileUp::PFView
edm::View< reco::PFCandidate > PFView
Definition: PFPileUp.h:34
edm::EDGetTokenT< PFCollection >
PFPileUp::tokenVertices_
edm::EDGetTokenT< reco::VertexCollection > tokenVertices_
vertices
Definition: PFPileUp.h:52
EDProducer.h
PFPileUp::tokenPFCandidatesView_
edm::EDGetTokenT< PFView > tokenPFCandidatesView_
fall-back token
Definition: PFPileUp.h:49
MakerMacros.h
PFPileUp::verbose_
bool verbose_
verbose ?
Definition: PFPileUp.h:58
edm::View< reco::PFCandidate >
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
PFPileUp::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition: PFPileUp.cc:44
edm::stream::EDProducer
Definition: EDProducer.h:38
PFPileUp
Identifies pile-up candidates from a collection of PFCandidates, and produces the corresponding colle...
Definition: PFPileUp.h:31
PFPileUp::PFPileUp
PFPileUp(const edm::ParameterSet &)
Definition: PFPileUp.cc:17
edm::EventSetup
Definition: EventSetup.h:58
VertexFwd.h
PFPileUpAlgo.h
PFPileUp::enable_
bool enable_
enable PFPileUp selection
Definition: PFPileUp.h:55
Frameworkfwd.h
PFPileUp::PFCollection
std::vector< edm::FwdPtr< reco::PFCandidate > > PFCollection
Definition: PFPileUp.h:33
PFPileUp::PFCollectionByValue
std::vector< reco::PFCandidate > PFCollectionByValue
Definition: PFPileUp.h:35
PFPileUp::checkClosestZVertex_
bool checkClosestZVertex_
use the closest z vertex if a track is not in a vertex
Definition: PFPileUp.h:61
PFPileUp::tokenPFCandidates_
edm::EDGetTokenT< PFCollection > tokenPFCandidates_
PFCandidates to be analyzed.
Definition: PFPileUp.h:47
ParameterSet.h
edm::Event
Definition: Event.h:73
PFPileUp::~PFPileUp
~PFPileUp() override
Definition: PFPileUp.cc:42
PFPileUp::pileUpAlgo_
PFPileUpAlgo pileUpAlgo_
Definition: PFPileUp.h:44
PFCandidateFwd.h