LDMX Software
UserEventInformation.cxx
1#include "SimCore/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: " << bremCandidateCount_ << "\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.
int bremCandidateCount_
Total number of brem candidates in the event.
double total_photonuclear_energy_
The total energy that went into the photon-nuclear interaction.
void Print() const override
Print the information associated with the track.