LDMX Software
UserEventInformation.cxx
1#include "SimCore/G4User/UserEventInformation.h"
2
3/*~~~~~~~~~~~~~~~~*/
4/* C++ StdLib */
5/*~~~~~~~~~~~~~~~~*/
6#include <iostream>
7
8namespace simcore {
9
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
double total_electronuclear_energy_
The total energy that went into the electron-nuclear interaction.
double total_photonuclear_energy_
The total energy that went into the photon-nuclear interaction.
int brem_candidate_count_
Total number of brem candidates in the event.
void Print() const override
Print the information associated with the track.
Dynamically loadable photonuclear models either from SimCore or external libraries implementing this ...