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, 4:33:52 PM (8 years ago)
- Author:
-
Clarence Wret
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v48
|
v49
|
|
436 | 436 | |
437 | 437 | |
| 438 | = Add the sample to the CMake process = |
| 439 | |
| 440 | `CMake` is incredibly easy and versatile and the only modification you need to make is in `src/T2K/CMakeLists.txt`. |
| 441 | |
| 442 | You simply need to add the implementation files to the `set(IMPLFILES` list and the header files to the `set(HEADERFILES`. |
| 443 | |
| 444 | '''What to do:''' |
| 445 | * Add `T2K_CC1pip_H2O_XSec_1Dpmu_nu.cxx` and `T2K_CC1pip_H2O_XSec_1DEnuMB_nu.cxx` to `set(IMPLFILES` |
| 446 | |
| 447 | * Add `T2K_CC1pip_H2O_XSec_1Dpmu_nu.h` and `T2K_CC1pip_H2O_XSec_1DEnuMB_nu.h` to `set(HEADERFILES` |
| 448 | |
| 449 | |
| 450 | = Make NUISANCE aware of the sample = |
| 451 | |
| 452 | Now we've got all we need to include the sample in NUISANCE. The full implementation is listed at the [#point_full_imp bottom of this page] for reference. |
| 453 | |
| 454 | FCN/SampleList |
| 455 | |
| 456 | |
| 457 | |
| 458 | = Possible extensions = |
| 459 | 2D is similar |
| 460 | |
| 461 | |
| 462 | [=#point_full_imp] |
438 | 463 | = The final implementation = |
439 | 464 | |
… |
… |
|
520 | 545 | |
521 | 546 | |
522 | | |
523 | | = Make NUISANCE aware of the sample = |
524 | | FCN/SampleList |
525 | | |
526 | | = Add the sample to the makefile = |
527 | | CMake |
528 | | |
529 | | = Possible extensions = |
530 | | 2D is similar |