...
The only things that change for SCons builds (on the surface, anyway) are the configuration file and the script used to call the tests. Essentially, the environment is set in the configuration file and propagated through the test scripts as needed.
Other optional modifications to the configuration file described here can be used as normal.
> $SYSTESTS/src/exec/runSysTests.sh
becomes
> $SYSTESTS/src/exec/runSysTests_SCons.sh
...
- Rerunning the root analysis on existing Gleam outputs
- Re-running the comparisons/setting the default reference version
- Running a subset of the tests
- Deleting a version of the tests from the database
- Setting up to use L1 or Pass8 jobOptions
- Adding new Histograms to the ROOT scripts
Anchor | ||||
---|---|---|---|---|
|
Skipping the Gleam step (MC generation, digi, recon, and merit)
...
Panel | ||
---|---|---|
| ||
> cd $SYSTESTS/src/exec |
Anchor | ||||
---|---|---|---|---|
|
Setting JobOptions for L1proc or Pass8
The JobOptions parameters for the current v17 version of L1proc are slightly different than the settings for Pass8. Some of which is due to the different G4 versions in use. To switch back and forth, before running system tests, you'll want to "source setMode*.csh" for the appropriate version you are planning to run. There are also two versions of the ROOT scripts for L1proc and P8, TupleFragment.cxx and ReconTkrFragment.cxx. This script handles switching these as well.
The relevant files are in systests/src/exec:
setModeLevel1.csh, setModePass8.csh, which both call setModeVersion.csh.
Anchor | ||||
---|---|---|---|---|
|
Adding new Histograms to the scripts
Sometimes it is necessary to add or modify histograms to the existing ROOT scripts when new analyses are requested. The copy of the source to modify is located in $SYSTESTS/src/root. Note that some of the scripts have both a L1 and P8 version associated with them.
When running system tests, with new histograms for the first time, you could use the initial run as the reference version to itself - otherwise when running the comparison, there will be errors about missing variables if a previous run is used as reference.
Anchor | ||||
---|---|---|---|---|
|