Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
RecoMET
METProducers
interface
METProducer.h
Go to the documentation of this file.
1
#ifndef METProducer_h
2
#define METProducer_h
3
15
#include <vector>
16
#include <cstdlib>
17
#include <string.h>
18
#include "
FWCore/Framework/interface/EDProducer.h
"
19
#include "
FWCore/Framework/interface/Event.h
"
20
#include "
DataFormats/Common/interface/Handle.h
"
21
#include "
FWCore/Framework/interface/EventSetup.h
"
22
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
23
#include "
RecoMET/METAlgorithms/interface/METAlgo.h
"
24
#include "
RecoMET/METAlgorithms/interface/TCMETAlgo.h
"
25
#include "
DataFormats/Math/interface/LorentzVector.h
"
26
#include "
DataFormats/Math/interface/Point3D.h
"
27
#include "
DataFormats/JetReco/interface/CaloJetCollection.h
"
28
#include "
DataFormats/METReco/interface/METFwd.h
"
29
#include "
DataFormats/METReco/interface/CaloMETFwd.h
"
30
#include "
DataFormats/METReco/interface/GenMETFwd.h
"
31
#include "
DataFormats/METReco/interface/PFMETFwd.h
"
32
#include "
DataFormats/METReco/interface/PFClusterMETFwd.h
"
33
#include "
DataFormats/Candidate/interface/Candidate.h
"
34
#include "
DataFormats/Common/interface/OwnVector.h
"
35
#include "TH2F.h"
36
37
class
TCMETAlgo
;
38
39
namespace
metsig{
40
class
SignAlgoResolutions;
41
}
42
43
namespace
cms
44
{
45
class
METProducer
:
public
edm::EDProducer
46
{
47
public
:
48
typedef
math::XYZTLorentzVector
LorentzVector
;
49
typedef
math::XYZPoint
Point
;
50
typedef
edm::OwnVector<reco::Candidate>
CandidateCollection
;
51
explicit
METProducer
(
const
edm::ParameterSet
&);
52
explicit
METProducer
();
53
virtual
~METProducer
();
54
//const CandidateCollection* convert( const reco::CaloJetCollection* );
55
virtual
void
produce
(
edm::Event
&,
const
edm::EventSetup
&);
56
57
private
:
58
METAlgo
alg_
;
59
edm::InputTag
inputLabel
;
60
std::string
inputType
;
61
std::string
METtype
;
62
std::string
alias
;
63
64
//Calculate MET Significance (not necessary at HLT)
65
bool
calculateSignificance_
;
66
metsig::SignAlgoResolutions
*
resolutions_
;
67
edm::InputTag
jetsLabel_
;
//used for jet-based significance calculation
68
69
//Use HF in CaloMET calculation?
70
bool
noHF
;
71
72
//Use an Et threshold on all of the objects in the CaloMET calculation?
73
double
globalThreshold
;
74
75
//Use only fiducial GenParticles in GenMET calculation?
76
bool
onlyFiducial
;
77
78
//Use Pt instaed of Et
79
bool
usePt
;
80
81
TCMETAlgo
*
tcmetalgorithm
;
82
int
myResponseFunctionType
;
83
84
};
85
}
86
87
#endif // METProducer_h
cms::METProducer::inputLabel
edm::InputTag inputLabel
Definition:
METProducer.h:59
METAlgo
Definition:
METAlgo.h:21
cms::METProducer::calculateSignificance_
bool calculateSignificance_
Definition:
METProducer.h:65
cms::METProducer::noHF
bool noHF
Definition:
METProducer.h:70
Event.h
CaloJetCollection.h
cms::METProducer::alias
std::string alias
Definition:
METProducer.h:62
EventSetup.h
cms::METProducer::usePt
bool usePt
Definition:
METProducer.h:79
Handle.h
GenMETFwd.h
METFwd.h
Point3D.h
cms::METProducer::onlyFiducial
bool onlyFiducial
Definition:
METProducer.h:76
TCMETAlgo.h
edm::EDProducer
Definition:
EDProducer.h:21
PFClusterMETFwd.h
ParameterSet.h
math::XYZTLorentzVector
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition:
LorentzVector.h:30
Candidate.h
cms::METProducer::METProducer
METProducer()
Definition:
METProducer.cc:125
edm::OwnVector
Definition:
OwnVector.h:25
cms::METProducer::produce
virtual void produce(edm::Event &, const edm::EventSetup &)
Definition:
METProducer.cc:141
cms::METProducer::CandidateCollection
edm::OwnVector< reco::Candidate > CandidateCollection
Definition:
METProducer.h:50
cms::METProducer::Point
math::XYZPoint Point
Definition:
METProducer.h:49
TCMETAlgo
Definition:
TCMETAlgo.h:49
edm::EventSetup
Definition:
EventSetup.h:44
cms::METProducer::inputType
std::string inputType
Definition:
METProducer.h:60
metsig::SignAlgoResolutions
Definition:
SignAlgoResolutions.h:44
LorentzVector.h
cms::METProducer
Definition:
METProducer.h:45
cms::METProducer::alg_
METAlgo alg_
Definition:
METProducer.h:58
cms::METProducer::tcmetalgorithm
TCMETAlgo * tcmetalgorithm
Definition:
METProducer.h:81
EDProducer.h
METAlgo.h
cms::METProducer::myResponseFunctionType
int myResponseFunctionType
Definition:
METProducer.h:82
cms::METProducer::globalThreshold
double globalThreshold
Definition:
METProducer.h:73
math::XYZPoint
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition:
Point3D.h:13
CaloMETFwd.h
PFMETFwd.h
cms::METProducer::jetsLabel_
edm::InputTag jetsLabel_
Definition:
METProducer.h:67
OwnVector.h
edm::InputTag
Definition:
InputTag.h:12
cms::METProducer::resolutions_
metsig::SignAlgoResolutions * resolutions_
Definition:
METProducer.h:66
edm::ParameterSet
Definition:
ParameterSet.h:35
cms::METProducer::LorentzVector
math::XYZTLorentzVector LorentzVector
Definition:
METProducer.h:48
edm::Event
Definition:
Event.h:50
cms::METProducer::~METProducer
virtual ~METProducer()
Definition:
METProducer.cc:135
cms::METProducer::METtype
std::string METtype
Definition:
METProducer.h:61
Generated for CMSSW Reference Manual by
1.8.5