All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
numu::TrackTruthMatch Struct Reference

#include <TruthMatch.h>

Public Member Functions

 TrackTruthMatch ()
 

Public Attributes

bool has_match
 Whether a track match exists. More...
 
bool mctruth_has_neutrino
 Whether the MCTruth object this track matches to is a neutrino interaction. More...
 
TVector3 mctruth_vertex
 The interaction vertex of the MCTruth object this track matches to. More...
 
int mctruth_origin
 Value of Origin_t enum of the MCTruth object this track matches to. More...
 
int mctruth_ccnc
 CC (1) / NC (0) value of the MCTruth this object matches to. More...
 
int mcparticle_id
 MCParticle ID of the particle this track matches to (same as the ID of the RecoTrack of that particle.) More...
 
float completion
 Fraction of energy deposits by true particle matched by this track. More...
 
int match_pdg
 PDG of the MCParticle this track matches to. More...
 
bool is_primary
 Whether this track was produced as the "primary" process. More...
 

Detailed Description

Matching information between a Track and truth

Definition at line 12 of file Data/TruthMatch.h.

Constructor & Destructor Documentation

numu::TrackTruthMatch::TrackTruthMatch ( )
inline

Definition at line 22 of file Data/TruthMatch.h.

22  :
23  has_match(false),
24  mctruth_has_neutrino(false),
25  mctruth_vertex(-1, -1, -1),
26  mctruth_origin(-1),
27  mctruth_ccnc(-1),
28  mcparticle_id(-1),
29  completion(-1),
30  match_pdg(-1),
31  is_primary(false) {}
bool mctruth_has_neutrino
Whether the MCTruth object this track matches to is a neutrino interaction.
int mctruth_ccnc
CC (1) / NC (0) value of the MCTruth this object matches to.
int mctruth_origin
Value of Origin_t enum of the MCTruth object this track matches to.
int mcparticle_id
MCParticle ID of the particle this track matches to (same as the ID of the RecoTrack of that particle...
TVector3 mctruth_vertex
The interaction vertex of the MCTruth object this track matches to.
float completion
Fraction of energy deposits by true particle matched by this track.
bool has_match
Whether a track match exists.
bool is_primary
Whether this track was produced as the &quot;primary&quot; process.
int match_pdg
PDG of the MCParticle this track matches to.

Member Data Documentation

float numu::TrackTruthMatch::completion

Fraction of energy deposits by true particle matched by this track.

Definition at line 19 of file Data/TruthMatch.h.

bool numu::TrackTruthMatch::has_match

Whether a track match exists.

Definition at line 13 of file Data/TruthMatch.h.

bool numu::TrackTruthMatch::is_primary

Whether this track was produced as the "primary" process.

Definition at line 21 of file Data/TruthMatch.h.

int numu::TrackTruthMatch::match_pdg

PDG of the MCParticle this track matches to.

Definition at line 20 of file Data/TruthMatch.h.

int numu::TrackTruthMatch::mcparticle_id

MCParticle ID of the particle this track matches to (same as the ID of the RecoTrack of that particle.)

Definition at line 18 of file Data/TruthMatch.h.

int numu::TrackTruthMatch::mctruth_ccnc

CC (1) / NC (0) value of the MCTruth this object matches to.

Definition at line 17 of file Data/TruthMatch.h.

bool numu::TrackTruthMatch::mctruth_has_neutrino

Whether the MCTruth object this track matches to is a neutrino interaction.

Definition at line 14 of file Data/TruthMatch.h.

int numu::TrackTruthMatch::mctruth_origin

Value of Origin_t enum of the MCTruth object this track matches to.

Definition at line 16 of file Data/TruthMatch.h.

TVector3 numu::TrackTruthMatch::mctruth_vertex

The interaction vertex of the MCTruth object this track matches to.

Definition at line 15 of file Data/TruthMatch.h.


The documentation for this struct was generated from the following file: