eventAnalysis  7.0-49-g0ac7482
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ND::NRooTrackerVtx Class Reference

This is a simple event class which is essentially an objectified version of the NEUT nRooTracker output format. More...

#include <TNRooTrackerVtx.hxx>

+ Inheritance diagram for ND::NRooTrackerVtx:
+ Collaboration diagram for ND::NRooTrackerVtx:

Public Member Functions

 NRooTrackerVtx ()
 Maximum possible number of saved NFNucleonSteps . This is set to mirror the equivalent parameter in the NEUT FSI hist header file nucleonfsihist.h. More...
 
 ~NRooTrackerVtx ()
 
 ClassDef (ND::RooTrackerVtxBase, 1)
 
 ClassDef (ND::JNuBeamFlux, 1)
 
 ClassDef (ND::NRooTrackerVtx, 3)
 
void Copy (const JNuBeamFlux *flux)
 
void Copy (const NRooTrackerVtx *event)
 
void Init (void)
 
void Print (const Option_t *option="") const
 
void Reset (void)
 

Public Attributes

TObjString * EvtCode
 generator-specific string with 'event code' More...
 
double EvtDXSec
 cross section for selected event kinematics (1E-38 cm2 /{K^n}) More...
 
int EvtNum
 event num. More...
 
double EvtProb
 probability for that event (given cross section, path lengths, etc) More...
 
double EvtVtx [4]
 event vertex position in detector coord syst (SI) More...
 
double EvtWght
 weight for that event More...
 
double EvtXSec
 cross section for selected event (1E-38 cm2) More...
 
TObjString * GeneratorName
 NEUT. More...
 
TObjString * GeomPath
 Geometry path of where the vertex is. More...
 
int IRadCorrPht
 Event-level flag of whether real photon production was. More...
 
float * NEabspvert
 Storage area for NEipvertf read from the RooTracker TTree. More...
 
float NEabspvertTemp [kNEmaxvertp]
 
float * NEabstpvert
 Absolute momentum in the nucleon rest frame (MeV/c) More...
 
float NEabstpvertTemp [kNEmaxvertp]
 Storage area for NEabspvert read from the RooTracker TTree. More...
 
float NEcrsphi
 /// More...
 
float NEcrsx
 Cross section calculation variables (X) (currently used for coherent interactions) More...
 
float NEcrsy
 Cross section calculation variables (Y) (currently used for coherent interactions) More...
 
float NEcrsz
 Cross section calculation variables (Z) (currently used for coherent /// interactions) More...
 
float NEdirvert [kNEmaxvertp][3]
 Direction of particle. More...
 
int * NEicrnvc
 Escaped nucleus (1) or not (0) More...
 
int NEicrnvcTemp [kNEmaxvc]
 
int * NEiflgvc
 Flag of final state Values: More...
 
int NEiflgvcTemp [kNEmaxvc]
 
int * NEiflgvert
 Interaction type Values: More...
 
int NEiflgvertTemp [kNEmaxvert]
 
int * NEiorgvc
 Index of parent (Fortran convention: starting at 1) More...
 
int NEiorgvcTemp [kNEmaxvc]
 
int * NEipvc
 PDG particle code. More...
 
int NEipvcTemp [kNEmaxvc]
 
int * NEipvert
 PDG particle code. More...
 
int NEipvertTemp [kNEmaxvertp]
 Storage area for NEabtpvert read from the RooTracker TTree. More...
 
int * NEivertf
 Index of final vertex (pointing to nvert array above) More...
 
int NEivertfTemp [kNEmaxvertp]
 Storage area for NEiverti read from the RooTracker TTree. More...
 
int * NEiverti
 Index of initial vertex (pointing to nvert array above) More...
 
int NEivertiTemp [kNEmaxvertp]
 Storage area for NEipvert read from the RooTracker TTree. More...
 
int NEnvc
 NEUT native VCWORK information Number of particles. More...
 
int NEnvcvert
 Number of intermediate particles (including initial and final) More...
 
int NEnvert
 Number of vertices (including production and exit points) More...
 
float NEposvert [kNEmaxvert][3]
 Position of vertex within nucleus (fm) More...
 
float NEpvc [kNEmaxvc][3]
 3-momentum (MeV/c) More...
 
float * NFe
 energy of nucleon leaving the i-th vertex More...
 
float * NFecms2
 CMS energy squared of collision at k-th step (i.e. More...
 
float NFecms2TEMP [kNFMaxNucleonSteps]
 Temporary RooTracker Tree readout variable, corresponds to NFfirststep. More...
 
float NFeTEMP [kNFMaxNucleonVert]
 Temporary RooTracker Tree readout variable, corresponds to NFpz. More...
 
int * NFfirststep
 
int NFfirststepTEMP [kNFMaxNucleonVert]
 Temporary RooTracker Tree readout variable, corresponds to NFe. More...
 
int * NFiflag
 4-digit flag for interaction type at i-th vertex, in the form More...
 
int NFiflagTEMP [kNFMaxNucleonVert]
 
int NFnstep
 number of steps More...
 
int NFnvert
 Number of "vertices". More...
 
float * NFpx
 x-component of momentum of nucleon leaving the i-th vertex More...
 
float NFpxTEMP [kNFMaxNucleonVert]
 Temporary RooTracker Tree readout variable, corresponds to NFz. More...
 
float * NFpy
 y-component of momentum of nucleon leaving the i-th vertex More...
 
float NFpyTEMP [kNFMaxNucleonVert]
 Temporary RooTracker Tree readout variable, corresponds to NFpx. More...
 
float * NFpz
 z-component of momentum of nucleon leaving the i-th vertex More...
 
float NFpzTEMP [kNFMaxNucleonVert]
 /Temporary RooTracker Tree readout variable, corresponds to NFpy More...
 
float * NFx
 x-component of i-th vertex position inside nucleus More...
 
float NFxTEMP [kNFMaxNucleonVert]
 Temporary RooTracker Tree readout variable, corresponds to NFiflag. More...
 
float * NFy
 y-component of i-th vertex position inside nucleus More...
 
float NFyTEMP [kNFMaxNucleonVert]
 Temporary RooTracker Tree readout variable, corresponds to NFx. More...
 
float * NFz
 z-component of i-th vertex position inside nucleus More...
 
float NFzTEMP [kNFMaxNucleonVert]
 Temporary RooTracker Tree readout variable, corresponds to NFy. More...
 
float NuAlpha [2]
 Beam Alpha. More...
 
float NuAnorm
 ND Acceptance Weight Out-of-target Secondary Interactions. More...
 
float NuBpos [2]
 Beam center position. More...
 
float NuBrms [2]
 Beam RMS width. More...
 
float NuBtilt [2]
 Beam angle. More...
 
float NuCospi0bm
 parent hadron cos(theta) relative to beam at production More...
 
float NuCospibm
 parent hadron cos(theta) relative to beam at decay More...
 
float NuEmit [2]
 Beam Emittance. More...
 
float NuEnusk
 Neutrino Energy at SK. More...
 
TObjString * NuFileName
 orig flux file name neutrino parent info More...
 
long NuFluxEntry
 corresponding entry in orig flux file More...
 
float NuGamom0
 momentum of the primary particle at the starting point Interation History Information More...
 
float NuGcosbm [kNgmax]
 Ancestor particle cos(theta) relative to beam. More...
 
float NuGdistal [kNgmax]
 distance traveled through aluminum More...
 
float NuGdistc [kNgmax]
 distance traveled through carbon More...
 
float NuGdistfe [kNgmax]
 distance traveled through iron Beam parameter information More...
 
float NuGdistti [kNgmax]
 distance traveled through titanium More...
 
int NuGipart
 primary particle ID More...
 
int NuGmat [kNgmax]
 material in which the particle originates More...
 
int NuGmec [kNgmax]
 particle production mechanism of ancestor particle Normalization and Transfer Matrix Information More...
 
float NuGp [kNgmax][3]
 Momentum of ancestor particle. More...
 
int NuGpid [kNgmax]
 PDG ancestor particle ID. More...
 
float NuGpos0 [3]
 primary particle starting point More...
 
float NuGv [kNgmax][3]
 Position of ancestor particle. More...
 
float NuGvec0 [3]
 primary particle direction at starting point More...
 
float NuHcur [3]
 Horn currents. More...
 
int NuIdfd
 Detector ID primary particle information. More...
 
int NuNg
 Number of interaction steps. More...
 
float NuNorm
 Normalization weight. More...
 
float NuNormsk
 Normalization weight at SK. More...
 
int NuNtrig
 Number of triggers. More...
 
int NuParentDecMode
 parent hadron decay mode More...
 
double NuParentDecP4 [4]
 parent hadron 4-momentum at decay More...
 
double NuParentDecX4 [4]
 parent hadron 4-position at decay More...
 
int NuParentPdg
 parent hadron pdg code More...
 
double NuParentProP4 [4]
 parent hadron 4-momentum at production More...
 
double NuParentProX4 [4]
 parent hadron 4-position at production More...
 
int NuPint
 Interaction model ID. More...
 
int NuRand
 Random seed. More...
 
float NuRnu
 neutrino r position at ND5/6 plane More...
 
int NuTuneid
 beam tune ID # More...
 
float NuVersion
 jnubeam flux version More...
 
float NuXnu [2]
 neutrino (x,y) position at ND5/6 plane More...
 
int OrigEvtNum
 Event number within the NEUT mc file. More...
 
TObjString * OrigFileName
 Filename of the NEUTmc file. More...
 
int OrigTreeEntries
 Number of entries in the NEUT mc file. More...
 
TObjString * OrigTreeName
 Tree name within the NEUT mc file. More...
 
double OrigTreePOT
 Number of POT in the NEUT mc file. More...
 
float PCascProb
 Temporary RooTracker Tree readout variable, corresponds to NFecms2. More...
 
float * Prob
 A step-wise probability for the nucleon FSI cascade. More...
 
float ProbTEMP [kNFMaxNucleonSteps]
 
int SPIDelta
 Temporary RooTracker Tree readout variable, corresponds to StepPdp. More...
 
int * StdHepFd
 first daughter More...
 
int StdHepFdTemp [kNStdHepNPmax]
 
int * StdHepFm
 first mother More...
 
int StdHepFmTemp [kNStdHepNPmax]
 
int * StdHepLd
 last daughter More...
 
int StdHepLdTemp [kNStdHepNPmax]
 
int * StdHepLm
 last mother More...
 
int StdHepLmTemp [kNStdHepNPmax]
 
int StdHepN
 number of particles in particle array More...
 
double StdHepP4 [kNStdHepNPmax][4]
 4-p (px,py,pz,E) of particle in LAB frame (GeV) More...
 
int * StdHepPdg
 pdg codes (& generator specific codes for pseudoparticles) More...
 
int StdHepPdgTemp [kNStdHepNPmax]
 
double StdHepPolz [kNStdHepNPmax][3]
 polarization vector More...
 
int * StdHepStatus
 generator-specific status code More...
 
int StdHepStatusTemp [kNStdHepNPmax]
 
double StdHepX4 [kNStdHepNPmax][4]
 4-x (x, y, z, t) of particle in hit nucleus frame (fm) More...
 
float * StepPdp
 A step-wise probability for double pion production via nucleon FSI. More...
 
float StepPdpTEMP [kNFMaxNucleonSteps]
 Temporary RooTracker Tree readout variable, corresponds to StepPsp. More...
 
float * StepPel
 A step-wise probability for elastic nucleon scatter scattering. More...
 
float StepPelTEMP [kNFMaxNucleonSteps]
 Temporary RooTracker Tree readout variable, corresponds to VertFsiRhon. More...
 
float * StepPsp
 A step-wise probability for single pion production via nucleon FSI. More...
 
float StepPspTEMP [kNFMaxNucleonSteps]
 Temporary RooTracker Tree readout variable, corresponds to StepPel. More...
 
double TimeInSpill
 Time of the vertex, relative to spill time. More...
 
int TruthVertexID
 A link to the TTruthVertex tree. More...
 
float * VertFlagStep
 Gives the interaction type of a step: 5 = non event, 4 = survival, 3 = douple pi, 2 = single pi, 1 = elastic Not used for nucleon FSI reweighting. More...
 
float VertFlagStepTEMP [kNFMaxNucleonSteps]
 Temporary RooTracker Tree readout variable, corresponds to Prob. More...
 
float * VertFsiRhon
 Prob multiplied by rhon from nrfermi.F in NEUT. More...
 
float VertFsiRhonTEMP [kNFMaxNucleonSteps]
 Temporary RooTracker Tree readout variable, corresponds to VertFlagStep. More...
 

Static Private Attributes

static const int kNFMaxNucleonSteps = 2000
 
static const int kNFMaxNucleonVert = 200
 Maximum possible number of saved NFNucleonVertices . This is set to mirror the equivalent parameter in the NEUT FSI hist header file nucleonfsihist.h. More...
 

Detailed Description

This is a simple event class which is essentially an objectified version of the NEUT nRooTracker output format.

Because the nRooTracker is forcing NEUT event into a GENIE defined storage care needs to be taken when interpreting the meaning of various data members. For example the StdHepStatus does not have a one to one mapping to GENIE StdHep status. Using this class with GENIE based utils or the GENIE ReWeighting tools can (and most likely will) result in false results!
Therefore, the native NEUT particle information common blocks (VCWORK, FSIHIST) are included.

Definition at line 43 of file TNRooTrackerVtx.hxx.

Constructor & Destructor Documentation

NRooTrackerVtx::NRooTrackerVtx ( )

Maximum possible number of saved NFNucleonSteps . This is set to mirror the equivalent parameter in the NEUT FSI hist header file nucleonfsihist.h.

Definition at line 17 of file TNRooTrackerVtx.cxx.

References Init().

NRooTrackerVtx::~NRooTrackerVtx ( )

Definition at line 19 of file TNRooTrackerVtx.cxx.

References EvtCode, GeneratorName, GeomPath, OrigFileName, and OrigTreeName.

Member Function Documentation

ND::RooTrackerVtxBase::ClassDef ( ND::RooTrackerVtxBase  ,
 
)
inherited
ND::JNuBeamFlux::ClassDef ( ND::JNuBeamFlux  ,
 
)
inherited
ND::NRooTrackerVtx::ClassDef ( ND::NRooTrackerVtx  ,
 
)
void NRooTrackerVtx::Init ( void  )

< Also some additional fields which will be useful JIMTODO - I need to stop instantialtion of these objects in the default constructor as this causes a memory leak when using i/o of cint

Definition at line 314 of file TNRooTrackerVtx.cxx.

References EvtCode, GeneratorName, GeomPath, OrigFileName, OrigTreeName, and Reset().

Referenced by NRooTrackerVtx().

Member Data Documentation

TObjString* ND::NRooTrackerVtx::EvtCode

generator-specific string with 'event code'

Definition at line 61 of file TNRooTrackerVtx.hxx.

Referenced by Copy(), Init(), Print(), Reset(), and ~NRooTrackerVtx().

double ND::NRooTrackerVtx::EvtDXSec

cross section for selected event kinematics (1E-38 cm2 /{K^n})

Definition at line 67 of file TNRooTrackerVtx.hxx.

Referenced by Copy(), Print(), and Reset().

int ND::NRooTrackerVtx::EvtNum

event num.

Definition at line 63 of file TNRooTrackerVtx.hxx.

Referenced by Copy(), Print(), and Reset().

double ND::NRooTrackerVtx::EvtProb

probability for that event (given cross section, path lengths, etc)

Definition at line 71 of file TNRooTrackerVtx.hxx.

Referenced by Copy(), Print(), and Reset().

double ND::NRooTrackerVtx::EvtVtx[4]

event vertex position in detector coord syst (SI)

Definition at line 73 of file TNRooTrackerVtx.hxx.

Referenced by Copy(), and Reset().

double ND::NRooTrackerVtx::EvtWght

weight for that event

Definition at line 69 of file TNRooTrackerVtx.hxx.

Referenced by Copy(), Print(), and Reset().

double ND::NRooTrackerVtx::EvtXSec

cross section for selected event (1E-38 cm2)

Definition at line 65 of file TNRooTrackerVtx.hxx.

Referenced by Copy(), Print(), and Reset().

TObjString* ND::NRooTrackerVtx::GeneratorName

NEUT.

Definition at line 337 of file TNRooTrackerVtx.hxx.

Referenced by Copy(), Init(), Print(), Reset(), and ~NRooTrackerVtx().

TObjString* ND::NRooTrackerVtx::GeomPath

Geometry path of where the vertex is.

Definition at line 335 of file TNRooTrackerVtx.hxx.

Referenced by Copy(), Init(), Print(), Reset(), and ~NRooTrackerVtx().

int ND::NRooTrackerVtx::IRadCorrPht

Event-level flag of whether real photon production was.

added

Definition at line 329 of file TNRooTrackerVtx.hxx.

Referenced by Copy(), and Reset().

const int ND::NRooTrackerVtx::kNFMaxNucleonSteps = 2000
staticprivate

Definition at line 46 of file TNRooTrackerVtx.hxx.

Referenced by Reset().

const int ND::NRooTrackerVtx::kNFMaxNucleonVert = 200
staticprivate

Maximum possible number of saved NFNucleonVertices . This is set to mirror the equivalent parameter in the NEUT FSI hist header file nucleonfsihist.h.

Definition at line 44 of file TNRooTrackerVtx.hxx.

Referenced by Reset().

float* ND::NRooTrackerVtx::NEabspvert

Storage area for NEipvertf read from the RooTracker TTree.

Definition at line 171 of file TNRooTrackerVtx.hxx.

Referenced by Copy(), and Print().

float ND::NRooTrackerVtx::NEabspvertTemp[kNEmaxvertp]

Definition at line 165 of file TNRooTrackerVtx.hxx.

Referenced by Reset().

float* ND::NRooTrackerVtx::NEabstpvert

Absolute momentum in the nucleon rest frame (MeV/c)

Definition at line 173 of file TNRooTrackerVtx.hxx.

Referenced by Copy(), and Print().

float ND::NRooTrackerVtx::NEabstpvertTemp[kNEmaxvertp]

Storage area for NEabspvert read from the RooTracker TTree.

Definition at line 166 of file TNRooTrackerVtx.hxx.

Referenced by Reset().

float ND::NRooTrackerVtx::NEcrsphi

///

Cross section calculation variables (phi) (currently used for coherent /// interactions)

Definition at line 139 of file TNRooTrackerVtx.hxx.

Referenced by Copy(), Print(), and Reset().

float ND::NRooTrackerVtx::NEcrsx

Cross section calculation variables (X) (currently used for coherent interactions)

Definition at line 135 of file TNRooTrackerVtx.hxx.

Referenced by Copy(), Print(), and Reset().

float ND::NRooTrackerVtx::NEcrsy

Cross section calculation variables (Y) (currently used for coherent interactions)

Definition at line 137 of file TNRooTrackerVtx.hxx.

Referenced by Copy(), Print(), and Reset().

float ND::NRooTrackerVtx::NEcrsz

Cross section calculation variables (Z) (currently used for coherent /// interactions)

Definition at line 138 of file TNRooTrackerVtx.hxx.

Referenced by Copy(), Print(), and Reset().

float ND::NRooTrackerVtx::NEdirvert[kNEmaxvertp][3]

Direction of particle.

Definition at line 162 of file TNRooTrackerVtx.hxx.

Referenced by Copy(), Print(), and Reset().

int* ND::NRooTrackerVtx::NEicrnvc

Escaped nucleus (1) or not (0)

Definition at line 130 of file TNRooTrackerVtx.hxx.

Referenced by Copy(), and Print().

int ND::NRooTrackerVtx::NEicrnvcTemp[kNEmaxvc]

Definition at line 115 of file TNRooTrackerVtx.hxx.

Referenced by Reset().

int* ND::NRooTrackerVtx::NEiflgvc

Flag of final state Values:

  • 0 : DETERMINED LATER PROCEDURE
  • 1 : DECAY TO OTHER PARTICLE
  • 2 : ESCAPE FROM DETECTOR
  • 3 : ABSORPTION
  • 4 : CHARGE EXCHANGE
  • 5 : STOP AND NOT CONSIDER IN M.C.
  • 6 : E.M. SHOWER
  • 7 : HADRON PRODUCTION
  • 8 : QUASI-ELASTIC SCATTER
  • 9 : FORWARD (ELASTIC-LIKE) SCATTER

Definition at line 128 of file TNRooTrackerVtx.hxx.

Referenced by Copy(), and Print().

int ND::NRooTrackerVtx::NEiflgvcTemp[kNEmaxvc]

Definition at line 114 of file TNRooTrackerVtx.hxx.

Referenced by Reset().

int* ND::NRooTrackerVtx::NEiflgvert

Interaction type Values:

  • (*10 FOR HI-NRG interaction, >~400 MeV/c)
  • -1 : ESCAPE
  • 0 : INITIAL (or unmatched parent vertex if I>1)
  • 3 : ABSORPTION
  • 4 : CHARGE EXCHANGE
  • 7 : HADRON PRODUCTION (hi-nrg only, i.e. 70)
  • 8 : QUASI-ELASTIC SCATTER
  • 9 : FORWARD (ELASTIC-LIKE) SCATTER

Definition at line 158 of file TNRooTrackerVtx.hxx.

Referenced by Copy(), and Print().

int ND::NRooTrackerVtx::NEiflgvertTemp[kNEmaxvert]

Definition at line 147 of file TNRooTrackerVtx.hxx.

Referenced by Reset().

int* ND::NRooTrackerVtx::NEiorgvc

Index of parent (Fortran convention: starting at 1)

Definition at line 112 of file TNRooTrackerVtx.hxx.

Referenced by Copy(), and Print().

int ND::NRooTrackerVtx::NEiorgvcTemp[kNEmaxvc]

Definition at line 110 of file TNRooTrackerVtx.hxx.

Referenced by Reset().

int* ND::NRooTrackerVtx::NEipvc

PDG particle code.

Definition at line 107 of file TNRooTrackerVtx.hxx.

Referenced by Copy(), and Print().

int ND::NRooTrackerVtx::NEipvcTemp[kNEmaxvc]

Definition at line 105 of file TNRooTrackerVtx.hxx.

Referenced by Reset().

int* ND::NRooTrackerVtx::NEipvert

PDG particle code.

Definition at line 175 of file TNRooTrackerVtx.hxx.

Referenced by Copy(), and Print().

int ND::NRooTrackerVtx::NEipvertTemp[kNEmaxvertp]

Storage area for NEabtpvert read from the RooTracker TTree.

Definition at line 167 of file TNRooTrackerVtx.hxx.

Referenced by Reset().

int* ND::NRooTrackerVtx::NEivertf

Index of final vertex (pointing to nvert array above)

Definition at line 179 of file TNRooTrackerVtx.hxx.

Referenced by Copy(), and Print().

int ND::NRooTrackerVtx::NEivertfTemp[kNEmaxvertp]

Storage area for NEiverti read from the RooTracker TTree.

Definition at line 169 of file TNRooTrackerVtx.hxx.

Referenced by Reset().

int* ND::NRooTrackerVtx::NEiverti

Index of initial vertex (pointing to nvert array above)

Definition at line 177 of file TNRooTrackerVtx.hxx.

Referenced by Copy(), and Print().

int ND::NRooTrackerVtx::NEivertiTemp[kNEmaxvertp]

Storage area for NEipvert read from the RooTracker TTree.

Definition at line 168 of file TNRooTrackerVtx.hxx.

Referenced by Reset().

int ND::NRooTrackerVtx::NEnvc

NEUT native VCWORK information Number of particles.

Definition at line 104 of file TNRooTrackerVtx.hxx.

Referenced by Copy(), Print(), and Reset().

int ND::NRooTrackerVtx::NEnvcvert

Number of intermediate particles (including initial and final)

Definition at line 160 of file TNRooTrackerVtx.hxx.

Referenced by Copy(), Print(), and Reset().

int ND::NRooTrackerVtx::NEnvert

Number of vertices (including production and exit points)

Definition at line 143 of file TNRooTrackerVtx.hxx.

Referenced by Copy(), Print(), and Reset().

float ND::NRooTrackerVtx::NEposvert[kNEmaxvert][3]

Position of vertex within nucleus (fm)

Position of vertex within nucleus (fm)

Definition at line 145 of file TNRooTrackerVtx.hxx.

Referenced by Copy(), Print(), and Reset().

float ND::NRooTrackerVtx::NEpvc[kNEmaxvc][3]

3-momentum (MeV/c)

Definition at line 108 of file TNRooTrackerVtx.hxx.

Referenced by Copy(), Print(), and Reset().

float* ND::NRooTrackerVtx::NFe

energy of nucleon leaving the i-th vertex

Definition at line 233 of file TNRooTrackerVtx.hxx.

Referenced by Copy().

float* ND::NRooTrackerVtx::NFecms2

CMS energy squared of collision at k-th step (i.e.

before interacting). The sign of this value indicates the charge of the target nucleon: NFecms2 > 0: proton, NFecms2 < 0: neutron (same as "T" in NFiflag)

Definition at line 242 of file TNRooTrackerVtx.hxx.

Referenced by Copy().

float ND::NRooTrackerVtx::NFecms2TEMP[kNFMaxNucleonSteps]

Temporary RooTracker Tree readout variable, corresponds to NFfirststep.

Definition at line 263 of file TNRooTrackerVtx.hxx.

Referenced by Reset().

float ND::NRooTrackerVtx::NFeTEMP[kNFMaxNucleonVert]

Temporary RooTracker Tree readout variable, corresponds to NFpz.

Definition at line 259 of file TNRooTrackerVtx.hxx.

Referenced by Reset().

int* ND::NRooTrackerVtx::NFfirststep

Definition at line 235 of file TNRooTrackerVtx.hxx.

Referenced by Copy().

int ND::NRooTrackerVtx::NFfirststepTEMP[kNFMaxNucleonVert]

Temporary RooTracker Tree readout variable, corresponds to NFe.

Definition at line 261 of file TNRooTrackerVtx.hxx.

Referenced by Reset().

int* ND::NRooTrackerVtx::NFiflag

4-digit flag for interaction type at i-th vertex, in the form

"BNTP": Values:

  • N: charge nucleon propagated through nucleus (0 = neutron, 1 = proton)
  • T: charge "target" nucleon the interaction is taking place on
  • P: scattering process:
    • P=0: start tracking of nucleon (i.e. gets "created")
    • P=1: elastic scattering
    • P=2: single pion production
    • P=3: double pion production
    • P=4: stop tracking of nucleon (i.e. leaves nucleus)
  • B: Pauli blocking flag (0 = not blocked, 1 = interaction was Pauli blocked and actually did not take place) Examples:
    • 103 means double pion production when a proton scattered on a neutron
    • 1011 means elastic scattering of a neutron on a proton did not take place due to Pauli blocking
      Note
      For P=0 and P=4, "T" is without meaning and always set to 0.

Definition at line 201 of file TNRooTrackerVtx.hxx.

Referenced by Copy().

int ND::NRooTrackerVtx::NFiflagTEMP[kNFMaxNucleonVert]

Definition at line 245 of file TNRooTrackerVtx.hxx.

Referenced by Reset().

int ND::NRooTrackerVtx::NFnstep

number of steps

Definition at line 236 of file TNRooTrackerVtx.hxx.

Referenced by Copy(), and Reset().

int ND::NRooTrackerVtx::NFnvert

Number of "vertices".

Remarks:

  • a "vertex" is actually better described as a start, end or scattering point of a track
  • at each scattering point, the first nucleon will be followed in the same track, while the second one will create a new track
  • each track consists of a series of consecutive vertices. The first vertex has P=0, the last P=4. In between may be any number (including 0) vertices where an actual scattering took place (P=1,2,3).
  • it is not possible (and not needed) to connect the second track of a scattering vertex with the original one. Note that "first" and "second" is purely arbitrary. For nucleon FSI uncertainties, only the probabilities of the scattering processes have to be calculated, so it is not important to know which tracks belong to each other.

Definition at line 183 of file TNRooTrackerVtx.hxx.

Referenced by Copy(), and Reset().

float* ND::NRooTrackerVtx::NFpx

x-component of momentum of nucleon leaving the i-th vertex

Definition at line 227 of file TNRooTrackerVtx.hxx.

Referenced by Copy().

float ND::NRooTrackerVtx::NFpxTEMP[kNFMaxNucleonVert]

Temporary RooTracker Tree readout variable, corresponds to NFz.

Definition at line 253 of file TNRooTrackerVtx.hxx.

Referenced by Reset().

float* ND::NRooTrackerVtx::NFpy

y-component of momentum of nucleon leaving the i-th vertex

Definition at line 229 of file TNRooTrackerVtx.hxx.

Referenced by Copy().

float ND::NRooTrackerVtx::NFpyTEMP[kNFMaxNucleonVert]

Temporary RooTracker Tree readout variable, corresponds to NFpx.

Definition at line 255 of file TNRooTrackerVtx.hxx.

Referenced by Reset().

float* ND::NRooTrackerVtx::NFpz

z-component of momentum of nucleon leaving the i-th vertex

Definition at line 231 of file TNRooTrackerVtx.hxx.

Referenced by Copy().

float ND::NRooTrackerVtx::NFpzTEMP[kNFMaxNucleonVert]

/Temporary RooTracker Tree readout variable, corresponds to NFpy

Definition at line 257 of file TNRooTrackerVtx.hxx.

Referenced by Reset().

float* ND::NRooTrackerVtx::NFx

x-component of i-th vertex position inside nucleus

Definition at line 221 of file TNRooTrackerVtx.hxx.

Referenced by Copy().

float ND::NRooTrackerVtx::NFxTEMP[kNFMaxNucleonVert]

Temporary RooTracker Tree readout variable, corresponds to NFiflag.

Definition at line 247 of file TNRooTrackerVtx.hxx.

Referenced by Reset().

float* ND::NRooTrackerVtx::NFy

y-component of i-th vertex position inside nucleus

Definition at line 223 of file TNRooTrackerVtx.hxx.

Referenced by Copy().

float ND::NRooTrackerVtx::NFyTEMP[kNFMaxNucleonVert]

Temporary RooTracker Tree readout variable, corresponds to NFx.

Definition at line 249 of file TNRooTrackerVtx.hxx.

Referenced by Reset().

float* ND::NRooTrackerVtx::NFz

z-component of i-th vertex position inside nucleus

Definition at line 225 of file TNRooTrackerVtx.hxx.

Referenced by Copy().

float ND::NRooTrackerVtx::NFzTEMP[kNFMaxNucleonVert]

Temporary RooTracker Tree readout variable, corresponds to NFy.

Definition at line 251 of file TNRooTrackerVtx.hxx.

Referenced by Reset().

float ND::JNuBeamFlux::NuAlpha[2]
inherited
float ND::JNuBeamFlux::NuAnorm
inherited

ND Acceptance Weight Out-of-target Secondary Interactions.

Definition at line 68 of file TJNuBeamFlux.hxx.

Referenced by ND::JNuBeamFlux::Copy(), Copy(), Print(), ND::JNuBeamFlux::Reset(), and ND::TRooTrackerVtxModuleBase::SetFluxTreeAddresses().

float ND::JNuBeamFlux::NuBpos[2]
inherited
float ND::JNuBeamFlux::NuBrms[2]
inherited
float ND::JNuBeamFlux::NuBtilt[2]
inherited
float ND::JNuBeamFlux::NuCospi0bm
inherited

parent hadron cos(theta) relative to beam at production

Definition at line 52 of file TJNuBeamFlux.hxx.

Referenced by ND::JNuBeamFlux::Copy(), ND::GRooTrackerVtx::Print(), ND::JNuBeamFlux::Reset(), and ND::TRooTrackerVtxModuleBase::SetFluxTreeAddresses().

float ND::JNuBeamFlux::NuCospibm
inherited

parent hadron cos(theta) relative to beam at decay

Definition at line 47 of file TJNuBeamFlux.hxx.

Referenced by ND::JNuBeamFlux::Copy(), ND::GRooTrackerVtx::Print(), ND::JNuBeamFlux::Reset(), and ND::TRooTrackerVtxModuleBase::SetFluxTreeAddresses().

float ND::JNuBeamFlux::NuEmit[2]
inherited
float ND::JNuBeamFlux::NuEnusk
inherited
TObjString* ND::JNuBeamFlux::NuFileName
inherited
long ND::JNuBeamFlux::NuFluxEntry
inherited
float ND::JNuBeamFlux::NuGamom0
inherited

momentum of the primary particle at the starting point Interation History Information

Definition at line 59 of file TJNuBeamFlux.hxx.

Referenced by ND::JNuBeamFlux::Copy(), ND::GRooTrackerVtx::Print(), Print(), ND::JNuBeamFlux::Reset(), and ND::TRooTrackerVtxModuleBase::SetFluxTreeAddresses().

float ND::JNuBeamFlux::NuGcosbm[kNgmax]
inherited

Ancestor particle cos(theta) relative to beam.

Definition at line 62 of file TJNuBeamFlux.hxx.

Referenced by ND::JNuBeamFlux::Copy(), ND::JNuBeamFlux::Reset(), and ND::TRooTrackerVtxModuleBase::SetFluxTreeAddresses().

float ND::JNuBeamFlux::NuGdistal[kNgmax]
inherited

distance traveled through aluminum

Definition at line 71 of file TJNuBeamFlux.hxx.

Referenced by ND::JNuBeamFlux::Copy(), ND::JNuBeamFlux::Reset(), and ND::TRooTrackerVtxModuleBase::SetFluxTreeAddresses().

float ND::JNuBeamFlux::NuGdistc[kNgmax]
inherited

distance traveled through carbon

Definition at line 70 of file TJNuBeamFlux.hxx.

Referenced by ND::JNuBeamFlux::Copy(), ND::JNuBeamFlux::Reset(), and ND::TRooTrackerVtxModuleBase::SetFluxTreeAddresses().

float ND::JNuBeamFlux::NuGdistfe[kNgmax]
inherited

distance traveled through iron Beam parameter information

Definition at line 73 of file TJNuBeamFlux.hxx.

Referenced by ND::JNuBeamFlux::Copy(), ND::JNuBeamFlux::Reset(), and ND::TRooTrackerVtxModuleBase::SetFluxTreeAddresses().

float ND::JNuBeamFlux::NuGdistti[kNgmax]
inherited

distance traveled through titanium

Definition at line 72 of file TJNuBeamFlux.hxx.

Referenced by ND::JNuBeamFlux::Copy(), ND::JNuBeamFlux::Reset(), and ND::TRooTrackerVtxModuleBase::SetFluxTreeAddresses().

int ND::JNuBeamFlux::NuGipart
inherited
int ND::JNuBeamFlux::NuGmat[kNgmax]
inherited

material in which the particle originates

Definition at line 69 of file TJNuBeamFlux.hxx.

Referenced by ND::JNuBeamFlux::Copy(), ND::JNuBeamFlux::Reset(), and ND::TRooTrackerVtxModuleBase::SetFluxTreeAddresses().

int ND::JNuBeamFlux::NuGmec[kNgmax]
inherited

particle production mechanism of ancestor particle Normalization and Transfer Matrix Information

Definition at line 65 of file TJNuBeamFlux.hxx.

Referenced by ND::JNuBeamFlux::Copy(), ND::JNuBeamFlux::Reset(), and ND::TRooTrackerVtxModuleBase::SetFluxTreeAddresses().

float ND::JNuBeamFlux::NuGp[kNgmax][3]
inherited

Momentum of ancestor particle.

Definition at line 61 of file TJNuBeamFlux.hxx.

Referenced by ND::JNuBeamFlux::Copy(), ND::JNuBeamFlux::Reset(), and ND::TRooTrackerVtxModuleBase::SetFluxTreeAddresses().

int ND::JNuBeamFlux::NuGpid[kNgmax]
inherited

PDG ancestor particle ID.

Definition at line 64 of file TJNuBeamFlux.hxx.

Referenced by ND::JNuBeamFlux::Copy(), ND::JNuBeamFlux::Reset(), and ND::TRooTrackerVtxModuleBase::SetFluxTreeAddresses().

float ND::JNuBeamFlux::NuGpos0[3]
inherited
float ND::JNuBeamFlux::NuGv[kNgmax][3]
inherited

Position of ancestor particle.

Definition at line 63 of file TJNuBeamFlux.hxx.

Referenced by ND::JNuBeamFlux::Copy(), ND::JNuBeamFlux::Reset(), and ND::TRooTrackerVtxModuleBase::SetFluxTreeAddresses().

float ND::JNuBeamFlux::NuGvec0[3]
inherited

primary particle direction at starting point

Definition at line 58 of file TJNuBeamFlux.hxx.

Referenced by ND::JNuBeamFlux::Copy(), ND::GRooTrackerVtx::Print(), Print(), ND::JNuBeamFlux::Reset(), and ND::TRooTrackerVtxModuleBase::SetFluxTreeAddresses().

float ND::JNuBeamFlux::NuHcur[3]
inherited
int ND::JNuBeamFlux::NuIdfd
inherited

Detector ID primary particle information.

Definition at line 55 of file TJNuBeamFlux.hxx.

Referenced by ND::JNuBeamFlux::Copy(), ND::GRooTrackerVtx::Print(), ND::JNuBeamFlux::Reset(), and ND::TRooTrackerVtxModuleBase::SetFluxTreeAddresses().

int ND::JNuBeamFlux::NuNg
inherited

Number of interaction steps.

Definition at line 60 of file TJNuBeamFlux.hxx.

Referenced by ND::JNuBeamFlux::Copy(), ND::JNuBeamFlux::Reset(), and ND::TRooTrackerVtxModuleBase::SetFluxTreeAddresses().

float ND::JNuBeamFlux::NuNorm
inherited
float ND::JNuBeamFlux::NuNormsk
inherited

Normalization weight at SK.

Definition at line 67 of file TJNuBeamFlux.hxx.

Referenced by ND::JNuBeamFlux::Copy(), Copy(), Print(), ND::JNuBeamFlux::Reset(), and ND::TRooTrackerVtxModuleBase::SetFluxTreeAddresses().

int ND::JNuBeamFlux::NuNtrig
inherited
int ND::JNuBeamFlux::NuParentDecMode
inherited
double ND::JNuBeamFlux::NuParentDecP4[4]
inherited
double ND::JNuBeamFlux::NuParentDecX4[4]
inherited
int ND::JNuBeamFlux::NuParentPdg
inherited
double ND::JNuBeamFlux::NuParentProP4[4]
inherited
double ND::JNuBeamFlux::NuParentProX4[4]
inherited
int ND::JNuBeamFlux::NuPint
inherited
int ND::JNuBeamFlux::NuRand
inherited
float ND::JNuBeamFlux::NuRnu
inherited

neutrino r position at ND5/6 plane

Definition at line 53 of file TJNuBeamFlux.hxx.

Referenced by ND::JNuBeamFlux::Copy(), ND::JNuBeamFlux::Reset(), and ND::TRooTrackerVtxModuleBase::SetFluxTreeAddresses().

int ND::JNuBeamFlux::NuTuneid
inherited
float ND::JNuBeamFlux::NuVersion
inherited
float ND::JNuBeamFlux::NuXnu[2]
inherited

neutrino (x,y) position at ND5/6 plane

Definition at line 54 of file TJNuBeamFlux.hxx.

Referenced by ND::JNuBeamFlux::Copy(), ND::JNuBeamFlux::Reset(), and ND::TRooTrackerVtxModuleBase::SetFluxTreeAddresses().

int ND::NRooTrackerVtx::OrigEvtNum

Event number within the NEUT mc file.

Definition at line 340 of file TNRooTrackerVtx.hxx.

Referenced by Copy(), Print(), and Reset().

TObjString* ND::NRooTrackerVtx::OrigFileName

Filename of the NEUTmc file.

Definition at line 338 of file TNRooTrackerVtx.hxx.

Referenced by Copy(), Init(), Print(), Reset(), and ~NRooTrackerVtx().

int ND::NRooTrackerVtx::OrigTreeEntries

Number of entries in the NEUT mc file.

Definition at line 341 of file TNRooTrackerVtx.hxx.

Referenced by Copy(), Print(), and Reset().

TObjString* ND::NRooTrackerVtx::OrigTreeName

Tree name within the NEUT mc file.

Definition at line 339 of file TNRooTrackerVtx.hxx.

Referenced by Copy(), Init(), Print(), Reset(), and ~NRooTrackerVtx().

double ND::NRooTrackerVtx::OrigTreePOT

Number of POT in the NEUT mc file.

Definition at line 342 of file TNRooTrackerVtx.hxx.

Referenced by Copy(), Print(), and Reset().

float ND::NRooTrackerVtx::PCascProb

Temporary RooTracker Tree readout variable, corresponds to NFecms2.

The overall probability for the nucelon FSI cascade. Used for nucleon FSI reweighting. It is the product of the probability of each step. This is the variable we actually use to calculate a nucleon FSI reweight (we take the ratio of this for nominal and new dial values).

Definition at line 271 of file TNRooTrackerVtx.hxx.

Referenced by Copy(), and Reset().

float* ND::NRooTrackerVtx::Prob

A step-wise probability for the nucleon FSI cascade.

Not directly used for nucleon FSI reweighting.

Definition at line 278 of file TNRooTrackerVtx.hxx.

Referenced by Copy().

float ND::NRooTrackerVtx::ProbTEMP[kNFMaxNucleonSteps]

Definition at line 304 of file TNRooTrackerVtx.hxx.

Referenced by Reset().

int ND::NRooTrackerVtx::SPIDelta

Temporary RooTracker Tree readout variable, corresponds to StepPdp.

SPIDelta flag for resonance decay reweighting This is documented in T2K-TN-414 0 means the resonance decay was sampled isotropicaly 1 means the resonance decay was sampled like a Delta resonance 2 means the resonance decay was sampled including multiple interfering resonances 3 means an old NEUT defauly which is a mix of 0 and 1

Definition at line 318 of file TNRooTrackerVtx.hxx.

Referenced by Copy(), and Reset().

int* ND::NRooTrackerVtx::StdHepFd

first daughter

Definition at line 96 of file TNRooTrackerVtx.hxx.

Referenced by Copy(), and Print().

int ND::NRooTrackerVtx::StdHepFdTemp[kNStdHepNPmax]

Definition at line 91 of file TNRooTrackerVtx.hxx.

Referenced by Reset().

int* ND::NRooTrackerVtx::StdHepFm

first mother

Definition at line 100 of file TNRooTrackerVtx.hxx.

Referenced by Copy(), and Print().

int ND::NRooTrackerVtx::StdHepFmTemp[kNStdHepNPmax]

Definition at line 93 of file TNRooTrackerVtx.hxx.

Referenced by Reset().

int* ND::NRooTrackerVtx::StdHepLd

last daughter

Definition at line 98 of file TNRooTrackerVtx.hxx.

Referenced by Copy(), and Print().

int ND::NRooTrackerVtx::StdHepLdTemp[kNStdHepNPmax]

Definition at line 92 of file TNRooTrackerVtx.hxx.

Referenced by Reset().

int* ND::NRooTrackerVtx::StdHepLm

last mother

Definition at line 102 of file TNRooTrackerVtx.hxx.

Referenced by Copy().

int ND::NRooTrackerVtx::StdHepLmTemp[kNStdHepNPmax]

Definition at line 94 of file TNRooTrackerVtx.hxx.

Referenced by Reset().

int ND::NRooTrackerVtx::StdHepN

number of particles in particle array

Definition at line 75 of file TNRooTrackerVtx.hxx.

Referenced by Copy(), Print(), and Reset().

double ND::NRooTrackerVtx::StdHepP4[kNStdHepNPmax][4]

4-p (px,py,pz,E) of particle in LAB frame (GeV)

Definition at line 87 of file TNRooTrackerVtx.hxx.

Referenced by Copy(), Print(), and Reset().

int* ND::NRooTrackerVtx::StdHepPdg

pdg codes (& generator specific codes for pseudoparticles)

Definition at line 81 of file TNRooTrackerVtx.hxx.

Referenced by Copy().

int ND::NRooTrackerVtx::StdHepPdgTemp[kNStdHepNPmax]

Definition at line 82 of file TNRooTrackerVtx.hxx.

Referenced by Reset().

double ND::NRooTrackerVtx::StdHepPolz[kNStdHepNPmax][3]

polarization vector

Definition at line 88 of file TNRooTrackerVtx.hxx.

Referenced by Copy(), and Reset().

int* ND::NRooTrackerVtx::StdHepStatus

generator-specific status code

Definition at line 84 of file TNRooTrackerVtx.hxx.

Referenced by Copy(), and Print().

int ND::NRooTrackerVtx::StdHepStatusTemp[kNStdHepNPmax]

Definition at line 85 of file TNRooTrackerVtx.hxx.

Referenced by Reset().

double ND::NRooTrackerVtx::StdHepX4[kNStdHepNPmax][4]

4-x (x, y, z, t) of particle in hit nucleus frame (fm)

Definition at line 86 of file TNRooTrackerVtx.hxx.

Referenced by Copy(), and Reset().

float* ND::NRooTrackerVtx::StepPdp

A step-wise probability for double pion production via nucleon FSI.

This almost never happens. Used for nucleon FSI reweighting.

Definition at line 302 of file TNRooTrackerVtx.hxx.

Referenced by Copy().

float ND::NRooTrackerVtx::StepPdpTEMP[kNFMaxNucleonSteps]

Temporary RooTracker Tree readout variable, corresponds to StepPsp.

Definition at line 315 of file TNRooTrackerVtx.hxx.

Referenced by Reset().

float* ND::NRooTrackerVtx::StepPel

A step-wise probability for elastic nucleon scatter scattering.

This is by far the most common interaction. Used for nucleon FSI reweighting.

Definition at line 292 of file TNRooTrackerVtx.hxx.

Referenced by Copy().

float ND::NRooTrackerVtx::StepPelTEMP[kNFMaxNucleonSteps]

Temporary RooTracker Tree readout variable, corresponds to VertFsiRhon.

Definition at line 310 of file TNRooTrackerVtx.hxx.

Referenced by Reset().

float* ND::NRooTrackerVtx::StepPsp

A step-wise probability for single pion production via nucleon FSI.

This rarely happens. Used for nucleon FSI reweighting.

Definition at line 297 of file TNRooTrackerVtx.hxx.

Referenced by Copy().

float ND::NRooTrackerVtx::StepPspTEMP[kNFMaxNucleonSteps]

Temporary RooTracker Tree readout variable, corresponds to StepPel.

Definition at line 312 of file TNRooTrackerVtx.hxx.

Referenced by Reset().

double ND::NRooTrackerVtx::TimeInSpill

Time of the vertex, relative to spill time.

Definition at line 343 of file TNRooTrackerVtx.hxx.

Referenced by Copy(), Print(), and Reset().

int ND::NRooTrackerVtx::TruthVertexID

A link to the TTruthVertex tree.

Definition at line 345 of file TNRooTrackerVtx.hxx.

Referenced by Copy(), Print(), and Reset().

float* ND::NRooTrackerVtx::VertFlagStep

Gives the interaction type of a step: 5 = non event, 4 = survival, 3 = douple pi, 2 = single pi, 1 = elastic Not used for nucleon FSI reweighting.

Definition at line 283 of file TNRooTrackerVtx.hxx.

Referenced by Copy().

float ND::NRooTrackerVtx::VertFlagStepTEMP[kNFMaxNucleonSteps]

Temporary RooTracker Tree readout variable, corresponds to Prob.

Definition at line 306 of file TNRooTrackerVtx.hxx.

Referenced by Reset().

float* ND::NRooTrackerVtx::VertFsiRhon

Prob multiplied by rhon from nrfermi.F in NEUT.

Apparently this might be useful one day. Not used for nucleon FSI reweighting.

Definition at line 287 of file TNRooTrackerVtx.hxx.

Referenced by Copy().

float ND::NRooTrackerVtx::VertFsiRhonTEMP[kNFMaxNucleonSteps]

Temporary RooTracker Tree readout variable, corresponds to VertFlagStep.

Definition at line 308 of file TNRooTrackerVtx.hxx.

Referenced by Reset().


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

Package Summary
Package Name: eventAnalysis
Package Version: 7.0-49-g0ac7482
Package Manager:

Generated on Mon Mar 25 2024 14:44:00 for eventAnalysis by doxygen 1.8.5