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 
21 
26 
28 
30 
36 
37 namespace pat {
38 
40  public:
41  explicit PATCompositeCandidateProducer(const edm::ParameterSet& iConfig);
43 
44  void produce(edm::Event& iEvent, const edm::EventSetup& iSetup) override;
45 
46  private:
47  // configurables
48  const edm::EDGetTokenT<edm::View<reco::CompositeCandidate> > srcToken_; // list of reco::CompositeCandidates
49 
50  const bool useUserData_;
52 
53  const bool addEfficiencies_;
55 
56  const bool addResolutions_;
58  };
59 
60 } // namespace pat
61 
62 #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:224
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_