src
DataFormats
METReco
src
GenMET.cc
Go to the documentation of this file.
1
#include "
DataFormats/METReco/interface/GenMET.h
"
2
3
using namespace
reco
;
4
5
GenMET::GenMET
() {
6
gen_data
.
NeutralEMEtFraction
= 0.0;
7
gen_data
.
NeutralHadEtFraction
= 0.0;
8
gen_data
.
ChargedEMEtFraction
= 0.0;
9
gen_data
.
ChargedHadEtFraction
= 0.0;
10
gen_data
.
MuonEtFraction
= 0.0;
11
gen_data
.
InvisibleEtFraction
= 0.0;
12
13
//obsolete variables that need to be removed in 4_X_Y
14
gen_data
.
m_EmEnergy
= 0.0;
15
gen_data
.
m_HadEnergy
= 0.0;
16
gen_data
.
m_InvisibleEnergy
= 0.0;
17
gen_data
.
m_AuxiliaryEnergy
= 0.0;
18
}
19
20
bool
GenMET::overlap
(
const
Candidate
&)
const
{
return
false
; }
SpecificGenMETData::m_EmEnergy
float m_EmEnergy
Definition:
SpecificGenMETData.h:42
SpecificGenMETData::InvisibleEtFraction
float InvisibleEtFraction
Definition:
SpecificGenMETData.h:39
SpecificGenMETData::MuonEtFraction
float MuonEtFraction
Definition:
SpecificGenMETData.h:38
reco::Candidate
Definition:
Candidate.h:27
GenMET.h
SpecificGenMETData::m_InvisibleEnergy
float m_InvisibleEnergy
Definition:
SpecificGenMETData.h:44
SpecificGenMETData::ChargedEMEtFraction
float ChargedEMEtFraction
Definition:
SpecificGenMETData.h:36
SpecificGenMETData::m_HadEnergy
float m_HadEnergy
Definition:
SpecificGenMETData.h:43
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:46
SpecificGenMETData::NeutralEMEtFraction
float NeutralEMEtFraction
Definition:
SpecificGenMETData.h:34
SpecificGenMETData::m_AuxiliaryEnergy
float m_AuxiliaryEnergy
Definition:
SpecificGenMETData.h:45
SpecificGenMETData::ChargedHadEtFraction
float ChargedHadEtFraction
Definition:
SpecificGenMETData.h:37
reco::GenMET::overlap
bool overlap(const Candidate &) const override
check overlap with another candidate
Definition:
GenMET.cc:20
reco::GenMET::gen_data
SpecificGenMETData gen_data
Definition:
GenMET.h:81
SpecificGenMETData::NeutralHadEtFraction
float NeutralHadEtFraction
Definition:
SpecificGenMETData.h:35
reco::GenMET::GenMET
GenMET()
Definition:
GenMET.cc:5
Generated for CMSSW Reference Manual by
1.8.14