LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
artg4tk::ArtG4StackingAction Class Reference

#include "ArtG4StackingAction.hh"

Inheritance diagram for artg4tk::ArtG4StackingAction:

Public Member Functions

 ArtG4StackingAction (ActionHolderService *)
 

Private Member Functions

G4ClassificationOfNewTrack ClassifyNewTrack (const G4Track *) override
 

Private Attributes

ActionHolderServiceactionHolder_
 

Detailed Description

Definition at line 19 of file ArtG4StackingAction.hh.

Constructor & Destructor Documentation

artg4tk::ArtG4StackingAction::ArtG4StackingAction ( ActionHolderService actionHolder)
explicit

Definition at line 4 of file ArtG4StackingAction.cc.

5  : actionHolder_{actionHolder}
6 {}
ActionHolderService * actionHolder_

Member Function Documentation

G4ClassificationOfNewTrack artg4tk::ArtG4StackingAction::ClassifyNewTrack ( const G4Track *  )
overrideprivate

Definition at line 9 of file ArtG4StackingAction.cc.

References actionHolder_, and artg4tk::ActionHolderService::killNewTrack().

10 {
11  bool const killTrack = actionHolder_->killNewTrack(currTrack);
12  return killTrack ? fKill : fUrgent;
13 }
ActionHolderService * actionHolder_
bool killNewTrack(const G4Track *)

Member Data Documentation

ActionHolderService* artg4tk::ArtG4StackingAction::actionHolder_
private

Definition at line 27 of file ArtG4StackingAction.hh.

Referenced by ClassifyNewTrack().


The documentation for this class was generated from the following files: