File indexing completed on 2024-04-06 12:01:05
0001 #ifndef CommonTools_ParticleFlow_PFMETAlgo_
0002 #define CommonTools_ParticleFlow_PFMETAlgo_
0003
0004
0005 #include <memory>
0006 #include <string>
0007
0008
0009 #include "FWCore/Framework/interface/Frameworkfwd.h"
0010 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0011
0012 #include "DataFormats/ParticleFlowCandidate/interface/PFCandidateFwd.h"
0013
0014
0015 #include "DataFormats/METReco/interface/MET.h"
0016
0017
0018
0019
0020
0021
0022
0023
0024 namespace pf2pat {
0025
0026 class PFMETAlgo {
0027 public:
0028 explicit PFMETAlgo(const edm::ParameterSet&);
0029
0030 reco::MET produce(const reco::PFCandidateCollection& pfCandidates) const;
0031
0032 private:
0033
0034 double hfCalibFactor_;
0035
0036
0037 bool verbose_;
0038 };
0039 }
0040
0041 #endif