eventAnalysis  7.0-49-g0ac7482
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
TJNuBeamFlux.hxx
Go to the documentation of this file.
1 #ifndef JNuBeamFlux_hh_seen
2 #define JNuBeamFlux_hh_seen
3 
4 #include <iostream>
5 
6 #include "TObjString.h"
7 #include "TObject.h"
8 
9 ///
10 /// JNuBeam flux pass-through info. Both GRooTracker and NRooTracker inherit
11 /// from this so as to avoid duplication of code. Currently up to date with
12 /// 11a version of pass-through info.
13 ///
14 namespace ND {
15 
16 const int kNgmax = 12;
17 
18 // This is the base class for all RooTracker type objects. For now
19 // it is empty and just so that an pass round pointers to
20 // all derived classes (will be usefull for reweighting applications etc...)
21 class RooTrackerVtxBase : public TObject {
22  public:
24  virtual ~RooTrackerVtxBase() {}
26 };
27 
29  public:
30  JNuBeamFlux();
31  virtual ~JNuBeamFlux();
32 
33  void Reset(void);
34  // Using methods from TObject to remove 'hidden' compiler warnings
35  using TObject::Copy;
36  void Copy(const JNuBeamFlux* flux);
37 
38  //
39  // Meta information
40  //
41  long NuFluxEntry; ///< corresponding entry in orig flux file
42  TObjString* NuFileName; ///< orig flux file name neutrino parent info
43  int NuParentPdg; ///< parent hadron pdg code
44  int NuParentDecMode; ///< parent hadron decay mode
45  double NuParentDecP4[4]; ///< parent hadron 4-momentum at decay
46  double NuParentDecX4[4]; ///< parent hadron 4-position at decay
47  float NuCospibm; ///< parent hadron cos(theta) relative to beam at decay
48  float NuNorm; ///< Normalization weight
49  double NuParentProP4[4]; ///< parent hadron 4-momentum at production
50  double NuParentProX4[4]; ///< parent hadron 4-position at production
51  float
52  NuCospi0bm; ///< parent hadron cos(theta) relative to beam at production
53  float NuRnu; ///< neutrino r position at ND5/6 plane
54  float NuXnu[2]; ///< neutrino (x,y) position at ND5/6 plane
55  int NuIdfd; ///< Detector ID primary particle information
56  int NuGipart; ///< primary particle ID
57  float NuGpos0[3]; ///< primary particle starting point
58  float NuGvec0[3]; ///< primary particle direction at starting point
59  float NuGamom0; ///< momentum of the primary particle at the starting point Interation History Information
60  int NuNg; ///< Number of interaction steps
61  float NuGp[kNgmax][3]; ///< Momentum of ancestor particle
62  float NuGcosbm[kNgmax]; ///< Ancestor particle cos(theta) relative to beam
63  float NuGv[kNgmax][3]; ///< Position of ancestor particle
64  int NuGpid[kNgmax]; ///< PDG ancestor particle ID
65  int NuGmec[kNgmax]; ///< particle production mechanism of ancestor particle Normalization and Transfer Matrix Information
66  float NuEnusk; ///< Neutrino Energy at SK
67  float NuNormsk; ///< Normalization weight at SK
68  float NuAnorm; ///< ND Acceptance Weight Out-of-target Secondary Interactions
69  int NuGmat[kNgmax]; ///< material in which the particle originates
70  float NuGdistc[kNgmax]; ///< distance traveled through carbon
71  float NuGdistal[kNgmax]; ///< distance traveled through aluminum
72  float NuGdistti[kNgmax]; ///< distance traveled through titanium
73  float NuGdistfe[kNgmax]; ///< distance traveled through iron Beam parameter information
74  float NuVersion; ///< jnubeam flux version
75  int NuTuneid; ///< beam tune ID #
76  int NuNtrig; ///< Number of triggers
77  int NuPint; ///< Interaction model ID
78  float NuBpos[2]; ///< Beam center position
79  float NuBtilt[2]; ///< Beam angle
80  float NuBrms[2]; ///< Beam RMS width
81  float NuEmit[2]; ///< Beam Emittance
82  float NuAlpha[2]; ///< Beam Alpha
83  float NuHcur[3]; ///< Horn currents
84  int NuRand; ///< Random seed
85  // int NuRseed[2]; // Random seed
86 
88 };
89 
90 } // nd280 namespace
91 #endif
float NuGdistti[kNgmax]
distance traveled through titanium
float NuGpos0[3]
primary particle starting point
float NuBtilt[2]
Beam angle.
double NuParentProP4[4]
parent hadron 4-momentum at production
float NuGdistc[kNgmax]
distance traveled through carbon
float NuAnorm
ND Acceptance Weight Out-of-target Secondary Interactions.
float NuRnu
neutrino r position at ND5/6 plane
float NuGp[kNgmax][3]
Momentum of ancestor particle.
float NuBpos[2]
Beam center position.
int NuParentPdg
parent hadron pdg code
float NuEmit[2]
Beam Emittance.
void Reset(void)
int NuNg
Number of interaction steps.
float NuCospibm
parent hadron cos(theta) relative to beam at decay
long NuFluxEntry
corresponding entry in orig flux file
int NuIdfd
Detector ID primary particle information.
float NuGvec0[3]
primary particle direction at starting point
const int kNgmax
int NuGipart
primary particle ID
void Copy(const JNuBeamFlux *flux)
float NuHcur[3]
Horn currents.
int NuTuneid
beam tune ID #
ClassDef(ND::JNuBeamFlux, 1)
float NuXnu[2]
neutrino (x,y) position at ND5/6 plane
double NuParentDecX4[4]
parent hadron 4-position at decay
virtual ~RooTrackerVtxBase()
double NuParentProX4[4]
parent hadron 4-position at production
int NuParentDecMode
parent hadron decay mode
float NuGamom0
momentum of the primary particle at the starting point Interation History Information ...
float NuEnusk
Neutrino Energy at SK.
float NuVersion
jnubeam flux version
float NuNorm
Normalization weight.
int NuGpid[kNgmax]
PDG ancestor particle ID.
float NuAlpha[2]
Beam Alpha.
float NuGdistfe[kNgmax]
distance traveled through iron Beam parameter information
float NuGv[kNgmax][3]
Position of ancestor particle.
ClassDef(ND::RooTrackerVtxBase, 1)
float NuGcosbm[kNgmax]
Ancestor particle cos(theta) relative to beam.
int NuGmec[kNgmax]
particle production mechanism of ancestor particle Normalization and Transfer Matrix Information ...
int NuNtrig
Number of triggers.
float NuCospi0bm
parent hadron cos(theta) relative to beam at production
float NuBrms[2]
Beam RMS width.
virtual ~JNuBeamFlux()
float NuNormsk
Normalization weight at SK.
TObjString * NuFileName
orig flux file name neutrino parent info
int NuRand
Random seed.
double NuParentDecP4[4]
parent hadron 4-momentum at decay
float NuGdistal[kNgmax]
distance traveled through aluminum
int NuGmat[kNgmax]
material in which the particle originates
int NuPint
Interaction model ID.

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

Generated on Mon Mar 25 2024 14:43:59 for eventAnalysis by doxygen 1.8.5