7 #include "GaudiKernel/ITHistSvc.h"
16 m_n_energy_gamma(0),m_n_energy_neutron(0),m_n_energy_muon(0),m_n_energy_muonp(0),
17 m_n_pos(0),m_n_px(0),m_n_py(0),m_n_pz(0),m_n_rho(0),m_n_eta(0),m_n_phi(0),
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");
66 return StatusCode::SUCCESS;
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;