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 27 and Version 28 of HowToAddSample


Ignore:
Timestamp:
Jan 6, 2017, 11:53:38 AM (8 years ago)
Author:
Clarence Wret
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HowToAddSample

    v27 v28  
    7171'''What to do:'''
    7272
    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.
     73Following 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.
    7474
    7575
    7676== Placing the sample in a directory ==
    7777
    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.
     78As 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.
    8179
    8280The 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.
    8381
     82The new files themselves for the new samples should be identical (or very similar) to the sample name to avoid confusion.
     83
    8484
    8585'''What to do:'''
     
    8787Make 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.
    8888
     89
    8990== Placing the data in a directory ==
    9091
     
    102103Put 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.
    103104
    104 
     105----
    105106= Coding up a sample =
    106107