LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "VisualizationAction.h"
Public Member Functions | |
VisualizationAction () | |
virtual | ~VisualizationAction () |
virtual void | BeginOfRunAction (const G4Run *) |
G4UserRunAction interfaces. More... | |
virtual void | EndOfRunAction (const G4Run *) |
virtual void | BeginOfEventAction (const G4Event *) |
G4UserEventAction interfaces. More... | |
virtual void | EndOfEventAction (const G4Event *) |
G4double | GetTrackEnergyCutoff () const |
Acessors, if we need them: More... | |
void | SetTrackEnergyCutoff (const G4double e) |
virtual void | Config (fhicl::ParameterSet const &) |
Override Config() to extract any necessary parameters. More... | |
virtual void | PrintConfig (std::string const &) |
Override PrintConfig() to print out current configuration. More... | |
virtual void | PreTrackingAction (const G4Track *) |
G4UserTrackingAction interfaces. More... | |
virtual void | PostTrackingAction (const G4Track *) |
virtual void | SteppingAction (const G4Step *) |
G4UserSteppingAction interface. More... | |
virtual bool | ProvidesStacking () |
virtual G4ClassificationOfNewTrack | StackClassifyNewTrack (const G4Track *) |
G4UserStackingAction interfaces. More... | |
virtual void | StackNewStage () |
virtual void | StackPrepareNewEvent () |
std::string const & | GetName () const |
void | SetName (std::string const &name) |
Private Attributes | |
G4double | m_energyCutoff |
Don't draw particles with energies less than this cut. More... | |
G4bool | m_drawNeutrals |
Whether or not to draw neutral tracks (default is no). More... | |
Definition at line 37 of file VisualizationAction.h.
larg4::VisualizationAction::VisualizationAction | ( | ) |
Definition at line 29 of file VisualizationAction.cxx.
References sim::LArG4Parameters::DrawNeutrals(), m_drawNeutrals, m_energyCutoff, and sim::LArG4Parameters::VisualizationEnergyCut().
|
virtual |
Definition at line 36 of file VisualizationAction.cxx.
|
virtual |
G4UserEventAction interfaces.
Reimplemented from g4b::UserAction.
Definition at line 56 of file VisualizationAction.cxx.
|
virtual |
G4UserRunAction interfaces.
The following a list of methods that correspond to the available user action classes in Geant 4.0.1 and higher.
Reimplemented from g4b::UserAction.
Definition at line 38 of file VisualizationAction.cxx.
|
inlinevirtualinherited |
Override Config() to extract any necessary parameters.
Reimplemented in altns::ExampleAction.
Definition at line 65 of file UserAction.h.
Referenced by g4b::UserAction::UserAction().
|
virtual |
Reimplemented from g4b::UserAction.
Definition at line 58 of file VisualizationAction.cxx.
References m_drawNeutrals, and m_energyCutoff.
|
virtual |
Reimplemented from g4b::UserAction.
Definition at line 49 of file VisualizationAction.cxx.
|
inlineinherited |
Definition at line 98 of file UserAction.h.
References g4b::UserAction::myName.
Referenced by g4b::UserActionManager::PrintActionList().
|
inline |
Acessors, if we need them:
Definition at line 48 of file VisualizationAction.h.
References m_energyCutoff.
|
inlinevirtualinherited |
Reimplemented in larg4::ParticleListAction, and altns::ExampleAction.
Definition at line 83 of file UserAction.h.
|
inlinevirtualinherited |
G4UserTrackingAction interfaces.
Reimplemented in larg4::ParticleListAction, and altns::ExampleAction.
Definition at line 82 of file UserAction.h.
|
inlinevirtualinherited |
Override PrintConfig() to print out current configuration.
Reimplemented in altns::ExampleAction.
Definition at line 68 of file UserAction.h.
Referenced by g4b::UserActionManager::PrintActionList().
|
inlinevirtualinherited |
Does this UserAction do stacking? Override to return "true" if the following interfaces are implemented
Reimplemented in altns::ExampleAction.
Definition at line 90 of file UserAction.h.
Referenced by g4b::UserActionManager::PrintActionList().
|
inlineinherited |
Definition at line 99 of file UserAction.h.
References g4b::UserAction::myName.
Referenced by g4b::UserActionFactory::GetUserAction().
|
inline |
Definition at line 49 of file VisualizationAction.h.
References e, and m_energyCutoff.
|
inlinevirtualinherited |
G4UserStackingAction interfaces.
Reimplemented in altns::ExampleAction.
Definition at line 93 of file UserAction.h.
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inlinevirtualinherited |
G4UserSteppingAction interface.
Reimplemented in larg4::ParticleListAction, altns::ExampleAction, larg4::G4BadIdeaAction, and larg4::IonizationAndScintillationAction.
Definition at line 86 of file UserAction.h.
|
private |
Whether or not to draw neutral tracks (default is no).
Definition at line 56 of file VisualizationAction.h.
Referenced by EndOfEventAction(), and VisualizationAction().
|
private |
Don't draw particles with energies less than this cut.
Definition at line 53 of file VisualizationAction.h.
Referenced by EndOfEventAction(), GetTrackEnergyCutoff(), SetTrackEnergyCutoff(), and VisualizationAction().