Versions Compared

Key

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

Trigger Root Tree Analysis Utility

Introduction

This utility is the standard offline analysis framework for trigger test data based on the plain Root Tree Analysis. It contains This utility is aimed at two subpackages under users/ package, but currently the code is not yet committed to CVS. The working development versions Trg/ package in CVS. A current working development version reside at /afs/slac/g/glast/trigger/GlastRelease. This development current, but this development area may be unstable as it is being updated continuously so that it may be best to copy a snapshot to your own area for is recommended to check out production tagged versions for private development. The two subpackages:

...

These packages have standard CMT structures setup to build sharable ROOT libraries to be used for ROOT. The test version in the directory above have sharables built for Linux RHEL3/SL3 . The utility is only tested for running on Linux platform (Noric) at SLAC. To work with these utilities, the basic setup needed are just the standard GLAST ground user cshrc and ROOTSYS and lib paths defined for running ROOT. An example of this is /afs/slac/g/glast/trigger/GlastReleasecurrent/setup.

Usage and Development through CVS and CMT

Wiki Markup
The code CVS repository reside at the $CVSROOT/users/Trg/\[Packagename\]  (CVSROOT is /afs/slac/g/glast/ground/cvs on SLAC UNIX). As part of the "users" code, they are not attached to any office release so that you need to check them out and compile yourself for all usage. Because the packages live under users/ subdirectories, some care needs to be taken to not accidentally checkout or tag the whole users package with many people's code (you will regret it\!). The general usage of the users packages are eplianed by Toby in [this posting|http://www-glast.stanford.edu/protected/mail/infrasoft/0852.html]. As an example, if you want to develop the TrgTest code, starting from tag v0-01,  under your own release directory _myRelease,_ then the cvs checkout command is: 

  cd myRelease           

  cvs co -r v0-00 users/Trg TrgTest

This should make a directory myRelease/TrgTest/v0-00/.  When you commit the revised version for Trgtest, you should also issue the cvs commit from the sirectory myRelease/TrgTest/v0-00/.

The interactive CMT GUI is the recommended tool for doing development. It can be started with the command MRvcmt& after the setup is run. The essense of the CMT operations are introduced in the offline workbook under the tab: MRvcmt. Use the Options->Cmt Options tab to control the CMT path directories. You can also check what's in /afs/slac/g/glast/trigger/GlastRelease/cmtpath-save as an example how this is setup for development work in this working area. One typically goes to the GUI GlastRelease folder RTAutil or TrgTest package (by click and highlighting it) then just work under the Dev tab clean/config/Make to build and update the ROOT sharable libraries.

...

RunDump.C

Formated dumps of digis, recon objects and GEM data (digi/recon)

TestGeom RunTestGeom.C

Test to validate the ideal geometry utility (recon/histograms)

AcdRate RunAcdRate.C

Analysis of ACD rate test data (histogram, GEM event time)