#include <LayerTestTool.h>
Definition at line 10 of file LayerTestTool.h.
◆ LayerTestTool()
LayerTestTool::LayerTestTool |
( |
const std::string & |
type, |
|
|
const std::string & |
name, |
|
|
const IInterface * |
parent |
|
) |
| |
Definition at line 14 of file LayerTestTool.cxx.
18 m_energy(0),
m_pos_x(0),
m_pos_y(0),
m_pos_z(0),
m_pos_r(0),
m_p_x(0),
m_p_y(0),
m_p_z(0),
m_p_rho(0),
m_p_phi(0),
m_p_eta(0)
20 declareProperty(
"CollectionName",
m_collection=
"CaloEntry");
◆ getPrimary()
◆ initialize()
StatusCode LayerTestTool::initialize |
( |
| ) |
|
|
virtual |
◆ processEvent()
StatusCode LayerTestTool::processEvent |
( |
| ) |
|
Definition at line 70 of file LayerTestTool.cxx.
78 for(
const auto&
e : *trCollection){
83 if(
e.GetPDGCode() == 11){
87 if(
e.GetPDGCode() == -11){
91 if(
e.GetPDGCode() == 22){
95 if(
e.GetPDGCode() == 2112){
99 if(
e.GetPDGCode() == 13){
103 if(
e.GetPDGCode() == -13){
113 m_p_x=
e.GetMomentum().x();
114 m_p_y=
e.GetMomentum().y();
115 m_p_z=
e.GetMomentum().z();
132 return StatusCode::SUCCESS;
◆ m_collection
std::string LayerTestTool::m_collection |
|
private |
◆ m_energy
double LayerTestTool::m_energy |
|
private |
◆ m_histSvc
◆ m_key
std::string SimTestToolBase::m_key |
|
protectedinherited |
◆ m_n_energy
TH1* LayerTestTool::m_n_energy |
|
private |
◆ m_n_energy_e
TH1* LayerTestTool::m_n_energy_e |
|
private |
◆ m_n_energy_ep
TH1* LayerTestTool::m_n_energy_ep |
|
private |
◆ m_n_energy_gamma
TH1* LayerTestTool::m_n_energy_gamma |
|
private |
◆ m_n_energy_muon
TH1* LayerTestTool::m_n_energy_muon |
|
private |
◆ m_n_energy_muonp
TH1* LayerTestTool::m_n_energy_muonp |
|
private |
◆ m_n_energy_neutron
TH1* LayerTestTool::m_n_energy_neutron |
|
private |
◆ m_n_eta
TH1* LayerTestTool::m_n_eta |
|
private |
◆ m_n_phi
TH1* LayerTestTool::m_n_phi |
|
private |
◆ m_n_pos
TH2* LayerTestTool::m_n_pos |
|
private |
◆ m_n_px
TH1* LayerTestTool::m_n_px |
|
private |
◆ m_n_py
TH1* LayerTestTool::m_n_py |
|
private |
◆ m_n_pz
TH1* LayerTestTool::m_n_pz |
|
private |
◆ m_n_rho
TH1* LayerTestTool::m_n_rho |
|
private |
◆ m_p_eta
double LayerTestTool::m_p_eta |
|
private |
◆ m_p_phi
double LayerTestTool::m_p_phi |
|
private |
◆ m_p_rho
double LayerTestTool::m_p_rho |
|
private |
◆ m_p_x
double LayerTestTool::m_p_x |
|
private |
◆ m_p_y
double LayerTestTool::m_p_y |
|
private |
◆ m_p_z
double LayerTestTool::m_p_z |
|
private |
◆ m_path
std::string SimTestHisto::m_path {"/truth/"} |
|
protectedinherited |
◆ m_pos_r
double LayerTestTool::m_pos_r |
|
private |
◆ m_pos_x
double LayerTestTool::m_pos_x |
|
private |
◆ m_pos_y
double LayerTestTool::m_pos_y |
|
private |
◆ m_pos_z
double LayerTestTool::m_pos_z |
|
private |
The documentation for this class was generated from the following files:
#define _TH2D(var, name, nbinx, xmin, xmax, nbiny, ymin, ymax)