Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Anchor
overview
overview

Overview

This is a description of the back end of the system tests. They consist of a perl module, several perl scripts and some root macros. The bulk of the original development was by Karl Young. You can find a copy of the documentation he wrote attached to this page (you'll notice that these pages bear some similarities to his work!)

...

The EMtests, GRtests and BTtests directories contain one directory for each test type used for the EngineeringModel, GlastRelease and BeamtestRelease packages respectively. The exec directory contains the perl scripts that run the tests. The output of the tests (root files and run log and summary) ends up in subdirectories of GlastRelease, EngMod or BeamtestRelease.

Anchor
instructions
instructions

Running the system tests

The system tests are configured using a configuration file. An annotated example can be found in /nfs/farm/g/glast/u17/systests/src/exec/Config_example.txt.

...

To examine the output of the job, go here.

Skipping the Gleam step (

...

MC generation, digi, recon, and merit)

If the full root mc, digi, recon, and merit trees already exist and are stored in the systests db and you wish to simply regenerate the histograms you can do: Wiki Markup   _> system test histograms, then adjust the config file to select a root only run.

Panel
titleRoot Only Example

> cd $SYSTESTS/GlastRelease/<test_name>
> cp Config.txt COnfig_rootonly.txt
Edit Config_rootonly.txt adding this as a separate line.
debugflag 1
Run the tests using the modified config file.
> $SYSTESTS/src/exec/runRootOnly

...

.sh Config_rootonly.txt
Reload the results to the database if needed. (This is currently necessary - Aug. 22, 2011)
> cd $SYSTESTS/src/exec
> source setup.csh
> python insert_metadata_version_sequence.py -b <test_name>

This will access the database to find the locations of the files containing the root trees root files that were already produced by GLEAM and will regenerate the system test histograms. This is very convenient if for testing and updating the RootAnalysis macros have been altered..

Anchor
tips
tips

Re-running the comparisons

...

  > cd $SYSTESTS/src/exec
  > cp $SYSTESTS/GlastRelease/v12r4/Config.txt Config_GRv12r4.txt
  > emacs Config_GRv12r4.txt &
  > insert_metadata.pl Config_GRv12r4.txt

Anchor
reports
reports

System Test Reports