Commit 8e598596 authored by Walter Lampl's avatar Walter Lampl
Browse files

Merge branch 'AT-SumET' into 'master'

AnalysisTop: Adding sum ET to the default output

See merge request atlas/athena!48339
parents 09ebe02b f7e9d9f0
...@@ -110,6 +110,7 @@ namespace top { ...@@ -110,6 +110,7 @@ namespace top {
m_useVarRCAdditionalJSS(false), m_useVarRCAdditionalJSS(false),
m_useElectronChargeIDSelection(false), m_useElectronChargeIDSelection(false),
m_met_met(0.), m_met_met(0.),
m_met_sumet(0.),
m_met_phi(0.), m_met_phi(0.),
m_met_met_withLooseObjects(0.), m_met_met_withLooseObjects(0.),
m_met_phi_withLooseObjects(0.) { m_met_phi_withLooseObjects(0.) {
...@@ -1127,6 +1128,7 @@ namespace top { ...@@ -1127,6 +1128,7 @@ namespace top {
//met //met
systematicTree->makeOutputVariable(m_met_met, "met_met"); systematicTree->makeOutputVariable(m_met_met, "met_met");
systematicTree->makeOutputVariable(m_met_sumet, "met_sumet");
systematicTree->makeOutputVariable(m_met_phi, "met_phi"); 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 //these are for specific studies on the met, turned off by default, and turned on with the WriteMETBuiltWithLooseObjects option
if(m_config->writeMETBuiltWithLooseObjects()) if(m_config->writeMETBuiltWithLooseObjects())
...@@ -3440,6 +3442,7 @@ namespace top { ...@@ -3440,6 +3442,7 @@ namespace top {
//met //met
m_met_met = event.m_met->met(); m_met_met = event.m_met->met();
m_met_sumet = event.m_met->sumet();
m_met_phi = event.m_met->phi(); m_met_phi = event.m_met->phi();
if(m_config->writeMETBuiltWithLooseObjects()) if(m_config->writeMETBuiltWithLooseObjects())
......
...@@ -732,6 +732,7 @@ namespace top { ...@@ -732,6 +732,7 @@ namespace top {
//met //met
float m_met_met; float m_met_met;
float m_met_sumet;
float m_met_phi; float m_met_phi;
//these are for specific studies on the met, turned off by default, and turned on with the WriteMETBuiltWithLooseObjects option //these are for specific studies on the met, turned off by default, and turned on with the WriteMETBuiltWithLooseObjects option
float m_met_met_withLooseObjects; float m_met_met_withLooseObjects;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment