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 18 and Version 19 of HowToAddSample


Ignore:
Timestamp:
Jan 5, 2017, 4:01:56 PM (8 years ago)
Author:
Clarence Wret
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HowToAddSample

    v18 v19  
    7171As 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.
    7272
     73The files themselves should be identical (or very very similar) to the sample name to avoid confusion.
     74
    7375The 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.
    7476
     
    7678'''What to do:'''
    7779
    78 Make the new files `src/T2K/T2K_CC1pip_H2O_XSec_1Dpmu_nu.cxx` and `src/T2K/T2K_CC1pip_H2O_1Dpmu_nu.h`.
     80Make 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.
    7981
    8082=== Placing the data ===
    8183
    82 The data
     84The data for the measurement goes into the `data` directory.
     85
     86As with the `src` directory we have sub-directories for each experiment, e.g. `data/T2K` and `data/MINERvA`.
     87
     88Furthermore, we specify another directory for the measurement topology to avoid confusion, e.g. `data/T2K/CC1pip` for our sample.
     89
     90In some cases we might have the same topology defining the cross-section but for different targets. In this case we add another sub-directory for the target.
     91
     92'''What to do:'''
     93Put 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.
    8394
    8495