CMS 3D CMS Logo

PFCandMETcorrInputProducer.h
Go to the documentation of this file.
1 #ifndef JetMETCorrections_Type1MET_PFCandMETcorrInputProducer_h
2 #define JetMETCorrections_Type1MET_PFCandMETcorrInputProducer_h
3 
22 
24 
27 
28 #include <string>
29 
31 {
32  public:
33 
35  ~PFCandMETcorrInputProducer() override;
36 
37  private:
38 
39  void produce(edm::Event&, const edm::EventSetup&) override;
40 
42 
44 
46  {
48  : binLabel_(""),
50  {}
52  : binLabel_(cfg.getParameter<std::string>("binLabel")),
53  binSelection_(new StringCutObjectSelector<reco::Candidate::LorentzVector>(cfg.getParameter<std::string>("binSelection")))
54  {}
56  {
57  }
59  std::unique_ptr<const StringCutObjectSelector<reco::Candidate::LorentzVector> > binSelection_;
61  };
62  std::vector<std::unique_ptr<binningEntryType> > binning_;
63 };
64 
65 #endif
66 
67 
68 
69 
std::unique_ptr< const StringCutObjectSelector< reco::Candidate::LorentzVector > > binSelection_
edm::EDGetTokenT< edm::View< reco::Candidate > > token_
#define nullptr
std::vector< std::unique_ptr< binningEntryType > > binning_
PFCandMETcorrInputProducer(const edm::ParameterSet &)
math::XYZTLorentzVector LorentzVector
a MET correction term
Definition: CorrMETData.h:14
fixed size matrix
void produce(edm::Event &, const edm::EventSetup &) override