CMS 3D CMS Logo

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 <cstring>
16 
17 // user include files
27 
28 
29 
30 // PRODUCER CLASS DEFINITION -------------------------------------
32 {
33  public:
34  explicit Type1PFMET( const edm::ParameterSet& );
35  explicit Type1PFMET();
36  ~Type1PFMET() override;
37  void produce( edm::Event&, const edm::EventSetup& ) override;
38  private:
45  void run(const reco::METCollection& uncorMET,
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
~Type1PFMET() override
Definition: Type1PFMET.cc:27
double jetEMfracLimit
Definition: Type1PFMET.h:43
std::vector< reco::MET > METCollection
collection of MET objects
Definition: METCollection.h:23
void produce(edm::Event &, const edm::EventSetup &) override
Definition: Type1PFMET.cc:30
void run(const reco::METCollection &uncorMET, const reco::JetCorrector &corrector, const reco::PFJetCollection &uncorJet, double jetPTthreshold, double jetEMfracLimit, double jetMufracLimit, reco::METCollection *corMET)
Definition: Type1PFMET.cc:46
double jetPTthreshold
Definition: Type1PFMET.h:42
std::vector< PFJet > PFJetCollection
collection of PFJet objects
double jetMufracLimit
Definition: Type1PFMET.h:44
edm::EDGetTokenT< reco::PFJetCollection > tokenUncorJets
Definition: Type1PFMET.h:40
edm::EDGetTokenT< reco::METCollection > tokenUncorMet
Definition: Type1PFMET.h:39
edm::EDGetTokenT< reco::JetCorrector > correctorToken
Definition: Type1PFMET.h:41