LDMX Software
SimCore
src
SimCore
UserEventInformation.cxx
1
#include "SimCore/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: "
<<
bremCandidateCount_
<<
"\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:154
simcore::UserEventInformation::bremCandidateCount_
int bremCandidateCount_
Total number of brem candidates in the event.
Definition
UserEventInformation.h:122
simcore::UserEventInformation::total_photonuclear_energy_
double total_photonuclear_energy_
The total energy that went into the photon-nuclear interaction.
Definition
UserEventInformation.h:140
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:131
Generated by
1.9.8