#include <IsolationHistograms.h>
|
| std::map< std::string, TH1D * > | histoMap |
Definition at line 20 of file IsolationHistograms.h.
◆ IsolationHistograms()
| egammaMonitoring::IsolationHistograms::IsolationHistograms |
( |
std::string | name, |
|
|
std::string | title, |
|
|
std::string | folder, |
|
|
SmartIF< ITHistSvc > | rootHistSvc ) |
|
inline |
Definition at line 24 of file IsolationHistograms.h.
28 :
m_name(std::move(std::move(name)))
29 ,
m_title(std::move(std::move(title)))
30 ,
m_folder(std::move(std::move(folder)))
32 {
33 }
SmartIF< ITHistSvc > m_rootHistSvc
◆ fill()
| void IsolationHistograms::fill |
( |
const xAOD::Egamma & | egamma | ) |
|
Definition at line 45 of file IsolationHistograms.cxx.
45 {
46
47 static const std::map<std::string,xAOD::Iso::IsolationType> mmap = {
55 for (const auto& e : mmap) {
57 continue;
59 if (
egamma.isolationValue(
x,
e.second)) {
61 double xmax =
h->GetBinCenter(
h->GetNbinsX());
62 h->Fill(std::min(
x/1000.,
xmax));
63 }
64 }
65}
std::map< std::string, TH1D * > histoMap
@ topoetcone20
Topo-cluster ET-sum.
@ ptcone20
Track isolation.
@ ptvarcone20
Mini-Isolation http://arxiv.org/abs/1007.2221.
◆ initializePlots()
| StatusCode IsolationHistograms::initializePlots |
( |
bool | do_var_histos | ) |
|
Definition at line 16 of file IsolationHistograms.cxx.
16 {
17
18 const char* fN =
m_name.c_str();
19
20 histoMap[
"ptCone20"] =
new TH1D(Form(
"%s_ptCone20",fN),
";p_{T}^{cone20} [GeV]; Events / 0.25 GeV", 60, 0., 15.);
21 histoMap[
"ptCone30"] =
new TH1D(Form(
"%s_ptCone30",fN),
";p_{T}^{cone30} [GeV]; Events / 0.25 GeV", 60, 0., 15.);
22
23 if (do_var_histos) {
24 histoMap[
"ptVarCone20"] =
new TH1D(Form(
"%s_ptVarCone20",fN),
";p_{T}^{varCone20} [GeV]; Events / 0.25 GeV", 60, 0., 15.);
25 histoMap[
"ptVarCone30"] =
new TH1D(Form(
"%s_ptVarCone30",fN),
";p_{T}^{varCone30} [GeV]; Events / 0.25 GeV", 60, 0., 15.);
26 }
27 histoMap[
"topoEtCone20"] =
new TH1D(Form(
"%s_topoEtCone20",fN),
";E_{T}^{topoCone20} [GeV]; Events / 0.8 GeV", 60, -20., 30.);
28 histoMap[
"topoEtCone30"] =
new TH1D(Form(
"%s_topoEtCone30",fN),
";E_{T}^{topoCone30} [GeV]; Events / 0.8 GeV", 60, -20., 30.);
29 histoMap[
"topoEtCone40"] =
new TH1D(Form(
"%s_topoEtCone40",fN),
";E_{T}^{topoCone40} [GeV]; Events / 0.8 GeV", 60, -20., 30.);
30
33 if (do_var_histos) {
36 }
40
41 return StatusCode::SUCCESS;
42
43}
#define ATH_CHECK
Evaluate an expression and check for errors.
◆ histoMap
| std::map<std::string, TH1D*> egammaMonitoring::IsolationHistograms::histoMap |
◆ m_folder
| std::string egammaMonitoring::IsolationHistograms::m_folder |
|
protected |
◆ m_name
| std::string egammaMonitoring::IsolationHistograms::m_name |
|
protected |
◆ m_rootHistSvc
| SmartIF<ITHistSvc> egammaMonitoring::IsolationHistograms::m_rootHistSvc |
|
protected |
◆ m_title
| std::string egammaMonitoring::IsolationHistograms::m_title |
|
protected |
The documentation for this class was generated from the following files: