|
ATLAS Offline Software
|
Go to the documentation of this file.
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
59 #endif // G4DEBUGGINGTOOLS_StepNtuple_H
simple struct to hold step information
virtual void UserSteppingAction(const G4Step *) override
virtual void BeginOfEventAction(const G4Event *) override
the hooks for G4 UA handling
virtual void BeginOfRunAction(const G4Run *) override
NTuple::Array< float > m_step_y
NTuple::Array< float > m_step_x
Class to provide easy MsgStream access and capabilities.
StepNtuple(const MSG::Level lvl=MSG::INFO)
Constructor with message level argument for AthMessaging.
virtual void EndOfEventAction(const G4Event *) override
NTuple::Array< float > m_dep
NTuple::Array< float > m_step_z
NTuple::Array< float > m_time
std::vector< stepdata > eventSteps
holds data extracted from steps
NTuple::Item< long > m_nsteps
handles for ntuple writing
NTuple::Array< float > m_pdgcode