ATLAS Offline Software
Loading...
Searching...
No Matches
G4UA::G4TrackCounter::Report Struct Reference

Simple struct for holding the counts Might want to use larger integral types for this... More...

#include <G4TrackCounter.h>

Collaboration diagram for G4UA::G4TrackCounter::Report:

Public Member Functions

void merge (const Report &rep)

Public Attributes

unsigned int nEvents =0
 Event counter. Might want a larger int for this.
unsigned int nTotalTracks =0
 Total number of tracks.
unsigned int nPrimaryTracks =0
 Number of primary tracks.
unsigned int nSecondaryTracks =0
 Number of secondary tracks.
unsigned int n50MeVTracks =0
 Number of tracks with kinetic E > 50 MeV.

Detailed Description

Simple struct for holding the counts Might want to use larger integral types for this...

Definition at line 29 of file G4TrackCounter.h.

Member Function Documentation

◆ merge()

void G4UA::G4TrackCounter::Report::merge ( const Report & rep)

Definition at line 15 of file G4TrackCounter.cxx.

16 {
17 nEvents += rep.nEvents;
18 nTotalTracks += rep.nTotalTracks;
19 nPrimaryTracks += rep.nPrimaryTracks;
20 nSecondaryTracks += rep.nSecondaryTracks;
21 n50MeVTracks += rep.n50MeVTracks;
22 }
unsigned int nPrimaryTracks
Number of primary tracks.
unsigned int n50MeVTracks
Number of tracks with kinetic E > 50 MeV.
unsigned int nSecondaryTracks
Number of secondary tracks.
unsigned int nTotalTracks
Total number of tracks.
unsigned int nEvents
Event counter. Might want a larger int for this.

Member Data Documentation

◆ n50MeVTracks

unsigned int G4UA::G4TrackCounter::Report::n50MeVTracks =0

Number of tracks with kinetic E > 50 MeV.

Definition at line 40 of file G4TrackCounter.h.

◆ nEvents

unsigned int G4UA::G4TrackCounter::Report::nEvents =0

Event counter. Might want a larger int for this.

Definition at line 32 of file G4TrackCounter.h.

◆ nPrimaryTracks

unsigned int G4UA::G4TrackCounter::Report::nPrimaryTracks =0

Number of primary tracks.

Definition at line 36 of file G4TrackCounter.h.

◆ nSecondaryTracks

unsigned int G4UA::G4TrackCounter::Report::nSecondaryTracks =0

Number of secondary tracks.

Definition at line 38 of file G4TrackCounter.h.

◆ nTotalTracks

unsigned int G4UA::G4TrackCounter::Report::nTotalTracks =0

Total number of tracks.

Definition at line 34 of file G4TrackCounter.h.


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