SRBeam.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // \brief This class contains information about the neutrino production
3 ////////////////////////////////////////////////////////////////////////
4 #ifndef SRBEAM_H
5 #define SRBEAM_H
6 
8 
9 namespace caf
10 {
11 /** \brief Information about the neutrino production.
12 * Docs from http://www.hep.utexas.edu/~zarko/wwwgnumi/v19/v19/output_gnumi.html
13 */
14  class SRBeam
15  {
16  public:
17  SRBeam();
18  ~SRBeam();
19 
20  void setDefault();
21 
22 
23 
24  /// "target vertex". Exit point of parent particle at the target
26 
27  /// "target momentum". Parent momentum exiting the target
29 
30  /// Flux run number, indicates which FLUGG job created this flux
31  float runjob;
32 
33  /// Proton event number, indicates which simulated proton was taken
34  int potnum;
35 
36  /// "target particle type". Parent particle ID exiting the target (PDG code)
37  int tptype;
38 
39  /// "neutrino importance weight". Weight of neutrino parent
40  float nimpwt;
41 
42  /// "neutrino decay". Decay mode that produced neutrino
43  int ndecay;
44 
45  /// "vertex". Position of hadron/muon decay
47 
48  /// "parent decay momentum". Parent momentum at decay point
50 
51  /// "parent particle momentum dx/dx". Parent dx/dz direction at production
52  float ppdxdz;
53 
54  /// "parent particle momentum dy/dz". Parent dy/dz direction at production
55  float ppdydz;
56 
57  /// "parent particle p_z". Parent Z momentum at production
58  float pppz;
59 
60  /// "parent particle energy". Parent energy at production
61  float ppenergy;
62 
63  /// "parent particle medium". Tracking medium number where parent was produced
64  int ppmedium;
65 
66  /// "parent type". Parent PDG code
67  int ptype;
68 
69  /// "parent particle vertex". Parent production vertex
71 
72  /// Muon neutrino parent momentum, x component
74 
75  /// Muon neutrino parent energy
76  float mupare;
77 
78  /// Neutrino energy in CM frame
79  float necm;
80 
81  /// nu parent generation 1=primary proton, 2=secondary, 3=tertiary, etc
82  int tgen;
83 
84  /// PDG of parent of the particle exiting the target
85  int tgptype;
86 
87  /// distance from decay to ray origin (ray origin is the intermediate point on the flux window)
88  float dk2gen;
89 
90  /// distance from ray origin to event vtx
91  float gen2vtx;
92 
93  //the best estimate of the true travel distance of the neutrino (fdk2gen+fgen2vtx)
94  float dk2vtx;
95 
96 
97  };
98 
99 } // end namespace
100 
101 #endif // SRBEAM_H
102 //////////////////////////////////////////////////////////////////////////
Information about the neutrino production. Docs from http://www.hep.utexas.edu/~zarko/wwwgnumi/v19/v1...
Definition: SRBeam.h:14
int potnum
Proton event number, indicates which simulated proton was taken.
Definition: SRBeam.h:34
int ndecay
"neutrino decay". Decay mode that produced neutrino
Definition: SRBeam.h:43
A 3-vector with more efficient storage than TVector3.
Definition: SRVector3D.h:14
int ppmedium
"parent particle medium". Tracking medium number where parent was produced
Definition: SRBeam.h:64
int tptype
"target particle type". Parent particle ID exiting the target (PDG code)
Definition: SRBeam.h:37
float gen2vtx
distance from ray origin to event vtx
Definition: SRBeam.h:91
SRVector3D muparp
Muon neutrino parent momentum, x component.
Definition: SRBeam.h:73
float dk2vtx
Definition: SRBeam.h:94
SRVector3D pdp
"parent decay momentum". Parent momentum at decay point
Definition: SRBeam.h:49
float ppdydz
"parent particle momentum dy/dz". Parent dy/dz direction at production
Definition: SRBeam.h:55
float ppenergy
"parent particle energy". Parent energy at production
Definition: SRBeam.h:61
int ptype
"parent type". Parent PDG code
Definition: SRBeam.h:67
float necm
Neutrino energy in CM frame.
Definition: SRBeam.h:79
SRVector3D tp
"target momentum". Parent momentum exiting the target
Definition: SRBeam.h:28
float ppdxdz
"parent particle momentum dx/dx". Parent dx/dz direction at production
Definition: SRBeam.h:52
float mupare
Muon neutrino parent energy.
Definition: SRBeam.h:76
int tgptype
PDG of parent of the particle exiting the target.
Definition: SRBeam.h:85
float nimpwt
"neutrino importance weight". Weight of neutrino parent
Definition: SRBeam.h:40
float pppz
"parent particle p_z". Parent Z momentum at production
Definition: SRBeam.h:58
float dk2gen
distance from decay to ray origin (ray origin is the intermediate point on the flux window) ...
Definition: SRBeam.h:88
SRVector3D v
"vertex". Position of hadron/muon decay
Definition: SRBeam.h:46
SRVector3D tv
"target vertex". Exit point of parent particle at the target
Definition: SRBeam.h:25
This module creates Common Analysis Files.
Definition: FileReducer.h:10
float runjob
Flux run number, indicates which FLUGG job created this flux.
Definition: SRBeam.h:31
SRVector3D ppv
"parent particle vertex". Parent production vertex
Definition: SRBeam.h:70
int tgen
nu parent generation 1=primary proton, 2=secondary, 3=tertiary, etc
Definition: SRBeam.h:82
void setDefault()
Definition: SRBeam.cxx:41