CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
35  public:
36 
37  typedef std::vector< edm::FwdPtr<reco::PFCandidate> > PFCollection;
39  typedef std::vector<reco::PFCandidate> PFCollectionByValue;
40 
41  explicit PFPileUp(const edm::ParameterSet&);
42 
43  ~PFPileUp();
44 
45  virtual void produce(edm::Event&, const edm::EventSetup&) override;
46 
47  private:
48 
50 
53 
56 
58  bool enable_;
59 
61  bool verbose_;
62 
65 
66 };
67 
68 #endif
Identifies pile-up candidates from a collection of PFCandidates, and produces the corresponding colle...
Definition: PFPileUp.h:34
edm::EDGetTokenT< reco::VertexCollection > tokenVertices_
vertices
Definition: PFPileUp.h:55
virtual void produce(edm::Event &, const edm::EventSetup &) override
Definition: PFPileUp.cc:53
bool verbose_
verbose ?
Definition: PFPileUp.h:61
std::vector< reco::PFCandidate > PFCollectionByValue
Definition: PFPileUp.h:39
std::vector< edm::FwdPtr< reco::PFCandidate > > PFCollection
Definition: PFPileUp.h:37
~PFPileUp()
Definition: PFPileUp.cc:49
edm::EDGetTokenT< PFCollection > tokenPFCandidates_
PFCandidates to be analyzed.
Definition: PFPileUp.h:52
bool enable_
enable PFPileUp selection
Definition: PFPileUp.h:58
PFPileUpAlgo pileUpAlgo_
Definition: PFPileUp.h:49
bool checkClosestZVertex_
use the closest z vertex if a track is not in a vertex
Definition: PFPileUp.h:64
PFPileUp(const edm::ParameterSet &)
Definition: PFPileUp.cc:18
edm::View< reco::PFCandidate > PFView
Definition: PFPileUp.h:38