9#include "GaudiKernel/ITHistSvc.h"
18 const char* fN =
m_name.c_str();
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.);
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.);
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.);
41 return StatusCode::SUCCESS;
47 static const std::map<std::string,xAOD::Iso::IsolationType> mmap = {
55 for (
const auto& e : mmap) {
59 if (
egamma.isolationValue(
x, e.second)) {
61 double xmax =
h->GetBinCenter(
h->GetNbinsX());
62 h->Fill(std::min(
x/1000.,
xmax));
#define ATH_CHECK
Evaluate an expression and check for errors.
std::map< std::string, TH1D * > histoMap
StatusCode initializePlots(bool do_var_histos)
void fill(const xAOD::Egamma &egamma)
SmartIF< ITHistSvc > m_rootHistSvc
@ topoetcone20
Topo-cluster ET-sum.
@ ptcone20
Track isolation.
@ ptvarcone20
Mini-Isolation http://arxiv.org/abs/1007.2221.
Egamma_v1 Egamma
Definition of the current "egamma version".