7#include "GaudiKernel/ITHistSvc.h"
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;
76 if (evtStore()->retrieve(trCollection,
m_key).isSuccess()) {
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;
#define _TH2D(var, name, nbinx, xmin, xmax, nbiny, ymin, ymax)
#define _TH1D(var, name, nbin, xmin, xmax)
#define _SET_TITLE(var, title, xaxis, yaxis)
AtlasHitsVector< TrackRecord > TrackRecordCollection