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:
-
Jun 12, 2017, 7:42:11 PM (7 years ago)
- Author:
-
Patrick Stowell
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v4
|
v5
|
|
21 | 21 | - [wiki:HowToUseNUISCOMP-NuWro I want to use NuWro] |
22 | 22 | - [wiki:HowToUseNUISCOMP-NEUT I want to use NEUT] |
| 23 | |
| 24 | |
| 25 | = Useful NUISCOMP Commands = |
| 26 | There are also additional card file arguments and run time arguments that can be used with nuiscomp to help with debugging or performing slightly different comparisons. |
| 27 | |
| 28 | == Restricting the number of events == |
| 29 | The "-n" flag is included as a quick way to override the configuration value 'MAXEVENTS'. |
| 30 | |
| 31 | When set to anything other than -1 this parameter will restrict the maximum number of events read from each MC file, reducing the time taken to run, but enhancing statistical uncertainty. |
| 32 | |
| 33 | ** Example 1 ** : Limit the number of events to 5000 |
| 34 | {{{ |
| 35 | $ nuiscomp -c samples.card -o samples.root -n 5000 |
| 36 | }}} |
| 37 | ** Example 2 ** : Limit the number of events to 1E6 |
| 38 | {{{ |
| 39 | $ nuiscomp -c samples.card -o samples.root -n 1000000 |
| 40 | }}} |
| 41 | ** Example 3 ** : Limit the number of events to 1E6 |
| 42 | {{{ |
| 43 | $ nuiscomp -c samples.card -o samples.root -q MAXEVENTS=1000000 |
| 44 | }}} |
| 45 | ** Example 4 ** : Run with the default limit given in 'parameters/config.xml' |
| 46 | {{{ |
| 47 | $ nuiscomp -c samples.card -o samples.root |
| 48 | }}} |
| 49 | ** Example 5 ** : Run with no event limit |
| 50 | {{{ |
| 51 | $ nuiscomp -c samples.card -o samples.root -n -1 |
| 52 | }}} |
| 53 | ** Example 6 ** : Run with no event limit |
| 54 | {{{ |
| 55 | $ nuiscomp -c samples.card -o samples.root -q MAXEVENTS=-1 |
| 56 | }}} |
| 57 | |
| 58 | |
| 59 | |
| 60 | |
| 61 | == Overriding config options == |
| 62 | |
| 63 | == Specifying fake data == |
| 64 | |
| 65 | == Increasing/Decreasing Verbosity == |
| 66 | |
| 67 | |
| 68 | |
| 69 | nuiscomp -c cardfile.xml [ -o outputfile.root ] [ -f routines ] [ -n maxevents ] |
| 70 | [ -i 'cardstructure' ] [ -d fakedata ] [ -q config=val ] [ +e/-e ] [ +v/-v ] |
| 71 | |
| 72 | |
| 73 | |
| 74 | |
| 75 | |