| 5 | Here are the most important commands: |
| 6 | |
| 7 | '''{{{set ParamName value}}}''' |
| 8 | |
| 9 | this commands sets the value of {{{ParamName}}} to {{{value}}} |
| 10 | |
| 11 | '''{{{add ParamName value value value ...}}}''' |
| 12 | |
| 13 | 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. |
| 14 | |
| 15 | '''{{{module ModuleClass ModuleName ModuleConfigurationBody}}}''' |
| 16 | |
| 17 | this command activates a module of class {{{ModuleClass}}} called {{{ModuleName}}} and evaluates module's configuration commands contained in {{{ModuleConfigurationBody}}}: |
| 18 | {{{ |
| 19 | module Efficiency ElectronEfficiency { |
| 20 | set InputArray ElectronEnergySmearing/electrons |
| 21 | set OutputArray electrons |
| 22 | |
| 23 | # add EfficiencyFormula {abs(PDG code)} {efficiency formula as a function of eta and pt} |
| 24 | |
| 25 | # default efficiency formula |
| 26 | add EfficiencyFormula {0} {0.0} |
| 27 | |
| 28 | # efficiency formula for electrons |
| 29 | add EfficiencyFormula {11} { (pt <= 5.0) * (0.000) + \ |
| 30 | (abs(eta) <= 1.5) * (pt > 5.0) * (0.950) + \ |
| 31 | (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 5.0) * (0.850) + \ |
| 32 | (abs(eta) > 2.5) * (0.000)} |
| 33 | } |
| 34 | }}} |
| 35 | |
| 36 | The global parameter called {{{ExecutionPath}}} defines the order of execution of various modules. |
| 37 | |
| 38 | {{{ |
| 39 | set ExecutionPath { |
| 40 | ParticlePropagator |
| 41 | TrackEfficiency |
| 42 | TrackMomentumSmearing |
| 43 | } |
| 44 | }}} |