LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
ArtG4SteppingAction.hh
Go to the documentation of this file.
1
// ArtG4SteppingAction.hh provides declarations for the built-in
2
// stepping action for the Art G4 simulation. In its main method,
3
// UserSteppingAction, it gets a collection of all action objects from
4
// the Action Holder service and loops over them, calling their
5
// respective UserSteppingAction methods.
6
7
// Authors: Tasha Arvanitis, Adam Lyon
8
// Date: July 2012
9
10
#ifndef artg4tk_geantInit_ArtG4SteppingAction_hh
11
#define artg4tk_geantInit_ArtG4SteppingAction_hh
12
13
#include "Geant4/G4UserSteppingAction.hh"
14
15
// Everything goes in the Art G4 namespace
16
namespace
artg4tk
{
17
class
ActionHolderService;
18
19
// Declaration of the class
20
class
ArtG4SteppingAction
:
public
G4UserSteppingAction {
21
public
:
22
explicit
ArtG4SteppingAction
(
ActionHolderService
*);
23
24
private
:
25
// Called at the end of each step (I think; the documentation is vague)
26
void
UserSteppingAction
(
const
G4Step*)
override
;
27
28
ActionHolderService
*
actionHolder_
;
29
};
30
}
31
32
#endif
/* artg4tk_geantInit_ArtG4SteppingAction_hh */
artg4tk::ActionHolderService
Definition:
ActionHolder_service.hh:46
artg4tk::ArtG4SteppingAction::UserSteppingAction
void UserSteppingAction(const G4Step *) override
Definition:
ArtG4SteppingAction.cc:9
artg4tk::ArtG4SteppingAction::ArtG4SteppingAction
ArtG4SteppingAction(ActionHolderService *)
Definition:
ArtG4SteppingAction.cc:4
artg4tk
Definition:
ActionBase.hh:12
artg4tk::ArtG4SteppingAction
Definition:
ArtG4SteppingAction.hh:20
artg4tk::ArtG4SteppingAction::actionHolder_
ActionHolderService * actionHolder_
Definition:
ArtG4SteppingAction.hh:28
artg4tk
v12_00_03
source
artg4tk
geantInit
ArtG4SteppingAction.hh
Generated on Thu May 2 2024 20:59:30 for LArSoft by
1.8.11