|
close
Warning:
Can't synchronize with repository "(default)" ("(default)" is not readable or not a Git repository.). Look in the Trac log for more information.
- Timestamp:
-
Feb 28, 2017, 1:36:26 PM (8 years ago)
- Author:
-
Clarence Wret
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v32
|
v33
|
|
50 | 50 | |
51 | 51 | === Running the executable === |
52 | | You can now run the main executable (`neutroot2`) by: |
| 52 | You can now run the main executable `neutroot2`, which lives in `$NEUT_ROOT/src/neutsmpl/neutroot2`. Do |
53 | 53 | |
54 | 54 | {{{ |
… |
… |
|
56 | 56 | }}} |
57 | 57 | |
58 | | where `NEUT_CARD_FILE.card` is a card file compliant with your chosen NEUT version, and `OUTPUT_ROOT_FILE.root` is the ROOT output file where the events are to be saved. |
59 | | |
60 | | This output file contains all the event information and is the input for NUISANCE analyses. |
61 | | |
62 | | === Card-file examples === |
| 58 | where `NEUT_CARD_FILE.card` is a card file compliant with your chosen NEUT version |
| 59 | `OUTPUT_ROOT_FILE.root` is the ROOT output file where the events are to be saved. |
| 60 | |
| 61 | The output file contains all the event information and is the input for NUISANCE analyses. |
| 62 | |
| 63 | === NEUT card-file examples === |
63 | 64 | Examples of NEUT card files can be found in the `$NEUT_ROOT/src/neutsmpl/Cards` directory. |
64 | 65 | |
… |
… |
|
71 | 72 | NEUT has a load of defaults set on run-time if the user does not supply them, which means you're running with default NEUT. |
72 | 73 | |
73 | | Selecting different models is done in the cardfile, and all the inputs that a user can specify is found in `src/neutcore/necard.F`. |
74 | | |
75 | | The user can specify how many events to generate, the input flux in a `TH1D`, the incoming neutrino type, the flux file, number of bound protons and neutrons and free protons, what interaction modes, and so on. |
76 | | |
77 | | Here's a list for generating all modes on T2K H,,2,,O. The "C" at the start of each line is just a comment and will not be parsed by NEUT. |
| 74 | Selecting different models is done in the card-file, and all the inputs that a user can specify is found in `src/neutcore/necard.F`. |
| 75 | |
| 76 | The user can specify how many events to generate, the incoming neutrino type, the input flux file, number of bound protons and neutrons and free protons, what interaction modes, and so on. |
| 77 | |
| 78 | Here's an example card-file for generating all modes on T2K H,,2,,O. The "C" at the start of each line is just a comment and will not be parsed by NEUT. |
78 | 79 | |
79 | 80 | |
… |
… |
|
114 | 115 | |
115 | 116 | == Compiling NUISANCE against NEUT == |
| 117 | |
116 | 118 | Once you have a working NEUT installation and generated events (see [#point_compile above], you can link NUISANCE against NEUT. |
117 | 119 | |
118 | 120 | === Environment variables === |
| 121 | |
119 | 122 | To run NUISANCE with NEUT you'll need to provide environment variables `$NEUT_ROOT`, `$CERN`, `$CERN_LEVEL` and `$ROOTSYS`. |
120 | 123 | |
… |
… |
|
158 | 161 | |
159 | 162 | === NEUT output required by NUISANCE === |
| 163 | |
160 | 164 | The output of `neutroot2`, contains a ROOT file containing `nevents` `neutvect` objects which has all the information about each event in it. This is read in by NUISANCE to generate predictions. |
161 | 165 | |
… |
… |
|
163 | 167 | |
164 | 168 | === Using NEUT events with NUISANCE === |
| 169 | |
165 | 170 | To read NEUT inputs the generator needs to be specified in the NUISANCE input card file when specifying a sample. e.g. for MiniBooNE CCQE |
166 | 171 | |
… |
… |
|
171 | 176 | |
172 | 177 | == Using NEUT !ReWeight with NUISANCE == |
| 178 | |
173 | 179 | NUISANCE has full support of running NEUT with its reweighting library. |
174 | 180 | |
… |
… |
|
176 | 182 | |
177 | 183 | === Compiling the reweight classes in NEUT === |
| 184 | |
178 | 185 | To compile NEUT's reweighting engine, make sure you've got the main executables compiled (see [#point_compile above]), set your `$ROOTSYS` environment varaible and do |
179 | 186 | |
… |
… |
|
187 | 194 | |
188 | 195 | === Running NUISANCE with NEUT !ReWeight === |
| 196 | |
189 | 197 | {{{ |
190 | 198 | #!div class="important" |
|