2#include "SimCore/UserAction.h"
24 G4EventManager::GetEventManager()->GetUserInformation());
Class which implements the user tracking action.
Class encapsulating parameters for configuring a processor.
std::map< int, ldmx::SimParticle > & getParticleMap()
Get the map of particles to be stored in output event.
UserAction(const std::string &name, framework::config::Parameters ¶meters)
Constructor.
const std::map< int, ldmx::SimParticle > & getCurrentParticleMap() const
Get the current particle map.
UserEventInformation * getEventInfo() const
Get a handle to the event information.
std::string name_
Name of the UserAction.
framework::config::Parameters parameters_
The set of parameters used to configure this class.
TrackMap & getTrackMap()
Get a handle to the current TrackMap for the event.
static TrackingAction * get()
Get a pointer to the current UserTrackingAction from the G4RunManager.