#include <G4SubEvent.hh>
Definition at line 42 of file G4SubEvent.hh.
◆ G4SubEvent() [1/2]
G4SubEvent::G4SubEvent |
( |
| ) |
|
|
default |
◆ G4SubEvent() [2/2]
G4SubEvent::G4SubEvent |
( |
G4int | ty, |
|
|
std::size_t | maxEnt ) |
|
inlineexplicit |
Definition at line 47 of file G4SubEvent.hh.
48 : fSubEventType(ty), fMaxEnt(maxEnt) {;}
◆ ~G4SubEvent()
G4SubEvent::~G4SubEvent |
( |
| ) |
|
◆ clearAndDestroy()
void G4SubEvent::clearAndDestroy |
( |
| ) |
|
◆ GetEvent()
G4Event * G4SubEvent::GetEvent |
( |
| ) |
const |
|
inline |
◆ GetMaxNTrack()
std::size_t G4SubEvent::GetMaxNTrack |
( |
| ) |
const |
|
inline |
◆ GetNTrack()
std::size_t G4SubEvent::GetNTrack |
( |
| ) |
const |
|
inline |
◆ GetSubEventType()
G4int G4SubEvent::GetSubEventType |
( |
| ) |
const |
|
inline |
◆ getTotalEnergy()
G4double G4SubEvent::getTotalEnergy |
( |
| ) |
const |
Definition at line 57 of file G4SubEvent.cc.
58{
60 for (const auto & i : *this)
61 {
62 totalEnergy += i.GetTrack()->GetDynamicParticle()->GetTotalEnergy();
63 }
64 return totalEnergy;
65}
◆ operator!=()
◆ operator=()
◆ operator==()
◆ PopFromStack()
Definition at line 50 of file G4SubEvent.cc.
51{
52 G4Exception(
"G4SubEvent::PopFromStack",
"EventStack0001",
55}
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
◆ PushToStack()
◆ SetEvent()
void G4SubEvent::SetEvent |
( |
G4Event * | evt | ) |
|
|
inline |
The documentation for this class was generated from the following files: