Public Member Functions | Public Attributes | List of all members
caf::SRNeutrino Class Reference

The SRNeutrino is a representation of neutrino interaction information. More...

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N20-12-03/StandardRecord/SRNeutrino.h"

Public Member Functions

 SRNeutrino ()
 
 ~SRNeutrino ()
 

Public Attributes

short pdg
 pdg code More...
 
float E
 True energy [GeV]. More...
 
float visE
 Sum of FLS hits that made CellHits from this neutrino [GeV]. More...
 
float visEinslc
 Sum of FLS hits that made CellHits from this neutrino in this subevent [GeV]. More...
 
float visENeutron
 Sum of FLS hits that made CellHits from this neutrino [GeV] that were daughters of neutrons. More...
 
float visEinslcNeutron
 Sum of FLS hits that made CellHits from this neutrino in this subevent [GeV] that were daughters of neutrons. More...
 
float visEBirks
 Sum of FLS hits that made CellHits from this neutrino [GeV] with birks suppression. More...
 
float visEinslcBirks
 Sum of FLS hits that made CellHits from this neutrino in this subevent [GeV] with birks suppression. More...
 
float visENeutronBirks
 Sum of FLS hits that made CellHits from this neutrino [GeV] that were daughters of neutrons with birks suppression. More...
 
float visEinslcNeutronBirks
 Sum of FLS hits that made CellHits from this neutrino in this subevent [GeV] that were daughters of neutrons with birks suppression. More...
 
float L
 True distance from hadron/muon decay to neutrino interaction [km]. More...
 
bool isvtxcont
 Checks if neutrino true vertex is within detector. More...
 
float eff
 Slicer efficiency for this truth interaction. More...
 
float pur
 Slicer purity for this truth interaction. More...
 
unsigned int nhitslc
 Number of hits recorded in this slice by this truth interaction. More...
 
unsigned int nhittot
 Total number of hits recorded for this truth interaction. More...
 
float time
 interaction time. More...
 
SRLorentzVector p
 True momentum [GeV]. More...
 
SRVector3D vtx
 Vertex position in detector coordinates [cm]. More...
 
std::vector< SRTrueMichelEmichel
 Vector of true Michel electrons. More...
 
short pdgorig
 Unoscillated (unswapped) pdg code. More...
 
int hitnuc
 
SRLorentzVector hitnucp
 Initial state 4-momentum of the struck nucleon. More...
 
float woscdumb
 Simplest possible oscillation weight. More...
 
int mode
 interaction mode from enum mode_type::[QE, RES, COH, ...] More...
 
bool iscc
 true if charged-current interaction, false if not. More...
 
int inttype
 Interaction type enum int_type::[...]. More...
 
unsigned int npiplus
 Number of $\pi^+$'s after neutrino reaction, before FSI. More...
 
unsigned int npiminus
 Number of $\pi^1$'s after neutrino reaction, before FSI. More...
 
unsigned int npizero
 Number of $\pi^0$'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
 Straight from GENIE, resonance number. More...
 
float xsec
 xsec for thrown interaction, in 1/GeV^2, as stored by the GENIE spline More...
 
int tgtZ
 Z of target nucleus. More...
 
int tgtA
 A of target nucleus. More...
 
float q2
 Squared momentum transfer [GeV^2]. More...
 
float x
 Bjorken x = (k-k')^2 / (2*p.q), [Dimensionless]. More...
 
float y
 Bjorken y = (p.q) / (k.p), fractional energy loss of incoming particle [Dimensionless]. More...
 
float W2
 Invariant mass of final state squared. [GeV^2]. More...
 
float genweight
 Weight, if any, assigned by the generator. More...
 
std::vector< SRTrueParticleprim
 Primary daughters, lepton comes first in vector. More...
 
std::vector< SRNuGenParticleprefsi
 Pre-FSI hadrons. More...
 
generator_ generator
 The generator that created this neutrino interaction. More...
 
std::vector< unsigned intgenVersion
 Version of the generator that created this neutrino interaction. More...
 
std::string genConfigString
 String associated with generator configuration. (For GENIE 3, this is the "Comprehensive Model Configuration", sometimes a.k.a. "tune". More...
 
SRMCReweight rwgt
 
SRBeam beam
 Information about neutrino production. More...
 
unsigned int run
 run number More...
 
unsigned int subrun
 subrun number More...
 
unsigned int evt
 ART event number, indexes trigger windows. More...
 
int cycle
 MC repition index on a given run,subrun. More...
 
bool isFHC
 
bool is0HC
 
bool isRHC
 
Det_t det
 

Detailed Description

The SRNeutrino is a representation of neutrino interaction information.

Definition at line 21 of file SRNeutrino.h.

Constructor & Destructor Documentation

caf::SRNeutrino::SRNeutrino ( )

Definition at line 14 of file SRNeutrino.cxx.

14  :
15  pdg(-1),
16  E(std::numeric_limits<float>::signaling_NaN()),
17  visE(std::numeric_limits<float>::signaling_NaN()),
18  visEinslc(std::numeric_limits<float>::signaling_NaN()),
19  visENeutron(std::numeric_limits<float>::signaling_NaN()),
20  visEinslcNeutron(std::numeric_limits<float>::signaling_NaN()),
21  visEBirks(std::numeric_limits<float>::signaling_NaN()),
22  visEinslcBirks(std::numeric_limits<float>::signaling_NaN()),
23  visENeutronBirks(std::numeric_limits<float>::signaling_NaN()),
24  visEinslcNeutronBirks(std::numeric_limits<float>::signaling_NaN()),
25  L(std::numeric_limits<float>::signaling_NaN()),
26  isvtxcont(std::numeric_limits<bool>::signaling_NaN()),
27  eff(std::numeric_limits<float>::signaling_NaN()),
28  pur(std::numeric_limits<float>::signaling_NaN()),
29  nhitslc(-1),
30  nhittot(-1),
31  time(std::numeric_limits<float>::signaling_NaN()),
32  pdgorig(0),
33  hitnuc(0),
34  woscdumb(std::numeric_limits<float>::signaling_NaN()),
35  mode(0),
36  iscc(true),
37  inttype(0),
38  npiplus(0),
39  npiminus(0),
40  npizero(0),
41  nproton(0),
42  nneutron(0),
43  ischarm(std::numeric_limits<bool>::signaling_NaN()),
44  isseaquark(std::numeric_limits<bool>::signaling_NaN()),
45  resnum(0),
46  xsec(std::numeric_limits<float>::signaling_NaN()),
47  tgtZ(0),
48  tgtA(0),
49  q2(std::numeric_limits<float>::signaling_NaN()),
50  x(std::numeric_limits<float>::signaling_NaN()),
51  y(std::numeric_limits<float>::signaling_NaN()),
52  W2(std::numeric_limits<float>::signaling_NaN()),
53  genweight(std::numeric_limits<float>::signaling_NaN()),
54  prim(),
55  prefsi(),
57  genVersion(),
58  run(0),
59  subrun(0),
60  evt(0),
61  cycle(0),
62  isFHC(false),
63  is0HC(false),
64  isRHC(false),
65  det(kUNKNOWN)
66  { }
float x
Bjorken x = (k-k&#39;)^2 / (2*p.q), [Dimensionless].
Definition: SRNeutrino.h:78
float visEinslcNeutron
Sum of FLS hits that made CellHits from this neutrino in this subevent [GeV] that were daughters of n...
Definition: SRNeutrino.h:32
Unknown detector.
Definition: SREnums.h:9
float visEinslcNeutronBirks
Sum of FLS hits that made CellHits from this neutrino in this subevent [GeV] that were daughters of n...
Definition: SRNeutrino.h:36
float visE
Sum of FLS hits that made CellHits from this neutrino [GeV].
Definition: SRNeutrino.h:29
int cycle
MC repition index on a given run,subrun.
Definition: SRNeutrino.h:98
float visENeutronBirks
Sum of FLS hits that made CellHits from this neutrino [GeV] that were daughters of neutrons with birk...
Definition: SRNeutrino.h:35
float visEinslc
Sum of FLS hits that made CellHits from this neutrino in this subevent [GeV].
Definition: SRNeutrino.h:30
unsigned int npizero
Number of &#39;s after neutrino reaction, before FSI.
Definition: SRNeutrino.h:65
float q2
Squared momentum transfer [GeV^2].
Definition: SRNeutrino.h:77
int inttype
Interaction type enum int_type::[...].
Definition: SRNeutrino.h:61
float woscdumb
Simplest possible oscillation weight.
Definition: SRNeutrino.h:57
std::vector< SRTrueParticle > prim
Primary daughters, lepton comes first in vector.
Definition: SRNeutrino.h:84
unsigned int npiplus
Number of &#39;s after neutrino reaction, before FSI.
Definition: SRNeutrino.h:63
std::vector< unsigned int > genVersion
Version of the generator that created this neutrino interaction.
Definition: SRNeutrino.h:88
float visENeutron
Sum of FLS hits that made CellHits from this neutrino [GeV] that were daughters of neutrons...
Definition: SRNeutrino.h:31
int tgtA
A of target nucleus.
Definition: SRNeutrino.h:75
unsigned int evt
ART event number, indexes trigger windows.
Definition: SRNeutrino.h:97
unsigned int nproton
Number of protons after neutrino reaction, before FSI.
Definition: SRNeutrino.h:66
float genweight
Weight, if any, assigned by the generator.
Definition: SRNeutrino.h:82
unsigned int subrun
subrun number
Definition: SRNeutrino.h:96
bool isseaquark
Did neutrino scatter off a sea quark.
Definition: SRNeutrino.h:70
float pur
Slicer purity for this truth interaction.
Definition: SRNeutrino.h:41
unsigned int npiminus
Number of &#39;s after neutrino reaction, before FSI.
Definition: SRNeutrino.h:64
int resnum
Straight from GENIE, resonance number.
Definition: SRNeutrino.h:71
bool iscc
true if charged-current interaction, false if not.
Definition: SRNeutrino.h:60
float L
True distance from hadron/muon decay to neutrino interaction [km].
Definition: SRNeutrino.h:37
float W2
Invariant mass of final state squared. [GeV^2].
Definition: SRNeutrino.h:80
float eff
Slicer efficiency for this truth interaction.
Definition: SRNeutrino.h:40
unsigned int run
run number
Definition: SRNeutrino.h:95
unsigned int nhitslc
Number of hits recorded in this slice by this truth interaction.
Definition: SRNeutrino.h:42
short pdgorig
Unoscillated (unswapped) pdg code.
Definition: SRNeutrino.h:50
int mode
interaction mode from enum mode_type::[QE, RES, COH, ...]
Definition: SRNeutrino.h:59
int tgtZ
Z of target nucleus.
Definition: SRNeutrino.h:74
short pdg
pdg code
Definition: SRNeutrino.h:25
bool isvtxcont
Checks if neutrino true vertex is within detector.
Definition: SRNeutrino.h:38
float visEBirks
Sum of FLS hits that made CellHits from this neutrino [GeV] with birks suppression.
Definition: SRNeutrino.h:33
float time
interaction time.
Definition: SRNeutrino.h:45
float xsec
xsec for thrown interaction, in 1/GeV^2, as stored by the GENIE spline
Definition: SRNeutrino.h:73
std::vector< SRNuGenParticle > prefsi
Pre-FSI hadrons.
Definition: SRNeutrino.h:85
float visEinslcBirks
Sum of FLS hits that made CellHits from this neutrino in this subevent [GeV] with birks suppression...
Definition: SRNeutrino.h:34
float E
True energy [GeV].
Definition: SRNeutrino.h:28
float y
Bjorken y = (p.q) / (k.p), fractional energy loss of incoming particle [Dimensionless].
Definition: SRNeutrino.h:79
bool ischarm
Is a charmed quark in interaction.
Definition: SRNeutrino.h:69
unsigned int nneutron
Number of neutrons after neutrino reaction, before FSI.
Definition: SRNeutrino.h:67
generator_ generator
The generator that created this neutrino interaction.
Definition: SRNeutrino.h:87
unsigned int nhittot
Total number of hits recorded for this truth interaction.
Definition: SRNeutrino.h:43
caf::SRNeutrino::~SRNeutrino ( )
inline

Definition at line 25 of file SRNeutrino.h.

References pdg.

25 { };

Member Data Documentation

SRBeam caf::SRNeutrino::beam
int caf::SRNeutrino::cycle
Det_t caf::SRNeutrino::det
float caf::SRNeutrino::E
float caf::SRNeutrino::eff
unsigned int caf::SRNeutrino::evt
std::string caf::SRNeutrino::genConfigString

String associated with generator configuration. (For GENIE 3, this is the "Comprehensive Model Configuration", sometimes a.k.a. "tune".

Definition at line 89 of file SRNeutrino.h.

Referenced by caf::CAFMaker::AddMCTruthToVec(), caf::Proxy< caf::SRNeutrino >::CheckEquals(), flat::FlatNeutrino::Fill(), caf::Proxy< caf::SRNeutrino >::operator=(), and novarwgt::test::ToStandardRecord().

generator_ caf::SRNeutrino::generator
std::vector<unsigned int> caf::SRNeutrino::genVersion
float caf::SRNeutrino::genweight
int caf::SRNeutrino::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 54 of file SRNeutrino.h.

Referenced by caf::CAFMaker::AddMCTruthToVec(), caf::Proxy< caf::SRNeutrino >::CheckEquals(), flat::FlatNeutrino::Fill(), hdf5::HDF5Neutrino< Tidx >::Fill(), caf::Proxy< caf::SRNeutrino >::operator=(), and novarwgt::test::ToStandardRecord().

SRLorentzVector caf::SRNeutrino::hitnucp
int caf::SRNeutrino::inttype
bool caf::SRNeutrino::is0HC
bool caf::SRNeutrino::iscc
bool caf::SRNeutrino::ischarm
bool caf::SRNeutrino::isFHC
bool caf::SRNeutrino::isRHC
bool caf::SRNeutrino::isseaquark
bool caf::SRNeutrino::isvtxcont
float caf::SRNeutrino::L
std::vector<SRTrueMichelE> caf::SRNeutrino::michel
int caf::SRNeutrino::mode
unsigned int caf::SRNeutrino::nhitslc
unsigned int caf::SRNeutrino::nhittot
unsigned int caf::SRNeutrino::nneutron
unsigned int caf::SRNeutrino::npiminus
unsigned int caf::SRNeutrino::npiplus
unsigned int caf::SRNeutrino::npizero
unsigned int caf::SRNeutrino::nproton
SRLorentzVector caf::SRNeutrino::p
short caf::SRNeutrino::pdg
short caf::SRNeutrino::pdgorig
std::vector<SRNuGenParticle> caf::SRNeutrino::prefsi
std::vector<SRTrueParticle> caf::SRNeutrino::prim
float caf::SRNeutrino::pur
float caf::SRNeutrino::q2
int caf::SRNeutrino::resnum
unsigned int caf::SRNeutrino::run
SRMCReweight caf::SRNeutrino::rwgt
unsigned int caf::SRNeutrino::subrun
int caf::SRNeutrino::tgtA
int caf::SRNeutrino::tgtZ
float caf::SRNeutrino::time
float caf::SRNeutrino::visE
float caf::SRNeutrino::visEBirks

Sum of FLS hits that made CellHits from this neutrino [GeV] with birks suppression.

Definition at line 33 of file SRNeutrino.h.

Referenced by caf::CAFMaker::AddMCTruthToVec(), caf::Proxy< caf::SRNeutrino >::CheckEquals(), flat::FlatNeutrino::Fill(), hdf5::HDF5Neutrino< Tidx >::Fill(), and caf::Proxy< caf::SRNeutrino >::operator=().

float caf::SRNeutrino::visEinslc

Sum of FLS hits that made CellHits from this neutrino in this subevent [GeV].

Definition at line 30 of file SRNeutrino.h.

Referenced by caf::CAFMaker::AddMCTruthToVec(), caf::Proxy< caf::SRNeutrino >::CheckEquals(), flat::FlatNeutrino::Fill(), hdf5::HDF5Neutrino< Tidx >::Fill(), and caf::Proxy< caf::SRNeutrino >::operator=().

float caf::SRNeutrino::visEinslcBirks

Sum of FLS hits that made CellHits from this neutrino in this subevent [GeV] with birks suppression.

Definition at line 34 of file SRNeutrino.h.

Referenced by caf::CAFMaker::AddMCTruthToVec(), caf::Proxy< caf::SRNeutrino >::CheckEquals(), flat::FlatNeutrino::Fill(), hdf5::HDF5Neutrino< Tidx >::Fill(), and caf::Proxy< caf::SRNeutrino >::operator=().

float caf::SRNeutrino::visEinslcNeutron

Sum of FLS hits that made CellHits from this neutrino in this subevent [GeV] that were daughters of neutrons.

Definition at line 32 of file SRNeutrino.h.

Referenced by caf::CAFMaker::AddMCTruthToVec(), caf::Proxy< caf::SRNeutrino >::CheckEquals(), flat::FlatNeutrino::Fill(), hdf5::HDF5Neutrino< Tidx >::Fill(), and caf::Proxy< caf::SRNeutrino >::operator=().

float caf::SRNeutrino::visEinslcNeutronBirks

Sum of FLS hits that made CellHits from this neutrino in this subevent [GeV] that were daughters of neutrons with birks suppression.

Definition at line 36 of file SRNeutrino.h.

Referenced by caf::CAFMaker::AddMCTruthToVec(), caf::Proxy< caf::SRNeutrino >::CheckEquals(), flat::FlatNeutrino::Fill(), hdf5::HDF5Neutrino< Tidx >::Fill(), and caf::Proxy< caf::SRNeutrino >::operator=().

float caf::SRNeutrino::visENeutron

Sum of FLS hits that made CellHits from this neutrino [GeV] that were daughters of neutrons.

Definition at line 31 of file SRNeutrino.h.

Referenced by caf::CAFMaker::AddMCTruthToVec(), caf::Proxy< caf::SRNeutrino >::CheckEquals(), flat::FlatNeutrino::Fill(), hdf5::HDF5Neutrino< Tidx >::Fill(), and caf::Proxy< caf::SRNeutrino >::operator=().

float caf::SRNeutrino::visENeutronBirks

Sum of FLS hits that made CellHits from this neutrino [GeV] that were daughters of neutrons with birks suppression.

Definition at line 35 of file SRNeutrino.h.

Referenced by caf::CAFMaker::AddMCTruthToVec(), caf::Proxy< caf::SRNeutrino >::CheckEquals(), flat::FlatNeutrino::Fill(), hdf5::HDF5Neutrino< Tidx >::Fill(), and caf::Proxy< caf::SRNeutrino >::operator=().

SRVector3D caf::SRNeutrino::vtx
float caf::SRNeutrino::W2
float caf::SRNeutrino::woscdumb
float caf::SRNeutrino::x
float caf::SRNeutrino::xsec

xsec for thrown interaction, in 1/GeV^2, as stored by the GENIE spline

Definition at line 73 of file SRNeutrino.h.

Referenced by caf::CAFMaker::AddMCTruthToVec(), caf::Proxy< caf::SRNeutrino >::CheckEquals(), flat::FlatNeutrino::Fill(), hdf5::HDF5Neutrino< Tidx >::Fill(), and caf::Proxy< caf::SRNeutrino >::operator=().

float caf::SRNeutrino::y

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