Tool which manages the G4TrackCounter action. This tool creates the G4TrackCounter for each thread and merges the track counts from all threads in finalization.
More...
#include <G4TrackCounterTool.h>
Tool which manages the G4TrackCounter action. This tool creates the G4TrackCounter for each thread and merges the track counts from all threads in finalization.
- Author
- Steve Farrell Steve.nosp@m.n.Fa.nosp@m.rrell.nosp@m.@cer.nosp@m.n.ch
Definition at line 24 of file G4TrackCounterTool.h.
◆ G4TrackCounterTool()
G4UA::G4TrackCounterTool::G4TrackCounterTool |
( |
const std::string & |
type, |
|
|
const std::string & |
name, |
|
|
const IInterface * |
parent |
|
) |
| |
◆ fillUserAction()
|
inlinefinaloverridevirtualinherited |
Fill the user action lists.
Definition at line 45 of file UserActionToolBase.h.
48 if(myAction ==
nullptr) {
50 return StatusCode::FAILURE;
53 return StatusCode::SUCCESS;
◆ finalize()
StatusCode G4UA::G4TrackCounterTool::finalize |
( |
| ) |
|
|
finaloverridevirtual |
Finalize and merge results from all threads.
Definition at line 32 of file G4TrackCounterTool.cxx.
37 G4TrackCounter::Report
report;
47 return StatusCode::SUCCESS;
◆ initialize()
StatusCode G4UA::G4TrackCounterTool::initialize |
( |
| ) |
|
|
finaloverridevirtual |
◆ makeAndFillAction()
|
finaloverrideprotectedvirtual |
◆ m_actions
The documentation for this class was generated from the following files: