23 out <<
"Event contains:";
30 if (
isNu_e()) out <<
" nu_e";
38 out <<
" no neutrino interaction";
42 out <<
"No generation information is available.";
49 <<
", in active volume and in spill/pre-spill "
54 out <<
"\nNo energy deposition information is available.";
58 out <<
"\nNo interaction vertex found.";
64 <<
"\n" <<
fVertices.size() <<
" interaction vertices: " << *iVertex;
65 while (++iVertex != vend) out <<
"; " << *iVertex;
69 <<
" marked as in the active volume of the detector.";
bool isInActiveVolume() const
Returns whether there is an interaction within the active volume.
std::vector< geo::Point_t > fVertices
Position of all vertices.
std::string TruthInteractionTypeName(int type)
GeV NeutrinoEnergy() const
Returns the neutrino energy [GeV].
GeV LeptonEnergy() const
Returns the lepton energy [GeV].
bool hasDepEnergy() const
Returns whether generator information is available.
GeV DepositedEnergyInPreSpill() const
unsigned int nWeakChargedCurrentInteractions() const
Returns the number of weak charged current interactions in the event.
void dump(std::ostream &out) const
Prints the content of the object into a stream.
bool isNu_mu() const
Returns which neutrino flavor is present in an event.
GeV DepositedEnergyInSpill() const
Returns the total energy deposited in the detector during beam [GeV].
simulation_time InteractionTime() const
Returns the time of the first interaction, in simulation time scale [ns].
GeV DepositedEnergyInSpillInActiveVolume() const
Returns the energy deposited in the active volume during the beam [GeV].
bool hasGenerated() const
Returns whether generator information is available.
GeV DepositedEnergyInPreSpillInActiveVolume() const
Class hosting selected information about the event.
bool isNeutrino() const
Returns whether the event is generated as a neutrino interaction.
Utility functions to print MC truth information.
GeV DepositedEnergy() const
Returns the total energy deposited in the detector during the event [GeV].
GeV DepositedEnergyInActiveVolume() const
Returns the energy deposited in the active volume during the event [GeV].
unsigned int nWeakNeutralCurrentInteractions() const
Returns the number of weak neutral current interactions in the event.
int InteractionType() const
Returns the interaction type.