Fork me on GitHub

Changes between Version 14 and Version 15 of WorkBook/ConfigFile


Ignore:
Timestamp:
Dec 18, 2014, 1:44:06 AM (10 years ago)
Author:
Pavel Demin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WorkBook/ConfigFile

    v14 v15  
    1313Here are the most important commands:
    1414
    15 '''{{{set ParamName value}}}'''
     15 {{{set ParamName value}}}:: this commands sets the value of the parameter given by {{{ParamName}}} to {{{value}}}
    1616
    17 this commands sets the value of the parameter given by {{{ParamName}}} to {{{value}}}
     17 {{{add ParamName value value value ...}}}:: this command treats the parameter given by {{{ParamName}}} as a list and appends each of the {{{value}}} arguments to that list as a separate element.
    1818
    19 '''{{{add ParamName value value value ...}}}'''
    20 
    21 this command treats the parameter given by {{{ParamName}}} as a list and appends each of the {{{value}}} arguments to that list as a separate element.
    22 
    23 '''{{{module ModuleClass ModuleName ModuleConfigurationBody}}}'''
    24 
    25 this command activates a module of class {{{ModuleClass}}} called {{{ModuleName}}} and evaluates module's configuration commands contained in {{{ModuleConfigurationBody}}}:
    26 {{{
     19 {{{module ModuleClass ModuleName ModuleConfigurationBody}}}:: this command activates a module of class {{{ModuleClass}}} called {{{ModuleName}}} and evaluates module's configuration commands contained in {{{ModuleConfigurationBody}}}:
     20{{{#!tcl
    2721module Efficiency ElectronEfficiency {
    2822  set InputArray ElectronEnergySmearing/electrons
     
    3933}}}
    4034
    41 '''{{{set ExecutionPath ListOfModuleNames}}}'''
    42 
    43 the global parameter called '''{{{ExecutionPath}}}''' defines the order of execution of various modules:
    44 
    45 {{{
     35 {{{set ExecutionPath ListOfModuleNames}}}:: the global parameter called '''{{{ExecutionPath}}}''' defines the order of execution of various modules:
     36{{{#!tcl
    4637set ExecutionPath {
    4738  ParticlePropagator
     
    8879For instance, the following configuration allows to specify a particular random seed, skip the first 100 events and process the following 1000 events.
    8980
    90 {{{
     81{{{#!tcl
    9182set RandomSeed 23
    9283set SkipEvents 100