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
Double_t pprodpx[10]
Definition: nu_g4numi.h:67
TString fvol[10]
Definition: nu_g4numi.h:100
Double_t stopy[10]
Definition: nu_g4numi.h:88
Double_t starty[10]
Definition: nu_g4numi.h:79
Double_t tpy
Definition: nu_g4numi.h:108
Double_t Nimpwt
Definition: nu_g4numi.h:36
void GetEntry(Int_t ientry)
Definition: nu_g4numi.cpp:62
Double_t startx[10]
Definition: nu_g4numi.h:76
Double_t stoppy[10]
Definition: nu_g4numi.h:61
Double_t tvx
Definition: nu_g4numi.h:114
Double_t stopx[10]
Definition: nu_g4numi.h:85
Int_t nentries
Definition: nu_g4numi.h:130
Int_t ntrees
Definition: nu_g4numi.h:127
Double_t tvy
Definition: nu_g4numi.h:117
Int_t tptype
Definition: nu_g4numi.h:124
Double_t tvz
Definition: nu_g4numi.h:120
Double_t NenergyF[2]
Definition: nu_g4numi.h:30
Double_t startpy[10]
Definition: nu_g4numi.h:52
nu_g4numi(TChain *chain)
Definition: nu_g4numi.cpp:4
Int_t Ntype
Definition: nu_g4numi.h:21
TString ivol[10]
Definition: nu_g4numi.h:97
Double_t stoppz[10]
Definition: nu_g4numi.h:64
Double_t NenergyN[11]
Definition: nu_g4numi.h:24
TString proc[10]
Definition: nu_g4numi.h:94
Double_t pprodpy[10]
Definition: nu_g4numi.h:70
Double_t NWtNear[11]
Definition: nu_g4numi.h:27
TChain * fChain
Definition: nu_g4numi.h:133
Int_t ntrajectory
Definition: nu_g4numi.h:40
Double_t stoppx[10]
Definition: nu_g4numi.h:58
Double_t tpz
Definition: nu_g4numi.h:111
Double_t startpz[10]
Definition: nu_g4numi.h:55
Int_t pdg[10]
Definition: nu_g4numi.h:46
virtual ~nu_g4numi()
Definition: nu_g4numi.cpp:68
Double_t stopz[10]
Definition: nu_g4numi.h:91
Double_t pprodpz[10]
Definition: nu_g4numi.h:73
Double_t startz[10]
Definition: nu_g4numi.h:82
Double_t NWtFar[2]
Definition: nu_g4numi.h:33
Double_t tpx
Definition: nu_g4numi.h:105
Bool_t overflow
Definition: nu_g4numi.h:43
Double_t startpx[10]
Definition: nu_g4numi.h:49