You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Quick start for running the command line skimmer

Date: 24 June 2008
Software by: David Chamont
Presentation by: Tom Glanzman

Scope

This is intended to be a quick start guide for using the current skimmer version (v6r0p1) to extract merit/digi/recon events from real data as well as construct event lists. Event lists (test file with "Run EventId" pairs) may be used to drive the WIRED event display. FRED needs the explicit digi and recon files to read.

Two simple cases will be illustrated:

  1. Generate an event list and digi/recon event files after applying a TCut to the merit ntuple
  2. Generate digi/recon event files from a provided event list

Note that at some point the web interface to the skimmer will be able to handle these functions so this is but a stop-gap measure until the web interface is ready.

There is much more the skimmer can do but this guide does not (yet) cover any of that functionality.

Overview

  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 (filelist.txt)
  4. Edit the filelist.txt file as described 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

Examples. Code and files from the following examples are currently resident here (but they could disappear at some point):

/nfs/farm/g/glast/u18/skimmerTest/

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

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

-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

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

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

-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
  • No labels