CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PATCompositeCandidateProducer.h
Go to the documentation of this file.
1 //
2 //
3 
4 #ifndef PhysicsTools_PatAlgos_PATCompositeCandidateProducer_h
5 #define PhysicsTools_PatAlgos_PATCompositeCandidateProducer_h
6 
22 
27 
29 
31 
37 
38 namespace pat {
39 
41 
42  public:
43 
44  explicit PATCompositeCandidateProducer(const edm::ParameterSet & iConfig);
46 
47  virtual void produce(edm::Event & iEvent, const edm::EventSetup& iSetup) override;
48 
49  private:
50 
51  // configurables
52  const edm::EDGetTokenT<edm::View<reco::CompositeCandidate> > srcToken_; // list of reco::CompositeCandidates
53 
54  const bool useUserData_;
56 
57  const bool addEfficiencies_;
59 
60  const bool addResolutions_;
62  };
63 
64 
65 }
66 
67 #endif
Assists in assimilating all pat::UserData into pat objects.
virtual void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) override
pat::PATUserDataHelper< pat::CompositeCandidate > userDataHelper_
int iEvent
Definition: GenABIO.cc:230
pat::helper::KinResolutionsLoader resolutionLoader_
Produces the pat::CompositeCandidate.
const edm::EDGetTokenT< edm::View< reco::CompositeCandidate > > srcToken_
PATCompositeCandidateProducer(const edm::ParameterSet &iConfig)
pat::helper::EfficiencyLoader efficiencyLoader_