Versions Compared

Key

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

...

  1. Log onto a SLAC Linux machine (e.g., noric)
  2. Identify files needed for skim operation, e.g., browse the data catalog
  3. Create a text file with the list of file names (e.g., filelist.txt)
  4. Edit the filelist.txt file as described illustrated in the Examples below
  5. Locate yourself in a directory with sufficient space to hold the expected output
  6. Create/customize a script to run the skimmer (templates provided below)
  7. Run the skimmer

...

Code Block
/nfs/farm/g/glast/u18/skimmerTest/

Example 1 - Create an event list based on a merit TCut, then extract digi/recon events (subdir /treeCut)

Given this script and this filelist, the following files result:

Code Block

$ ./treeCut.csh
[lots of output...]
$ ls -l
-rw-rw-r--    1 dragon   glast-pipeline      727 Jun 24 14:00 newfilelist.txt
-rw-rw-r--    1 dragon   glast-pipeline      881 Jun 24 14:00 libraryList.txt
-rw-rw-r--    1 dragon   glast-pipeline    15666 Jun 24 14:00 v14r4-BranchList.txt
-rw-rw-r--    1 dragon   glast-pipeline     1787 Jun 24 14:00 eventList.txt
-rw-r--r--    1 dragon   glast-pipeline   122406 Jun 24 14:00 L1PROC-skim_merit.root
-rw-r--r--    1 dragon   glast-pipeline   873903 Jun 24 14:00 L1PROC-skim_recon.root
-rw-r--r--    1 dragon   glast-pipeline   182663 Jun 24 14:00 L1PROC-skim_digi.root

These root files contain 119 events.

Example 2 - Extract digi/recon events from a provided event list (subdir /treeEvtList)

Given this script, this filelist and this eventlist, the following files result:

Code Block

$ ./treeEvtList.csh
[lots of output...]
$ ls -l
-rw-rw-r--    1 dragon   glast-pipeline      727 Jun 24 14:04 newfilelist.txt
-rw-rw-r--    1 dragon   glast-pipeline      881 Jun 24 14:04 libraryList.txt
-rw-rw-r--    1 dragon   glast-pipeline    15666 Jun 24 14:04 v14r4-BranchList.txt
-rw-r--r--    1 dragon   glast-pipeline    51023 Jun 24 14:04 L1PROC-skim_merit.root
-rw-r--r--    1 dragon   glast-pipeline   194381 Jun 24 14:04 L1PROC-skim_recon.root
-rw-r--r--    1 dragon   glast-pipeline   123064 Jun 24 14:04 L1PROC-skim_digi.root

These root files contain 21 events.

Reference information

  • Skimmer User's Guide
  • The skimmer code is in CVS, package name = DataServer
  • At SLAC the skimmer code is located in this directory
    Code Block
    
    /afs/slac/g/glast/ground/DataServer/
    
  • You might also be interested in the Data Access FAQ