LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
ArtG4StackingAction.cc
Go to the documentation of this file.
1
#include "
artg4tk/geantInit/ArtG4StackingAction.hh
"
2
#include "
artg4tk/services/ActionHolder_service.hh
"
3
4
artg4tk::ArtG4StackingAction::ArtG4StackingAction
(
ActionHolderService
* actionHolder)
5
: actionHolder_{actionHolder}
6
{}
7
8
G4ClassificationOfNewTrack
9
artg4tk::ArtG4StackingAction::ClassifyNewTrack
(G4Track
const
* currTrack)
10
{
11
bool
const
killTrack =
actionHolder_
->
killNewTrack
(currTrack);
12
return
killTrack ? fKill : fUrgent;
13
}
artg4tk::ArtG4StackingAction::actionHolder_
ActionHolderService * actionHolder_
Definition:
ArtG4StackingAction.hh:27
artg4tk::ArtG4StackingAction::ClassifyNewTrack
G4ClassificationOfNewTrack ClassifyNewTrack(const G4Track *) override
Definition:
ArtG4StackingAction.cc:9
artg4tk::ActionHolderService::killNewTrack
bool killNewTrack(const G4Track *)
Definition:
ActionHolder.cc:165
artg4tk::ActionHolderService
Definition:
ActionHolder_service.hh:46
ActionHolder_service.hh
artg4tk::ArtG4StackingAction::ArtG4StackingAction
ArtG4StackingAction(ActionHolderService *)
Definition:
ArtG4StackingAction.cc:4
ArtG4StackingAction.hh
artg4tk
v12_00_03
source
artg4tk
geantInit
ArtG4StackingAction.cc
Generated on Thu May 2 2024 20:59:30 for LArSoft by
1.8.11