1 #ifndef __sbnanalysis_core_Event__
2 #define __sbnanalysis_core_Event__
19 #ifdef GEN_FLATRECORD_CONTEXT
21 struct TVector3{TVector3(){}TVector3(
double,
double,
double){}
float x;
float y;
float z;};
22 struct Pair{std::string
first; std::vector<float>
second;};
163 #ifndef GEN_FLATRECORD_CONTEXT
164 std::map<std::string, std::vector<float> >
weights;
234 std::vector<RecoInteraction>
reco;
240 #endif // __sbnanalysis_core_Event__
TVector3 momentum
Neutrino three-momentum.
process_name opflash particleana ie ie ie z
Metadata metadata
Event metadata.
TVector3 momentum
Three-momentum.
process_name opflash particleana ie x
Final state particle information.
size_t index
Index in the reco vector.
FinalStateParticle lepton
The primary final state lepton.
int parentDecayMode
Parent hadron/muon decay mode.
Neutrino neutrino
The neutrino.
TVector3 start
Start position in detector coords [cm].
int parentPDG
Parent hadron/muon PDG.
bool iscc
CC (true) or NC/interference (false)
RecoInteraction reco
Reconstructed interaction.
float length
Total length of the energy depositions [cm].
Experiment experiment
Experiment identifier.
The reconstructed event data definition.
size_t ntruth
Size of truth.
int status_code
Status code returned by GENIE (see GenieStatus enum)
float modq_lab
|q|, lab frame
TVector3 end
End position in detector coords (may be outside of AV) [cm].
RecoInteraction(int tindex)
Contains truth level information and additional fields for selection-defined reconstruction informati...
float reco_energy
Reconstructed neutrino energy [GeV].
process_name opflash particleana ie ie y
float weight
Selection-defined event weight.
int targetPDG
PDG code of struck target.
bool is_primary
Whether the process producing the particle was "primary".
std::vector< RecoInteraction > reco
Reconstructed interactions.
float inelasticityY
Inelasticity y.
float w
Hadronic invariant mass W.
Metadata metadata
Event metadata.
std::vector< Interaction > truth
Associated truth interaction.
size_t index
Index in the MCTruth.
float baseline
Distance from decay to interaction.
Experiment experiment
Experiment identifier.
The standard event data definition.
size_t nfinalstate
Size of finalstate.
float q0
q0, struck nucleon rest frame
float modq
|q|, struck nucleon rest frame
std::vector< FinalStateParticle > finalstate
Other final state particles.
float q0_lab
q0, lab frame
float energy
Neutrino energy (GeV)
TVector3 position
Neutrino interaction position.
Neutrino interaction information.
int pdg
PDG code of probe neutrino.
int initpdg
Initial PDG code of probe neutrino.
size_t nreco
Size of reco.
All truth information associated with one neutrino interaction.
static const int kUnfilled
Value for unfilled variables.
int genie_intcode
Interaction mode (as for LArSoft MCNeutrino::Mode() )
TVector3 parentDecayVtx
Parent hadron/muon decay vertex.
bool isnc
same as LArSoft "ccnc" - 0=CC, 1=NC
std::map< std::string, std::vector< float > > weights
std::vector< Interaction > truth
All truth interactions.