#include <RecoPhotonHistograms.h>
|
std::map< std::string, TH1D * > | histoMap |
|
Definition at line 15 of file RecoPhotonHistograms.h.
◆ fill() [1/5]
void egammaMonitoring::ParticleHistograms::fill |
◆ fill() [2/5]
◆ fill() [3/5]
void egammaMonitoring::ParticleHistograms::fill |
◆ fill() [4/5]
◆ fill() [5/5]
Definition at line 34 of file RecoPhotonHistograms.cxx.
40 if (accOrigin.isAvailable(phrec))
41 histoMap[
"truthOrigin"]->Fill(accOrigin(phrec));
44 if (accType.isAvailable(phrec))
45 histoMap[
"truthType"]->Fill(accType(phrec));
52 if (
tmp->pdgId() == 22 &&
tmp->hasDecayVtx()) {
54 float x =
tmp->decayVtx()->x();
55 float y =
tmp->decayVtx()->y();
56 trueR = std::sqrt(
x*
x +
y*
y );
◆ hasFwd()
void egammaMonitoring::ParticleHistograms::hasFwd |
( |
bool |
a = true | ) |
|
|
inlineinherited |
◆ IHistograms() [1/2]
egammaMonitoring::IHistograms::IHistograms |
|
inherited |
◆ IHistograms() [2/2]
egammaMonitoring::IHistograms::IHistograms |
|
inlineinherited |
◆ initializePlots()
StatusCode RecoPhotonHistograms::initializePlots |
( |
| ) |
|
|
virtual |
Reimplemented from egammaMonitoring::ParticleHistograms.
Definition at line 17 of file RecoPhotonHistograms.cxx.
21 const char* fN =
m_name.c_str();
23 histoMap[
"convRadius"] =
new TH1D(Form(
"%s_convRadius",fN),
";Conversion Radius [mm]; Events", 14,
m_cR_bins);
24 histoMap[
"truthType"] =
new TH1D(Form(
"%s_truthType",fN),
";truth type; Events", 41,-1,40);
25 histoMap[
"truthOrigin"] =
new TH1D(Form(
"%s_truthOrigin",fN),
";truth origin; Events",51,-1,50);
31 return StatusCode::SUCCESS;
◆ histoMap
std::map<std::string, TH1D*> egammaMonitoring::IHistograms::histoMap |
|
inherited |
◆ m_cR_bins
float egammaMonitoring::RecoPhotonHistograms::m_cR_bins[15] |
|
private |
Initial value:=
{0, 50, 89, 123, 170, 210, 250, 299, 335, 371, 443, 514, 554, 800, 1085}
Definition at line 26 of file RecoPhotonHistograms.h.
◆ 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)
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