CMS 3D CMS Logo

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  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.
void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) override
pat::PATUserDataHelper< pat::CompositeCandidate > userDataHelper_
Definition: HeavyIon.h:7
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_