DUNE StandardRecord
Base object for DUNE analysis files (CAFs)
Loading...
Searching...
No Matches
SRInteraction.h
Go to the documentation of this file.
1
5
6#ifndef DUNEANAOBJ_SRINTERACTION_H
7#define DUNEANAOBJ_SRINTERACTION_H
8
11#include "duneanaobj/StandardRecord/SRNeutrinoHypothesisBranch.h"
12#include "duneanaobj/StandardRecord/SRRecoParticlesBranch.h"
13
14namespace caf
15{
16
19 {
20 public:
21 long int id = -1;
22
25
28
31
34
37
38 std::vector<std::size_t> truth;
39 std::vector<float> truthOverlap;
40
41 bool preselected = false;
42
43 bool contained() const;
44 };
45
46} // caf
47
48#endif //DUNEANAOBJ_SRINTERACTION_H
Various hypotheses for reconstructed direction of interaction parent.
Reconstructed neutrino energies.
Definition SRDirectionBranch.h:16
Top-level particle interaction. (Usually neutrinos, but cosmics, etc. can live here too)
Definition SRInteraction.h:19
bool contained() const
Convenience function to check if the interaction is contained in the detector by checking the contain...
Definition SRInteraction.cxx:5
std::vector< float > truthOverlap
Fractional overlap between this reco interaction and each true interaction.
Definition SRInteraction.h:39
SRNeutrinoHypothesisBranch nuhyp
Hypotheses for this interaction's neutrino identity.
Definition SRInteraction.h:30
SRVector3D vtx
Reconstructed vertex location (if any)
Definition SRInteraction.h:24
SRRecoParticlesBranch part
Collections of reconstructed particles.
Definition SRInteraction.h:36
SRDirectionBranch dir
Hypotheses for this interaction's parent particle direction.
Definition SRInteraction.h:27
std::vector< std::size_t > truth
Indices of SRTrueInteraction(s), if relevant (use this index in SRTruthBranch::nu to get them)
Definition SRInteraction.h:38
SRNeutrinoEnergyBranch Enu
Hypotheses for this interaction's neutrino energy.
Definition SRInteraction.h:33
bool preselected
Was this interaction preselected? (Useful for workflows where CAFs are preprocessed / filtered in the...
Definition SRInteraction.h:41
Definition SRNeutrinoEnergyBranch.h:15
Definition SRNeutrinoHypothesisBranch.h:15
Definition SRRecoParticlesBranch.h:17
A 3-vector with more efficient storage than TVector3.
Definition SRVector3D.h:26
Common Analysis Files.
Definition Navigate.cxx:8