Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Qipeng Hu
athena
Commits
f7e9d9f0
Commit
f7e9d9f0
authored
Nov 18, 2021
by
Tomas Dado
Browse files
AnalysisTop: Adding sum ET to the default output
parent
3ce61273
Changes
2
Hide whitespace changes
Inline
Side-by-side
PhysicsAnalysis/TopPhys/xAOD/TopAnalysis/Root/EventSaverFlatNtuple.cxx
View file @
f7e9d9f0
...
...
@@ -110,6 +110,7 @@ namespace top {
m_useVarRCAdditionalJSS
(
false
),
m_useElectronChargeIDSelection
(
false
),
m_met_met
(
0.
),
m_met_sumet
(
0.
),
m_met_phi
(
0.
),
m_met_met_withLooseObjects
(
0.
),
m_met_phi_withLooseObjects
(
0.
)
{
...
...
@@ -1127,6 +1128,7 @@ namespace top {
//met
systematicTree
->
makeOutputVariable
(
m_met_met
,
"met_met"
);
systematicTree
->
makeOutputVariable
(
m_met_sumet
,
"met_sumet"
);
systematicTree
->
makeOutputVariable
(
m_met_phi
,
"met_phi"
);
//these are for specific studies on the met, turned off by default, and turned on with the WriteMETBuiltWithLooseObjects option
if
(
m_config
->
writeMETBuiltWithLooseObjects
())
...
...
@@ -3440,6 +3442,7 @@ namespace top {
//met
m_met_met
=
event
.
m_met
->
met
();
m_met_sumet
=
event
.
m_met
->
sumet
();
m_met_phi
=
event
.
m_met
->
phi
();
if
(
m_config
->
writeMETBuiltWithLooseObjects
())
...
...
PhysicsAnalysis/TopPhys/xAOD/TopAnalysis/TopAnalysis/EventSaverFlatNtuple.h
View file @
f7e9d9f0
...
...
@@ -732,6 +732,7 @@ namespace top {
//met
float
m_met_met
;
float
m_met_sumet
;
float
m_met_phi
;
//these are for specific studies on the met, turned off by default, and turned on with the WriteMETBuiltWithLooseObjects option
float
m_met_met_withLooseObjects
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment