DUNE StandardRecord
Base object for DUNE analysis files (CAFs)
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
caf::SRInteraction Class Reference

Top-level particle interaction. (Usually neutrinos, but cosmics, etc. can live here too) More...

#include <SRInteraction.h>

Public Member Functions

bool contained () const
 Convenience function to check if the interaction is contained in the detector by checking the contained flag of all reco particles.
 

Public Attributes

long int id = -1
 
SRVector3D vtx
 Reconstructed vertex location (if any)
 
SRDirectionBranch dir
 Hypotheses for this interaction's parent particle direction.
 
SRNeutrinoHypothesisBranch nuhyp
 Hypotheses for this interaction's neutrino identity.
 
SRNeutrinoEnergyBranch Enu
 Hypotheses for this interaction's neutrino energy.
 
SRRecoParticlesBranch part
 Collections of reconstructed particles.
 
std::vector< std::size_t > truth
 Indices of SRTrueInteraction(s), if relevant (use this index in SRTruthBranch::nu to get them)
 
std::vector< float > truthOverlap
 Fractional overlap between this reco interaction and each true interaction.
 
bool preselected = false
 Was this interaction preselected? (Useful for workflows where CAFs are preprocessed / filtered in the process of making concatenated files)
 
bool isFromTrigger = true
 

Detailed Description

Top-level particle interaction. (Usually neutrinos, but cosmics, etc. can live here too)

Member Data Documentation

◆ isFromTrigger

bool caf::SRInteraction::isFromTrigger = true

Did this interaction arise from the physics process that triggered this readout? e.g. for a neutrino beam trigger, this is true for beam-induced neutrino
interactions and false for cosmic overlays; for a ProtoDUNE test-beam trigger,
true for the beam particle interaction and false for cosmics in the readout window.
In the ND with significant pileup, multiple interactions in the same SR may be true.
Defaults to true since in most contexts beam-induced interactions are the expected case.


The documentation for this class was generated from the following files: