#include <ParticleHistograms.h>
|
| std::map< std::string, TH1D * > | histoMap |
Definition at line 16 of file ParticleHistograms.h.
◆ fill() [1/2]
| void egammaMonitoring::ParticleHistograms::fill |
( |
const xAOD::IParticle & | egamma | ) |
|
|
virtual |
◆ fill() [2/2]
| void egammaMonitoring::ParticleHistograms::fill |
( |
const xAOD::IParticle & | egamma, |
|
|
float | mu ) |
|
virtual |
◆ hasFwd()
| void egammaMonitoring::ParticleHistograms::hasFwd |
( |
bool | a = true | ) |
|
|
inline |
◆ IHistograms() [1/2]
| egammaMonitoring::IHistograms::IHistograms |
( |
| ) |
|
◆ IHistograms() [2/2]
| egammaMonitoring::IHistograms::IHistograms |
( |
std::string | name, |
|
|
std::string | title, |
|
|
std::string | folder, |
|
|
SmartIF< ITHistSvc > | rootHistSvc ) |
|
inline |
Definition at line 26 of file IHistograms.h.
30 :
31 m_name(std::move(std::move(name))),
32 m_title(std::move(std::move(title))),
33 m_folder(std::move(std::move(folder))),
SmartIF< ITHistSvc > m_rootHistSvc
◆ initializePlots()
| StatusCode egammaMonitoring::ParticleHistograms::initializePlots |
( |
| ) |
|
|
virtual |
Implements egammaMonitoring::IHistograms.
Reimplemented in egammaMonitoring::RecoElectronHistograms, egammaMonitoring::RecoPhotonHistograms, egammaMonitoring::TruthElectronHistograms, and egammaMonitoring::TruthPhotonHistograms.
Definition at line 13 of file ParticleHistograms.cxx.
13 {
14
15 const char* fN =
m_name.c_str();
16
17 histoMap[
"pT"] =
new TH1D(Form(
"%s_pT",fN) ,
";p_{T} [GeV];Events", 40, 0, 200);
18 histoMap[
"eta"] =
new TH1D(Form(
"%s_eta",fN),
";#eta;Events" , 90, -4.5, 4.5);
19 histoMap[
"phi"] =
new TH1D(Form(
"%s_phi",fN),
";#phi;Events" , 20, -TMath::Pi(), TMath::Pi());
20
21 histoMap[
"eta_15GeV"] =
new TH1D(Form(
"%s_eta_15GeV",fN),
";#eta;Events", 90, -4.5, 4.5);
22 histoMap[
"phi_15GeV"] =
new TH1D(Form(
"%s_phi_15GeV",fN),
";#phi;Events", 20, -TMath::Pi(), TMath::Pi());
23
27
30
32 histoMap[
"pT_eta4"] =
new TH1D(Form(
"%s_pT_eta4",fN) ,
";p_{T} [GeV];Events",40, 0, 200);
33 histoMap[
"phi_eta4"] =
new TH1D(Form(
"%s_phi_eta4",fN),
";#phi;Events" ,20, -TMath::Pi(), TMath::Pi());
36 }
37
38 return StatusCode::SUCCESS;
39 }
#define ATH_CHECK
Evaluate an expression and check for errors.
◆ histoMap
| std::map<std::string, TH1D*> egammaMonitoring::IHistograms::histoMap |
|
inherited |
◆ m_folder
| std::string egammaMonitoring::IHistograms::m_folder |
|
protectedinherited |
◆ m_hasFwd
| bool egammaMonitoring::ParticleHistograms::m_hasFwd = false |
|
private |
◆ m_name
| std::string egammaMonitoring::IHistograms::m_name |
|
protectedinherited |
◆ m_rootHistSvc
| SmartIF<ITHistSvc> egammaMonitoring::IHistograms::m_rootHistSvc |
|
protectedinherited |
◆ m_title
| std::string egammaMonitoring::IHistograms::m_title |
|
protectedinherited |
The documentation for this class was generated from the following files: