SLAC PEP-II
BABAR
SLAC<->RAL
Babar logo CM2 logo
HEPIC E,S & H Databases PDG HEP preprints
Organization Detector Computing Physics Documentation
Personnel Glossary Sitemap Search Hypernews
next up previous
Next: Examples Up: Configuration Previous: Build-time configuration


Run-time configuration


Table 3: TCL configuration scripts.
TCL script Description
btaMini.tcl Deletes ``AllPath'', creates ``Everything'' path, sources the core configuration script BetaMiniSequences/BetaMiniSequence.tcl, and sources a BetaMiniPatches.tcl script.
btaMiniPhysics.tcl Sources btaMini.tcl.tcl and adds basic physics lists defined in BetaMiniSequences/BetaMiniPhysicsSequence.tcl.

The BetaMiniUser package was designed from the outset to be configured via TCL, rather than environment parameters. As noted earlier, BetaMiniOptions.tcl file sets the configuration parameters to reasonable default values. These defaults may be overridden by issuing
	set tclvar <value>
in a TCL ``snippet'' file containing job-dependent TCL- and module parameters (the job-independent parameters should be specified in the underlying analysis tcl file). The snippet file This snippet file will source something like BetaMiniUser/MyMiniAnalysis.tcl which in turn sources one of the configuration scripts listed in Table 3, adds the analysis module to the Everything path and runs the through the desired number of events. The examples in Section 3 illustrate how this is done. The basic steps for creating a snippet file are listed below.


next up previous
Next: Examples Up: Configuration Previous: Build-time configuration
William Stephen Lockman 2004-05-08