#include <TruthPhotonHistograms.h>
|
float | m_cR_bins [15] = {0, 50, 89, 123, 170, 210, 250, 299, 335, 371, 443, 514, 554, 800, 1085} |
|
bool | m_hasFwd = false |
|
Definition at line 18 of file TruthPhotonHistograms.h.
◆ fill() [1/4]
◆ fill() [2/4]
◆ fill() [3/4]
void egammaMonitoring::ParticleHistograms::fill |
◆ fill() [4/4]
void egammaMonitoring::ParticleHistograms::fill |
◆ hasFwd()
void egammaMonitoring::ParticleHistograms::hasFwd |
( |
bool |
a = true | ) |
|
|
inlineinherited |
◆ IHistograms() [1/2]
egammaMonitoring::IHistograms::IHistograms |
|
inherited |
◆ IHistograms() [2/2]
egammaMonitoring::IHistograms::IHistograms |
|
inlineinherited |
◆ initializePlots() [1/2]
StatusCode egammaMonitoring::ParticleHistograms::initializePlots |
Definition at line 21 of file ParticleHistograms.cxx.
15 const char* fN =
m_name.c_str();
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());
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());
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());
38 return StatusCode::SUCCESS;
◆ initializePlots() [2/2]
StatusCode TruthPhotonHistograms::initializePlots |
( |
| ) |
|
|
virtual |
Reimplemented from egammaMonitoring::ParticleHistograms.
Definition at line 21 of file TruthPhotonHistograms.cxx.
25 const char* fN =
m_name.c_str();
27 histoMap[
"convRadius_all"] =
new TH1D(Form(
"%s_convRadius_all",fN),
";Conversion Radius [mm]; Conversion Radius Events", 200, 0, 2000);
28 histoMap[
"convRadius"] =
new TH1D(Form(
"%s_convRadius",fN),
";Conversion Radius [mm]; Conversion Radius Events", 14,
m_cR_bins);
29 histoMap[
"convRadius_15GeV"] =
new TH1D(Form(
"%s_convRadius_15GeV",fN),
";Conversion Radius [mm]; Conversion Radius Events", 14,
m_cR_bins);
30 histoMap[
"convRadiusTrueVsReco"] =
new TH1D(Form(
"%s_convRadiusTrueVsReco",fN),
";R^{reco}_{conv. vtx} - R^{true}_{conv. vtx} [mm]; Events", 100, -200, 200);
32 histoMap[
"pileup"] =
new TH1D(Form(
"%s_pileup",fN),
";mu; mu Events", 35, 0., 70.);
33 histoMap[
"pileup_15GeV"] =
new TH1D(Form(
"%s_pileup_15GeV",fN),
";mu; mu Events", 35, 0., 70.);
34 histoMap[
"onebin"] =
new TH1D(Form(
"%s_onebin",fN),
"; ; Events", 1, 0., 1.);
35 histoMap[
"onebin_15GeV"] =
new TH1D(Form(
"%s_onebin_15GeV",fN),
"; ; Events", 1, 0., 1.);
37 histoMap[
"resolution_e"] =
new TH1D(Form(
"%s_resolution_e",fN),
"; E_{reco} / E_{true} - 1; Events", 40, -0.2, 0.2);
38 histoMap[
"resolution_eta"] =
new TH1D(Form(
"%s_resolution_eta",fN),
"; #eta_{reco} - #eta_{true}; Events", 20, -0.05, 0.05);
39 histoMap[
"resolution_phi"] =
new TH1D(Form(
"%s_resolution_phi",fN),
"; #phi_{reco} - #phi_{true}; Events", 20, -0.05, 0.05);
41 histo2DMap[
"resolution_e_vs_pT"] =
new TH2D(Form(
"%s_resolution_e_vs_pT",fN),
";p_{T} [GeV];E_{reco} / E_{true} - 1", 40, 0, 200, 160, -0.2, 0.2);
42 histo2DMap[
"resolution_e_vs_eta"] =
new TH2D(Form(
"%s_resolution_e_vs_eta",fN),
";|#eta|;E_{reco} / E_{true} - 1", 25, 0, 2.5, 160, -0.2, 0.2);
61 return StatusCode::SUCCESS;
◆ histo2DMap
std::map<std::string, TH2D* > egammaMonitoring::TruthPhotonHistograms::histo2DMap |
◆ histoMap
std::map<std::string, TH1D*> egammaMonitoring::IHistograms::histoMap |
|
inherited |
◆ m_cR_bins
float egammaMonitoring::TruthPhotonHistograms::m_cR_bins[15] = {0, 50, 89, 123, 170, 210, 250, 299, 335, 371, 443, 514, 554, 800, 1085} |
|
private |
◆ m_folder
std::string egammaMonitoring::IHistograms::m_folder |
|
protectedinherited |
◆ m_hasFwd
bool egammaMonitoring::ParticleHistograms::m_hasFwd = false |
|
privateinherited |
◆ 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:
virtual double pt() const
transverse momentum
void fill(const xAOD::IParticle &egamma)
bool hasDecayVtx() const
Check for a decay vertex on this particle.
virtual double e() const override final
The total energy of the particle.
StatusCode initializePlots()
Class describing a truth particle in the MC record.
virtual double phi() const
phi in [-pi,pi[
virtual double eta() const
pseudo rapidity
virtual double pt() const =0
The transverse momentum ( ) of the particle.
const TruthVertex_v1 * decayVtx() const
The decay vertex of this particle.
virtual double eta() const override final
The pseudorapidity ( ) of the particle.
virtual double phi() const override final
The azimuthal angle ( ) of the particle.
virtual double eta() const =0
The pseudorapidity ( ) of the particle.