The SRTrueInteraction is a representation of neutrino interaction information. More...
#include <SRTrueInteraction.h>
Public Member Functions | |
SRTrueInteraction () | |
~SRTrueInteraction () | |
Public Attributes | |
int | initpdg |
Initial PDG code of probe neutrino. More... | |
int | pdg |
PDG code of probe neutrino. More... | |
int | index |
Index of the matched true neutrino interaction (-1 if not matched to neutrino) More... | |
int | targetPDG |
int | hitnuc |
genie_interaction_mode_ | genie_mode |
Interaction mode (as for LArSoft MCNeutrino::Mode() ) More... | |
genie_interaction_type_ | genie_inttype |
Following LARSoft MCNeutrino::InteractionType() More... | |
bool | isnc |
same as LArSoft "ccnc" - 0=CC, 1=NC More... | |
bool | iscc |
CC (true) or NC/interference (false) More... | |
bool | isvtxcont |
If true vertex is within TPC. More... | |
bool | is_numucc_primary |
Whether this is the "primary" reco neutrino slice as defined by the numu CC analysis. More... | |
float | E |
True energy [GeV]. More... | |
SRTrueInteractionPlaneInfo | plane [2][3] |
Per-plane, per-cryostat deposition information. More... | |
float | time |
Time. More... | |
float | bjorkenX |
Bjorken x = (k-k')^2/(2*p.q) [Dimensionless]. More... | |
float | inelasticityY |
Inelasticity y. More... | |
float | Q2 |
Q squared. More... | |
float | q0 |
q0, struck nucleon rest frame More... | |
float | modq |
|q|, struck nucleon rest frame More... | |
float | q0_lab |
q0, lab frame More... | |
float | modq_lab |
|q|, lab frame More... | |
float | w |
Hadronic invariant mass W. More... | |
float | t |
Kinematic t. More... | |
float | eccqe |
CCQE energy. More... | |
float | baseline |
Distance from decay to interaction [m]. More... | |
unsigned int | npiplus |
Number of 's after neutrino reaction, before FSI. More... | |
unsigned int | npiminus |
Number of 's after neutrino reaction, before FSI. More... | |
unsigned int | npizero |
Number of 's after neutrino reaction, before FSI. More... | |
unsigned int | nproton |
Number of protons after neutrino reaction, before FSI. More... | |
unsigned int | nneutron |
Number of neutrons after neutrino reaction, before FSI. More... | |
bool | ischarm |
Is a charmed quark in interaction. More... | |
bool | isseaquark |
Did neutrino scatter off a sea quark. More... | |
int | resnum |
Resonance number, straight from GENIE. More... | |
float | xsec |
xsec for thrown interaction, in 1/GeV^2, as stored by the GENIE spline More... | |
float | genweight |
Weight, if any, assigned by the generator. More... | |
int | parent_dcy_mode |
Parent hadron/muon decay mode. More... | |
int | parent_pdg |
PDG Code of parent particle ID. More... | |
SRVector3D | prod_vtx |
Neutrino production vertex [cm; beam coordinates]. More... | |
SRVector3D | parent_dcy_mom |
Neutrino parent momentum at decay [GeV; beam coordinates]. More... | |
float | parent_dcy_E |
Neutrino parent energy at decay [GeV]. More... | |
float | imp_weight |
Importance weight from flux file. More... | |
SRVector3D | vtx |
Vertex position in detector coord. [cm]. More... | |
SRVector3D | momentum |
Neutrino three-momentum. More... | |
SRVector3D | position |
Neutrino interaction position. More... | |
int | cryostat |
Cryostat the the Interaction originates in. -1 if it originates outside a cryostat. More... | |
Det_t | det |
generator_ | generator |
The generator that created this neutrino interaction. More... | |
std::vector< unsigned int > | genVersion |
Version of the generator that created this neutrino interaction. More... | |
int | nprim |
Number of primary daughters. More... | |
std::vector< SRTrueParticle > | prim |
Primary daughters, lepton comes first in vector. More... | |
std::vector< SRMultiverse > | wgt |
Systematic weights. More... | |
The SRTrueInteraction is a representation of neutrino interaction information.
Definition at line 31 of file SRTrueInteraction.h.
caf::SRTrueInteraction::SRTrueInteraction | ( | ) |
Definition at line 19 of file SRTrueInteraction.cxx.
|
inline |
Definition at line 35 of file SRTrueInteraction.h.
float caf::SRTrueInteraction::baseline |
Distance from decay to interaction [m].
Definition at line 67 of file SRTrueInteraction.h.
float caf::SRTrueInteraction::bjorkenX |
Bjorken x = (k-k')^2/(2*p.q) [Dimensionless].
Definition at line 57 of file SRTrueInteraction.h.
int caf::SRTrueInteraction::cryostat |
Cryostat the the Interaction originates in. -1 if it originates outside a cryostat.
Definition at line 94 of file SRTrueInteraction.h.
Det_t caf::SRTrueInteraction::det |
Definition at line 95 of file SRTrueInteraction.h.
float caf::SRTrueInteraction::E |
True energy [GeV].
Definition at line 52 of file SRTrueInteraction.h.
float caf::SRTrueInteraction::eccqe |
CCQE energy.
Definition at line 66 of file SRTrueInteraction.h.
generator_ caf::SRTrueInteraction::generator |
The generator that created this neutrino interaction.
Definition at line 97 of file SRTrueInteraction.h.
genie_interaction_type_ caf::SRTrueInteraction::genie_inttype |
Following LARSoft MCNeutrino::InteractionType()
Definition at line 45 of file SRTrueInteraction.h.
genie_interaction_mode_ caf::SRTrueInteraction::genie_mode |
Interaction mode (as for LArSoft MCNeutrino::Mode() )
Definition at line 44 of file SRTrueInteraction.h.
std::vector<unsigned int> caf::SRTrueInteraction::genVersion |
Version of the generator that created this neutrino interaction.
Definition at line 98 of file SRTrueInteraction.h.
float caf::SRTrueInteraction::genweight |
Weight, if any, assigned by the generator.
Definition at line 81 of file SRTrueInteraction.h.
int caf::SRTrueInteraction::hitnuc |
PDG code of struck nucleon (or, in the case of MEC, struck nucleon-nucleon pair). For MEC, the codes are: 2000000200 –> nn, 2000000201 –> np, 2000000202 –> "pp
Definition at line 43 of file SRTrueInteraction.h.
float caf::SRTrueInteraction::imp_weight |
Importance weight from flux file.
Definition at line 88 of file SRTrueInteraction.h.
int caf::SRTrueInteraction::index |
Index of the matched true neutrino interaction (-1 if not matched to neutrino)
Definition at line 39 of file SRTrueInteraction.h.
float caf::SRTrueInteraction::inelasticityY |
Inelasticity y.
Definition at line 58 of file SRTrueInteraction.h.
int caf::SRTrueInteraction::initpdg |
Initial PDG code of probe neutrino.
Definition at line 37 of file SRTrueInteraction.h.
bool caf::SRTrueInteraction::is_numucc_primary |
Whether this is the "primary" reco neutrino slice as defined by the numu CC analysis.
Definition at line 50 of file SRTrueInteraction.h.
bool caf::SRTrueInteraction::iscc |
CC (true) or NC/interference (false)
Definition at line 48 of file SRTrueInteraction.h.
bool caf::SRTrueInteraction::ischarm |
Is a charmed quark in interaction.
Definition at line 76 of file SRTrueInteraction.h.
bool caf::SRTrueInteraction::isnc |
same as LArSoft "ccnc" - 0=CC, 1=NC
Definition at line 47 of file SRTrueInteraction.h.
bool caf::SRTrueInteraction::isseaquark |
Did neutrino scatter off a sea quark.
Definition at line 77 of file SRTrueInteraction.h.
bool caf::SRTrueInteraction::isvtxcont |
If true vertex is within TPC.
Definition at line 49 of file SRTrueInteraction.h.
float caf::SRTrueInteraction::modq |
|q|, struck nucleon rest frame
Definition at line 61 of file SRTrueInteraction.h.
float caf::SRTrueInteraction::modq_lab |
|q|, lab frame
Definition at line 63 of file SRTrueInteraction.h.
SRVector3D caf::SRTrueInteraction::momentum |
Neutrino three-momentum.
Definition at line 91 of file SRTrueInteraction.h.
unsigned int caf::SRTrueInteraction::nneutron |
Number of neutrons after neutrino reaction, before FSI.
Definition at line 73 of file SRTrueInteraction.h.
unsigned int caf::SRTrueInteraction::npiminus |
Number of 's after neutrino reaction, before FSI.
Definition at line 70 of file SRTrueInteraction.h.
unsigned int caf::SRTrueInteraction::npiplus |
Number of 's after neutrino reaction, before FSI.
Definition at line 69 of file SRTrueInteraction.h.
unsigned int caf::SRTrueInteraction::npizero |
Number of 's after neutrino reaction, before FSI.
Definition at line 71 of file SRTrueInteraction.h.
int caf::SRTrueInteraction::nprim |
Number of primary daughters.
Definition at line 100 of file SRTrueInteraction.h.
unsigned int caf::SRTrueInteraction::nproton |
Number of protons after neutrino reaction, before FSI.
Definition at line 72 of file SRTrueInteraction.h.
float caf::SRTrueInteraction::parent_dcy_E |
Neutrino parent energy at decay [GeV].
Definition at line 87 of file SRTrueInteraction.h.
int caf::SRTrueInteraction::parent_dcy_mode |
Parent hadron/muon decay mode.
Definition at line 83 of file SRTrueInteraction.h.
SRVector3D caf::SRTrueInteraction::parent_dcy_mom |
Neutrino parent momentum at decay [GeV; beam coordinates].
Definition at line 86 of file SRTrueInteraction.h.
int caf::SRTrueInteraction::parent_pdg |
PDG Code of parent particle ID.
Definition at line 84 of file SRTrueInteraction.h.
int caf::SRTrueInteraction::pdg |
PDG code of probe neutrino.
Definition at line 38 of file SRTrueInteraction.h.
SRTrueInteractionPlaneInfo caf::SRTrueInteraction::plane[2][3] |
Per-plane, per-cryostat deposition information.
Definition at line 54 of file SRTrueInteraction.h.
SRVector3D caf::SRTrueInteraction::position |
Neutrino interaction position.
Definition at line 92 of file SRTrueInteraction.h.
std::vector<SRTrueParticle> caf::SRTrueInteraction::prim |
Primary daughters, lepton comes first in vector.
Definition at line 101 of file SRTrueInteraction.h.
SRVector3D caf::SRTrueInteraction::prod_vtx |
Neutrino production vertex [cm; beam coordinates].
Definition at line 85 of file SRTrueInteraction.h.
float caf::SRTrueInteraction::q0 |
q0, struck nucleon rest frame
Definition at line 60 of file SRTrueInteraction.h.
float caf::SRTrueInteraction::q0_lab |
q0, lab frame
Definition at line 62 of file SRTrueInteraction.h.
float caf::SRTrueInteraction::Q2 |
Q squared.
Definition at line 59 of file SRTrueInteraction.h.
int caf::SRTrueInteraction::resnum |
Resonance number, straight from GENIE.
Definition at line 78 of file SRTrueInteraction.h.
float caf::SRTrueInteraction::t |
Kinematic t.
Definition at line 65 of file SRTrueInteraction.h.
int caf::SRTrueInteraction::targetPDG |
PDG code of struck target
Definition at line 40 of file SRTrueInteraction.h.
float caf::SRTrueInteraction::time |
Time.
Definition at line 56 of file SRTrueInteraction.h.
SRVector3D caf::SRTrueInteraction::vtx |
Vertex position in detector coord. [cm].
Definition at line 90 of file SRTrueInteraction.h.
float caf::SRTrueInteraction::w |
Hadronic invariant mass W.
Definition at line 64 of file SRTrueInteraction.h.
std::vector<SRMultiverse> caf::SRTrueInteraction::wgt |
Systematic weights.
The first index is the parameter set, the second the universe. The parameter sets are those defined in the globalTree, with matching indices.
Definition at line 108 of file SRTrueInteraction.h.
float caf::SRTrueInteraction::xsec |
xsec for thrown interaction, in 1/GeV^2, as stored by the GENIE spline
Definition at line 79 of file SRTrueInteraction.h.