nuisance is hosted by Hepforge, IPPP Durham
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.

Changes between Version 48 and Version 49 of HowToAddSample


Ignore:
Timestamp:
Jan 6, 2017, 4:33:52 PM (8 years ago)
Author:
Clarence Wret
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HowToAddSample

    v48 v49  
    436436
    437437
     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
     442You 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
     452Now 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
     454FCN/SampleList
     455
     456
     457
     458= Possible extensions =
     4592D is similar
     460
     461
     462[=#point_full_imp]
    438463= The final implementation =
    439464
     
    520545
    521546
    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