CommonTools
ParticleFlow
interface
PFMETAlgo.h
Go to the documentation of this file.
1
#ifndef CommonTools_ParticleFlow_PFMETAlgo_
2
#define CommonTools_ParticleFlow_PFMETAlgo_
3
4
// system include files
5
#include <memory>
6
#include <string>
7
8
// user include files
9
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
10
/* #include "FWCore/Framework/interface/EDProducer.h" */
11
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
12
13
/* #include "FWCore/Framework/interface/Event.h" */
14
/* #include "FWCore/Framework/interface/MakerMacros.h" */
15
16
#include "
DataFormats/ParticleFlowCandidate/interface/PFCandidateFwd.h
"
17
18
//not a fwd declaration, to save the pain to the user to include the necessary DF header as well
19
#include "
DataFormats/METReco/interface/MET.h
"
20
28
namespace
pf2pat
{
29
30
class
PFMETAlgo
{
31
public
:
32
explicit
PFMETAlgo
(
const
edm::ParameterSet
&);
33
34
~PFMETAlgo
();
35
36
reco::MET
produce
(
const
reco::PFCandidateCollection
&
pfCandidates
);
37
38
private
:
40
double
hfCalibFactor_
;
41
43
bool
verbose_
;
44
};
45
}
// namespace pf2pat
46
47
#endif
zmumugammaAnalyzer_cfi.pfCandidates
pfCandidates
Definition:
zmumugammaAnalyzer_cfi.py:11
pf2pat
Definition:
ElectronIDPFCandidateSelectorDefinition.h:22
reco::MET
Definition:
MET.h:41
pf2pat::PFMETAlgo::PFMETAlgo
PFMETAlgo(const edm::ParameterSet &)
Definition:
PFMETAlgo.cc:17
pf2pat::PFMETAlgo::~PFMETAlgo
~PFMETAlgo()
Definition:
PFMETAlgo.cc:23
pf2pat::PFMETAlgo::verbose_
bool verbose_
verbose ?
Definition:
PFMETAlgo.h:43
pf2pat::PFMETAlgo::produce
reco::MET produce(const reco::PFCandidateCollection &pfCandidates)
Definition:
PFMETAlgo.cc:25
edm::ParameterSet
Definition:
ParameterSet.h:47
pf2pat::PFMETAlgo
Definition:
PFMETAlgo.h:30
MET.h
Frameworkfwd.h
reco::PFCandidateCollection
std::vector< reco::PFCandidate > PFCandidateCollection
collection of PFCandidates
Definition:
PFCandidateFwd.h:12
ParameterSet.h
pf2pat::PFMETAlgo::hfCalibFactor_
double hfCalibFactor_
HF calibration factor (in 31X applied by PFProducer)
Definition:
PFMETAlgo.h:40
PFCandidateFwd.h
Generated for CMSSW Reference Manual by
1.8.16