CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PFCandMETcorrInputProducer.h
Go to the documentation of this file.
1 #ifndef JetMETCorrections_Type1MET_PFCandMETcorrInputProducer_h
2 #define JetMETCorrections_Type1MET_PFCandMETcorrInputProducer_h
3 
24 
26 
29 
30 #include <string>
31 
33 {
34  public:
35 
38 
39  private:
40 
41  void produce(edm::Event&, const edm::EventSetup&);
42 
43  std::string moduleLabel_;
44 
45  edm::InputTag src_; // PFCandidate input collection
46 
48  {
50  : binLabel_(""),
51  binSelection_(0)
52  {}
54  : binLabel_(cfg.getParameter<std::string>("binLabel")),
55  binSelection_(new StringCutObjectSelector<reco::Candidate::LorentzVector>(cfg.getParameter<std::string>("binSelection")))
56  {}
58  {
59  delete binSelection_;
60  }
61  std::string binLabel_;
64  };
65  std::vector<binningEntryType*> binning_;
66 };
67 
68 #endif
69 
70 
71 
72 
math::XYZTLorentzVector LorentzVector
StringCutObjectSelector< reco::Candidate::LorentzVector > * binSelection_
PFCandMETcorrInputProducer(const edm::ParameterSet &)
std::vector< binningEntryType * > binning_
a MET correction term
Definition: CorrMETData.h:14
void produce(edm::Event &, const edm::EventSetup &)