CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Type1PFMET.h
Go to the documentation of this file.
1 #ifndef PhysicsTools_PFCandProducer_Type1PFMET_h
2 #define PhysicsTools_PFCandProducer_Type1PFMET_h
3 
13 // system include files
14 #include <memory>
15 #include <string.h>
16 
17 // user include files
27 
28 
29 
30 // PRODUCER CLASS DEFINITION -------------------------------------
31 class Type1PFMET : public edm::EDProducer
32 {
33  public:
34  explicit Type1PFMET( const edm::ParameterSet& );
35  explicit Type1PFMET();
36  virtual ~Type1PFMET();
37  virtual void produce( edm::Event&, const edm::EventSetup& );
38  private:
39  std::string inputUncorMetLabel;
41  std::string correctorLabel;
45  void run(const reco::METCollection& uncorMET,
46  const JetCorrector& corrector,
47  const reco::PFJetCollection& uncorJet,
48  double jetPTthreshold,
49  double jetEMfracLimit,
50  double jetMufracLimit,
51  reco::METCollection* corMET);
52 };
53 
54 #endif
Computes the Type-1 corrections for pfMET. A specific version of the Type1MET class from the JetMETCo...
Definition: Type1PFMET.h:31
std::string correctorLabel
Definition: Type1PFMET.h:41
std::string inputUncorMetLabel
Definition: Type1PFMET.h:39
double jetEMfracLimit
Definition: Type1PFMET.h:43
std::vector< reco::MET > METCollection
collection of MET objects
Definition: METCollection.h:23
edm::InputTag inputUncorJetsTag
Definition: Type1PFMET.h:40
virtual ~Type1PFMET()
Definition: Type1PFMET.cc:27
double jetPTthreshold
Definition: Type1PFMET.h:42
std::vector< PFJet > PFJetCollection
collection of PFJet objects
double jetMufracLimit
Definition: Type1PFMET.h:44
virtual void produce(edm::Event &, const edm::EventSetup &)
Definition: Type1PFMET.cc:30
void run(const reco::METCollection &uncorMET, const JetCorrector &corrector, const reco::PFJetCollection &uncorJet, double jetPTthreshold, double jetEMfracLimit, double jetMufracLimit, reco::METCollection *corMET)
Definition: Type1PFMET.cc:45