Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
ppfx
include
nu_g4numi.h
Go to the documentation of this file.
1
#ifndef nu_g4numi_h
2
#define nu_g4numi_h
3
4
#include <TROOT.h>
5
#include <TChain.h>
6
#include <TFile.h>
7
8
/*! Class to load the nudata tree */
9
class
nu_g4numi
{
10
11
public
:
12
13
/** the constructor needs a TChain*/
14
nu_g4numi
(TChain* chain);
15
virtual
~nu_g4numi
();
16
17
/** Get ntuple entry*/
18
void
GetEntry
(Int_t ientry);
19
20
/** Neutrino type \f$ 52: \bar{\nu}_{e}, 53: \nu_{e}, 55: \bar{\nu}_{\mu}, 56: \nu_{\mu} \f$ */
21
Int_t
Ntype
;
22
23
/** Neutrino energy Position 0 is in the front of Minos*/
24
Double_t
NenergyN
[11];
25
26
/** Geometrical weight to get the neutrino in front of Minos*/
27
Double_t
NWtNear
[11];
28
29
/** Neutrino energy in far Minos*/
30
Double_t
NenergyF
[2];
31
32
/** Geometrical weight to get the neutrino in the far Minos*/
33
Double_t
NWtFar
[2];
34
35
/** Recover the right stats*/
36
Double_t
Nimpwt
;
37
38
//Ancestries:
39
/** number of trajectory*/
40
Int_t
ntrajectory
;
41
42
/** overflow flag*/
43
Bool_t
overflow
;
44
45
/** pdg code*/
46
Int_t
pdg
[10];
47
48
/** start px */
49
Double_t
startpx
[10];
50
51
/** start py */
52
Double_t
startpy
[10];
53
54
/** start pz */
55
Double_t
startpz
[10];
56
57
/** stop px */
58
Double_t
stoppx
[10];
59
60
/** stop py */
61
Double_t
stoppy
[10];
62
63
/** stop pz */
64
Double_t
stoppz
[10];
65
66
/** parent px at production point*/
67
Double_t
pprodpx
[10];
68
69
/** parent py at production point*/
70
Double_t
pprodpy
[10];
71
72
/** parent pz at production point*/
73
Double_t
pprodpz
[10];
74
75
/** start x */
76
Double_t
startx
[10];
77
78
/** start y */
79
Double_t
starty
[10];
80
81
/** start z */
82
Double_t
startz
[10];
83
84
/** stop x */
85
Double_t
stopx
[10];
86
87
/** stop y */
88
Double_t
stopy
[10];
89
90
/** stop z */
91
Double_t
stopz
[10];
92
93
/** process name*/
94
TString
proc
[10];
95
96
/** initial volume of the track*/
97
TString
ivol
[10];
98
99
/** final volume of the track*/
100
TString
fvol
[10];
101
102
//Tar:
103
104
/** hadron off the target px*/
105
Double_t
tpx
;
106
107
/** hadron off the target py*/
108
Double_t
tpy
;
109
110
/** hadron off the target pz*/
111
Double_t
tpz
;
112
113
/** hadron off the target exit position x*/
114
Double_t
tvx
;
115
116
/** hadron off the target exit position y*/
117
Double_t
tvy
;
118
119
/** hadron off the target exit position z*/
120
Double_t
tvz
;
121
122
123
/** Neutrino parent type \f$ 8: \pi^{+}, 9: \pi^{-}, 11: K^{+}, 12: K^{-}\f$ */
124
Int_t
tptype
;
125
126
/** number of trajectory*/
127
Int_t
ntrees
;
128
129
/** number of trajectory*/
130
Int_t
nentries
;
131
132
private
:
133
TChain*
fChain
;
134
135
};
136
137
#endif
nu_g4numi::pprodpx
Double_t pprodpx[10]
Definition:
nu_g4numi.h:67
nu_g4numi::fvol
TString fvol[10]
Definition:
nu_g4numi.h:100
nu_g4numi::stopy
Double_t stopy[10]
Definition:
nu_g4numi.h:88
nu_g4numi::starty
Double_t starty[10]
Definition:
nu_g4numi.h:79
nu_g4numi
Definition:
nu_g4numi.h:9
nu_g4numi::tpy
Double_t tpy
Definition:
nu_g4numi.h:108
nu_g4numi::Nimpwt
Double_t Nimpwt
Definition:
nu_g4numi.h:36
nu_g4numi::GetEntry
void GetEntry(Int_t ientry)
Definition:
nu_g4numi.cpp:62
nu_g4numi::startx
Double_t startx[10]
Definition:
nu_g4numi.h:76
nu_g4numi::stoppy
Double_t stoppy[10]
Definition:
nu_g4numi.h:61
nu_g4numi::tvx
Double_t tvx
Definition:
nu_g4numi.h:114
nu_g4numi::stopx
Double_t stopx[10]
Definition:
nu_g4numi.h:85
nu_g4numi::nentries
Int_t nentries
Definition:
nu_g4numi.h:130
nu_g4numi::ntrees
Int_t ntrees
Definition:
nu_g4numi.h:127
nu_g4numi::tvy
Double_t tvy
Definition:
nu_g4numi.h:117
nu_g4numi::tptype
Int_t tptype
Definition:
nu_g4numi.h:124
nu_g4numi::tvz
Double_t tvz
Definition:
nu_g4numi.h:120
nu_g4numi::NenergyF
Double_t NenergyF[2]
Definition:
nu_g4numi.h:30
nu_g4numi::startpy
Double_t startpy[10]
Definition:
nu_g4numi.h:52
nu_g4numi::nu_g4numi
nu_g4numi(TChain *chain)
Definition:
nu_g4numi.cpp:4
nu_g4numi::Ntype
Int_t Ntype
Definition:
nu_g4numi.h:21
nu_g4numi::ivol
TString ivol[10]
Definition:
nu_g4numi.h:97
nu_g4numi::stoppz
Double_t stoppz[10]
Definition:
nu_g4numi.h:64
nu_g4numi::NenergyN
Double_t NenergyN[11]
Definition:
nu_g4numi.h:24
nu_g4numi::proc
TString proc[10]
Definition:
nu_g4numi.h:94
nu_g4numi::pprodpy
Double_t pprodpy[10]
Definition:
nu_g4numi.h:70
nu_g4numi::NWtNear
Double_t NWtNear[11]
Definition:
nu_g4numi.h:27
nu_g4numi::fChain
TChain * fChain
Definition:
nu_g4numi.h:133
nu_g4numi::ntrajectory
Int_t ntrajectory
Definition:
nu_g4numi.h:40
nu_g4numi::stoppx
Double_t stoppx[10]
Definition:
nu_g4numi.h:58
nu_g4numi::tpz
Double_t tpz
Definition:
nu_g4numi.h:111
nu_g4numi::startpz
Double_t startpz[10]
Definition:
nu_g4numi.h:55
nu_g4numi::pdg
Int_t pdg[10]
Definition:
nu_g4numi.h:46
nu_g4numi::~nu_g4numi
virtual ~nu_g4numi()
Definition:
nu_g4numi.cpp:68
nu_g4numi::stopz
Double_t stopz[10]
Definition:
nu_g4numi.h:91
nu_g4numi::pprodpz
Double_t pprodpz[10]
Definition:
nu_g4numi.h:73
nu_g4numi::startz
Double_t startz[10]
Definition:
nu_g4numi.h:82
nu_g4numi::NWtFar
Double_t NWtFar[2]
Definition:
nu_g4numi.h:33
nu_g4numi::tpx
Double_t tpx
Definition:
nu_g4numi.h:105
nu_g4numi::overflow
Bool_t overflow
Definition:
nu_g4numi.h:43
nu_g4numi::startpx
Double_t startpx[10]
Definition:
nu_g4numi.h:49
Generated by
1.8.11