LDMX Software
SimCore
src
SimCore
G4User
UserEventInformation.cxx
1
#include "SimCore/G4User/UserEventInformation.h"
2
3
/*~~~~~~~~~~~~~~~~*/
4
/* C++ StdLib */
5
/*~~~~~~~~~~~~~~~~*/
6
#include <iostream>
7
8
namespace
simcore
{
9
10
void
UserEventInformation::Print
()
const
{
11
std::cout <<
"Event weight: "
<<
weight_
<<
"\n"
12
<<
"Brem candidate count: "
<<
brem_candidate_count_
<<
"\n"
13
<<
"e_{PN} = "
<<
total_photonuclear_energy_
<<
" MeV "
14
<<
"e_{EN} = "
<<
total_electronuclear_energy_
<<
" MeV"
15
<< std::endl;
16
}
17
}
// namespace simcore
simcore::UserEventInformation::total_electronuclear_energy_
double total_electronuclear_energy_
The total energy that went into the electron-nuclear interaction.
Definition
UserEventInformation.h:165
simcore::UserEventInformation::total_photonuclear_energy_
double total_photonuclear_energy_
The total energy that went into the photon-nuclear interaction.
Definition
UserEventInformation.h:151
simcore::UserEventInformation::brem_candidate_count_
int brem_candidate_count_
Total number of brem candidates in the event.
Definition
UserEventInformation.h:133
simcore::UserEventInformation::Print
void Print() const override
Print the information associated with the track.
Definition
UserEventInformation.cxx:10
simcore::UserEventInformation::weight_
double weight_
The event weight.
Definition
UserEventInformation.h:142
simcore
Dynamically loadable photonuclear models either from SimCore or external libraries implementing this ...
Definition
APrimePhysics.h:25
Generated by
1.12.0