Information about the event.
More...
Information about the event.
Definition at line 97 of file TriggerEfficiencyPlots_module.cc.
EventInfo_t::EventInfo_t |
( |
| ) |
|
|
inline |
Adds a point to the list of interaction vertices in the event.
Definition at line 218 of file TriggerEfficiencyPlots_module.cc.
std::vector< geo::Point_t > fVertices
Position of all vertices.
void EventInfo_t::AddWeakChargedCurrentInteractions |
( |
unsigned int |
n = 1U | ) |
|
|
inline |
Marks this event as including n more weak charged current interactions.
Definition at line 177 of file TriggerEfficiencyPlots_module.cc.
std::array< unsigned int, NInteractionTypes > fInteractions
static constexpr std::size_t itWCC
Charged weak current.
void EventInfo_t::AddWeakNeutralCurrentInteractions |
( |
unsigned int |
n = 1U | ) |
|
|
inline |
Marks this event as including n more weak neutral current interactions.
Definition at line 181 of file TriggerEfficiencyPlots_module.cc.
std::array< unsigned int, NInteractionTypes > fInteractions
static constexpr std::size_t itWNC
Neutral weak current.
GeV EventInfo_t::DepositedEnergy |
( |
| ) |
const |
|
inline |
Returns the total energy deposited in the detector during the event [GeV].
Definition at line 141 of file TriggerEfficiencyPlots_module.cc.
GeV fEnergyDepTotal
Total deposited energy.
GeV EventInfo_t::DepositedEnergyInActiveVolume |
( |
| ) |
const |
|
inline |
GeV EventInfo_t::DepositedEnergyInSpill |
( |
| ) |
const |
|
inline |
Returns the total energy deposited in the detector during beam [GeV].
Definition at line 144 of file TriggerEfficiencyPlots_module.cc.
GeV fEnergyDepSpill
Energy deposited in spill.
GeV EventInfo_t::DepositedEnergyInSpillInActiveVolume |
( |
| ) |
const |
|
inline |
Returns the energy deposited in the active volume during the beam [GeV].
Definition at line 150 of file TriggerEfficiencyPlots_module.cc.
GeV fEnergyDepSpillActive
Energy deposited in active volume in spill.
void EventInfo_t::dump |
( |
std::ostream & |
out | ) |
const |
|
inline |
Prints the content of the object into a stream.
Definition at line 226 of file TriggerEfficiencyPlots_module.cc.
228 out <<
"Event contains:";
234 if (
isNu_mu()) out <<
" nu_mu";
235 if (
isNu_e()) out <<
" nu_e";
243 out <<
" no neutrino interaction";
248 <<
", in active volume and in spill "
251 out <<
"\nNo interaction vertex found.";
257 <<
"\n" <<
fVertices.size() <<
" interaction vertices: " << *iVertex;
258 while (++iVertex != vend) out <<
"; " << *iVertex;
262 <<
" marked as in the active volume of the detector.";
GeV DepositedEnergyInSpill() const
Returns the total energy deposited in the detector during beam [GeV].
GeV DepositedEnergyInSpillInActiveVolume() const
Returns the energy deposited in the active volume during the beam [GeV].
std::string TruthInteractionTypeName(int type)
GeV DepositedEnergyInActiveVolume() const
Returns the energy deposited in the active volume during the event [GeV].
bool isInActiveVolume() const
Returns whether there is an interaction within the active volume.
int InteractionType() const
bool isNeutrino() const
Returns whether the event is generated as a neutrino interaction.
unsigned int nWeakNeutralCurrentInteractions() const
Returns the number of weak neutral current interactions in the event.
unsigned int nWeakChargedCurrentInteractions() const
Returns the number of weak charged current interactions in the event.
GeV DepositedEnergy() const
Returns the total energy deposited in the detector during the event [GeV].
bool isNu_mu() const
Returns which neutrino flavor is present in an event.
std::vector< geo::Point_t > fVertices
Position of all vertices.
GeV NeutrinoEnergy() const
bool EventInfo_t::hasVertex |
( |
| ) |
const |
|
inline |
Returns whether this type of event has a known vertex.
Definition at line 163 of file TriggerEfficiencyPlots_module.cc.
std::vector< geo::Point_t > fVertices
Position of all vertices.
int EventInfo_t::InteractionType |
( |
| ) |
const |
|
inline |
bool EventInfo_t::isInActiveVolume |
( |
| ) |
const |
|
inline |
Returns whether there is an interaction within the active volume.
Definition at line 166 of file TriggerEfficiencyPlots_module.cc.
bool fInActiveVolume
Whether the event has activity inside the active volume.
bool EventInfo_t::isNeutrino |
( |
| ) |
const |
|
inline |
Returns whether the event is generated as a neutrino interaction.
Definition at line 130 of file TriggerEfficiencyPlots_module.cc.
bool isWeakNeutralCurrent() const
Returns whether the event is generated as a neutrino NC interaction.
bool isWeakChargedCurrent() const
Returns whether the event is generated as a neutrino CC interaction.
bool EventInfo_t::isNu_e |
( |
| ) |
const |
|
inline |
bool EventInfo_t::isNu_mu |
( |
| ) |
const |
|
inline |
bool EventInfo_t::isWeakChargedCurrent |
( |
| ) |
const |
|
inline |
Returns whether the event is generated as a neutrino CC interaction.
Definition at line 122 of file TriggerEfficiencyPlots_module.cc.
unsigned int nWeakChargedCurrentInteractions() const
Returns the number of weak charged current interactions in the event.
bool EventInfo_t::isWeakNeutralCurrent |
( |
| ) |
const |
|
inline |
Returns whether the event is generated as a neutrino NC interaction.
Definition at line 126 of file TriggerEfficiencyPlots_module.cc.
unsigned int nWeakNeutralCurrentInteractions() const
Returns the number of weak neutral current interactions in the event.
GeV EventInfo_t::LeptonEnergy |
( |
| ) |
const |
|
inline |
GeV EventInfo_t::NeutrinoEnergy |
( |
| ) |
const |
|
inline |
int EventInfo_t::NeutrinoPDG |
( |
| ) |
const |
|
inline |
unsigned int EventInfo_t::nWeakChargedCurrentInteractions |
( |
| ) |
const |
|
inline |
Returns the number of weak charged current interactions in the event.
Definition at line 107 of file TriggerEfficiencyPlots_module.cc.
std::array< unsigned int, NInteractionTypes > fInteractions
static constexpr std::size_t itWCC
Charged weak current.
unsigned int EventInfo_t::nWeakCurrentInteractions |
( |
| ) |
const |
|
inline |
Returns the number of weak current interactions in the event.
Definition at line 115 of file TriggerEfficiencyPlots_module.cc.
unsigned int nWeakNeutralCurrentInteractions() const
Returns the number of weak neutral current interactions in the event.
unsigned int nWeakChargedCurrentInteractions() const
Returns the number of weak charged current interactions in the event.
unsigned int EventInfo_t::nWeakNeutralCurrentInteractions |
( |
| ) |
const |
|
inline |
Returns the number of weak neutral current interactions in the event.
Definition at line 111 of file TriggerEfficiencyPlots_module.cc.
std::array< unsigned int, NInteractionTypes > fInteractions
static constexpr std::size_t itWNC
Neutral weak current.
void EventInfo_t::SetDepositedEnergy |
( |
GeV |
e | ) |
|
|
inline |
void EventInfo_t::SetDepositedEnergyInActiveVolume |
( |
GeV |
e | ) |
|
|
inline |
void EventInfo_t::SetDepositedEnergyInActiveVolumeInSpill |
( |
GeV |
e | ) |
|
|
inline |
Sets the energy of the event deposited during beam gate in active volume [GeV]
Definition at line 202 of file TriggerEfficiencyPlots_module.cc.
GeV fEnergyDepSpillActive
Energy deposited in active volume in spill.
void EventInfo_t::SetDepositedEnergyInSpill |
( |
GeV |
e | ) |
|
|
inline |
void EventInfo_t::SetInActiveVolume |
( |
bool |
active = true | ) |
|
|
inline |
Set whether the event has relevant activity in the active volume.
Definition at line 215 of file TriggerEfficiencyPlots_module.cc.
bool fInActiveVolume
Whether the event has activity inside the active volume.
void EventInfo_t::SetInteractionType |
( |
int |
type | ) |
|
|
inline |
void EventInfo_t::SetLeptonEnergy |
( |
GeV |
eL | ) |
|
|
inline |
void EventInfo_t::SetNeutrinoEnergy |
( |
GeV |
eNu | ) |
|
|
inline |
void EventInfo_t::SetNeutrinoPDG |
( |
int |
NU | ) |
|
|
inline |
void EventInfo_t::SetNu_e |
( |
bool |
nue | ) |
|
|
inline |
void EventInfo_t::SetNu_mu |
( |
bool |
numu | ) |
|
|
inline |
GeV EventInfo_t::fEnergyDepActive { 0.0 } |
|
private |
GeV EventInfo_t::fEnergyDepSpill { 0.0 } |
|
private |
GeV EventInfo_t::fEnergyDepSpillActive { 0.0 } |
|
private |
GeV EventInfo_t::fEnergyDepTotal { 0.0 } |
|
private |
bool EventInfo_t::fInActiveVolume { false } |
|
private |
int EventInfo_t::fInteractionType { 0 } |
|
private |
GeV EventInfo_t::fLeptonEnergy { 0.0 } |
|
private |
GeV EventInfo_t::fNeutrinoEnergy { 0.0 } |
|
private |
int EventInfo_t::fNeutrinoPDG { 0 } |
|
private |
constexpr std::size_t EventInfo_t::itWCC { 0U } |
|
staticprivate |
constexpr std::size_t EventInfo_t::itWNC { 1U } |
|
staticprivate |
constexpr std::size_t EventInfo_t::NInteractionTypes { 2U } |
|
staticprivate |
bool EventInfo_t::nu_e { false } |
|
private |
bool EventInfo_t::nu_mu { false } |
|
private |
The documentation for this struct was generated from the following file: