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:
-
Jan 6, 2017, 11:53:38 AM (8 years ago)
- Author:
-
Clarence Wret
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v27
|
v28
|
|
71 | 71 | '''What to do:''' |
72 | 72 | |
73 | | Following the above convention, we end up with '''`T2K_CC1pip_H2O_XSec_1Dpmu_nu`''' which I'm happy with: there is no ambiguity what the class describes and there is no way of confusing it with other classes in NUISANCE. |
| 73 | Following the above convention, we end up with `T2K_CC1pip_H2O_XSec_1Dpmu_nu`: there is no ambiguity what the class describes and there is no way of confusing it with other classes in NUISANCE. |
74 | 74 | |
75 | 75 | |
76 | 76 | == Placing the sample in a directory == |
77 | 77 | |
78 | | As with many packages, NUISANCE has source code in the `src` directory. We then have a directory for each experiment inside `src`, e.g. `src/T2K`, `src/MINERvA`, and so on. |
79 | | |
80 | | The files themselves should be identical (or very very similar) to the sample name to avoid confusion. |
| 78 | As with many packages, NUISANCE has source code in the `src` directory. We have a directory for each experiment inside `src`, e.g. `src/T2K`, `src/MINERvA`, and so on. |
81 | 79 | |
82 | 80 | The applications using the `src` files go in the `app` directory. However, including a new sample does not involve changing anything there, so let's ignore it for the purpose of this tutorial. |
83 | 81 | |
| 82 | The new files themselves for the new samples should be identical (or very similar) to the sample name to avoid confusion. |
| 83 | |
84 | 84 | |
85 | 85 | '''What to do:''' |
… |
… |
|
87 | 87 | Make the new files `src/T2K/T2K_CC1pip_H2O_XSec_1Dpmu_nu.cxx` and `src/T2K/T2K_CC1pip_H2O_1Dpmu_nu.h`. These are the implementation and header files for the new measurement. |
88 | 88 | |
| 89 | |
89 | 90 | == Placing the data in a directory == |
90 | 91 | |
… |
… |
|
102 | 103 | Put the ROOT file from the [http://t2k-experiment.org/results/nd280data-numu-cc1pi-xs-on-h2o-2015/ data release] into the `data/T2K/CC1pip/H2O` directory. |
103 | 104 | |
104 | | |
| 105 | ---- |
105 | 106 | = Coding up a sample = |
106 | 107 | |