Changes between Version 14 and Version 15 of WorkBook/ConfigFile
- Timestamp:
- Dec 18, 2014, 1:44:06 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WorkBook/ConfigFile
v14 v15 13 13 Here are the most important commands: 14 14 15 '''{{{set ParamName value}}}''' 15 {{{set ParamName value}}}:: this commands sets the value of the parameter given by {{{ParamName}}} to {{{value}}} 16 16 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. 18 18 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 27 21 module Efficiency ElectronEfficiency { 28 22 set InputArray ElectronEnergySmearing/electrons … … 39 33 }}} 40 34 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 46 37 set ExecutionPath { 47 38 ParticlePropagator … … 88 79 For instance, the following configuration allows to specify a particular random seed, skip the first 100 events and process the following 1000 events. 89 80 90 {{{ 81 {{{#!tcl 91 82 set RandomSeed 23 92 83 set SkipEvents 100