ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
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. More...
 
unsigned int nTotalTracks =0
 Total number of tracks. More...
 
unsigned int nPrimaryTracks =0
 Number of primary tracks. More...
 
unsigned int nSecondaryTracks =0
 Number of secondary tracks. More...
 
unsigned int n50MeVTracks =0
 Number of tracks with kinetic E > 50 MeV. More...
 

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  }

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:
make_hlt_rep.rep
rep
Definition: make_hlt_rep.py:32
G4UA::G4TrackCounter::Report::nSecondaryTracks
unsigned int nSecondaryTracks
Number of secondary tracks.
Definition: G4TrackCounter.h:38
G4UA::G4TrackCounter::Report::nTotalTracks
unsigned int nTotalTracks
Total number of tracks.
Definition: G4TrackCounter.h:34
G4UA::G4TrackCounter::Report::n50MeVTracks
unsigned int n50MeVTracks
Number of tracks with kinetic E > 50 MeV.
Definition: G4TrackCounter.h:40
G4UA::G4TrackCounter::Report::nEvents
unsigned int nEvents
Event counter. Might want a larger int for this.
Definition: G4TrackCounter.h:32
G4UA::G4TrackCounter::Report::nPrimaryTracks
unsigned int nPrimaryTracks
Number of primary tracks.
Definition: G4TrackCounter.h:36