5#ifndef G4DEBUGGINGTOOLS_StepNtuple_H
6#define G4DEBUGGINGTOOLS_StepNtuple_H
8#include "GaudiKernel/NTuple.h"
13#include "G4UserEventAction.hh"
14#include "G4UserSteppingAction.hh"
15#include "G4UserRunAction.hh"
22 public G4UserEventAction,
23 public G4UserSteppingAction,
24 public G4UserRunAction
AthMessaging(IMessageSvc *msgSvc, const std::string &name)
Constructor.
virtual void EndOfEventAction(const G4Event *) override
NTuple::Array< float > m_pdgcode
virtual void BeginOfRunAction(const G4Run *) override
virtual void BeginOfEventAction(const G4Event *) override
the hooks for G4 UA handling
std::vector< stepdata > eventSteps
holds data extracted from steps
NTuple::Array< float > m_step_y
virtual void UserSteppingAction(const G4Step *) override
NTuple::Item< long > m_nsteps
handles for ntuple writing
NTuple::Array< float > m_time
NTuple::Array< float > m_step_x
NTuple::Array< float > m_step_z
NTuple::Array< float > m_dep
StepNtuple(const MSG::Level lvl=MSG::INFO)
Constructor with message level argument for AthMessaging.
simple struct to hold step information