#include <TruthElectronHistograms.h>
Definition at line 16 of file TruthElectronHistograms.h.
◆ ~TruthElectronHistograms()
virtual egammaMonitoring::TruthElectronHistograms::~TruthElectronHistograms |
( |
| ) |
|
|
inlinevirtual |
◆ fill() [1/5]
◆ fill() [2/5]
void egammaMonitoring::ParticleHistograms::fill |
◆ fill() [3/5]
◆ fill() [4/5]
void egammaMonitoring::ParticleHistograms::fill |
◆ fill() [5/5]
Definition at line 67 of file TruthElectronHistograms.cxx.
85 histoMap[
"deltaPhiRescaled2"]->Fill(dphires2);
98 float reco_qp =
track->qOverP();
99 float truth_qp = truth->
charge()/(truth->
pt()*cosh(truth->
eta()));
100 float vard0 =
track->definingParametersCovMatrix()(0, 0);
103 histoMap[
"d0Oversigmad0"]->Fill(
d0/sqrtf(vard0));
108 histoMap[
"qOverp_resolution"]->Fill((reco_qp-truth_qp)/truth_qp);
109 if (has2DHis)
histoMap2D[
"eta_qOverp_resolution"]->Fill(
electron->eta(),(reco_qp-truth_qp)/truth_qp);
◆ 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 TruthElectronHistograms::initializePlots |
( |
| ) |
|
|
overridevirtual |
◆ initializePlots() [2/2]
StatusCode TruthElectronHistograms::initializePlots |
( |
bool |
reducedHistSet | ) |
|
Definition at line 21 of file TruthElectronHistograms.cxx.
23 const char* fN =
m_name.c_str();
25 if (!reducedHistSet) {
26 histoMap[
"deltaPhi2"] =
new TH1D(Form(
"%s_deltaPhi2",fN),
";deltaPhi2; Events", 40, -0.06, 0.06);
27 histoMap[
"deltaEta2"] =
new TH1D(Form(
"%s_deltaEta2",fN),
";deltaEta2; Events", 40, -0.04, 0.04);
28 histoMap[
"deltaPhiRescaled2"] =
new TH1D(Form(
"%s_deltaPhiRescaled2",fN),
";deltaPhiRescaled2; Events", 40, -0.04, 0.04);
30 histoMap[
"d0Oversigmad0"] =
new TH1D(Form(
"%s_d0Oversigmad0",fN),
"; d0Oversigmad0; Events", 40, -10, 10);
31 histoMap[
"qOverp_resolution"] =
new TH1D(Form(
"%s_qOverp_resolution",fN),
";(q/P reco - q/P truth)/ q/p truth; Events", 60, -1, 1.5);
40 if (
m_name ==
"truthPromptElectronWithRecoTrack") {
41 histoMap2D[
"eta_deltaPhi2"] =
new TH2D(Form(
"%s_eta_deltaPhi2",fN),
42 ";#eta;#Delta#phi_{2}; Events", 90, -4.5, 4.5, 40, -0.06, 0.06);
43 histoMap2D[
"eta_deltaEta2"] =
new TH2D(Form(
"%s_eta_deltaEta2",fN),
44 ";#eta;#Delta#eta_{2}; Events", 90, -4.5, 4.5, 40, -0.06, 0.06);
45 histoMap2D[
"eta_deltaPhiRescaled2"] =
new TH2D(Form(
"%s_eta_deltaPhiRescaled2",fN),
46 ";#eta;#Delta#phi_{2}^{Rescaled}; Events", 90, -4.5, 4.5, 40, -0.06, 0.06);
47 histoMap2D[
"eta_d0Oversigmad0"] =
new TH2D(Form(
"%s_eta_d0Oversigmad0",fN),
48 ";#eta;d_{0}/#sigma_{d_{0}}; Events", 90, -4.5, 4.5, 40, -10, 10);
49 histoMap2D[
"eta_qOverp_resolution"] =
new TH2D(Form(
"%s_eta_qOverp_resolution",fN),
50 ";#eta;(q/P_{reco})/(q/P_{truth}) -1; Events", 90, -4.5, 4.5, 60, -1, 1.5);
62 return StatusCode::SUCCESS;
◆ histoMap
std::map<std::string, TH1D*> egammaMonitoring::IHistograms::histoMap |
|
inherited |
◆ histoMap2D
std::map<std::string, TH2D*> egammaMonitoring::TruthElectronHistograms::histoMap2D |
◆ 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_reducedHistSet
bool egammaMonitoring::TruthElectronHistograms::m_reducedHistSet |
|
private |
◆ 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)
StatusCode initializePlots()
virtual double phi() const
phi in [-pi,pi[
virtual double eta() const
pseudo rapidity
virtual double eta() const override final
The pseudorapidity ( ) of the particle.
virtual double pt() const override final
The transverse momentum ( ) of the particle.
Class describing a TrackParticle.