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 13 and Version 14 of CardFileExamples


Ignore:
Timestamp:
Jun 13, 2017, 1:46:34 PM (7 years ago)
Author:
Patrick Stowell
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CardFileExamples

    v13 v14  
    464464
    465465=== Config Structure ===
    466 
     466Configuration options can be given at runtime by including them in the card file using the 'config' structure.
    467467{{{
    468468config   NAME   VALUE
    469469}}}
     470- **NAME** : Name of configuration parameter
     471- **VALUE** : Value of configuration parameter
     472
     473Including a configuration option will override the defaults given in 'parameters/config.xml'. Multiple configuration options can be overridden at once by listing them on separate lines in the card file.
     474
     475**Example 1 ** : Change the verbosity level
     476{{{
     477config VERBOSITY 1
     478}}}
     479
     480**Example 2 ** : Change the verbosity level and set the maximum number of events to run over
     481{{{
     482config VERBOSITY 2
     483config MAXEVENTS 25000
     484}}}
    470485
    471486
    472487=== Comments Structure ===
     488Comments can be inserted into the simple card format by using the '#' symbol at the start of a line.
    473489{{{
    474490# Insert my comments here
    475 
     491}}}
     492
     493** Example 1: **
    476494# These are my config options
    477495config  VERBOSITY  4
    478496}}}
    479497
    480 
    481 
    482 
    483 
    484 
    485 
     498** Example 2: **
     499{{{
     500# I Like making comments
     501config VERBOSITY 4
     502
     503# I like it a lot. I can also comment out other structures to 'turn them off'
     504# sample MiniBooNE_CCQE_XSec_1DQ2_nu NEUT:/path/to/neut/file.root
     505}}}
     506
     507
     508
     509
     510
     511
     512