SLAC PEP-II
BABAR
SLAC<->RAL
Babar logo
HEPIC E,S & H Databases PDG HEP preprints
Organization Detector Computing Physics Documentation
Personnel Glossary Sitemap Search Hypernews
Unwrap page!
Simulation Home
Sim Codes
Event Generators
Bogus/BgsApp
SimApp
Bear
Moose
Fast Simulation
Geant4 Home
Subsystems
PEP
SVT
DCH
DRC
EMC
IFR
Mixing/Trigger
Backgrounds
Mixing
Trigger Simulation
MC Truth/QA
MC Truth
Micro/Mini
QA Histograms
Sim Error Reports
REMEDY
MC Production
Production Home
Test Production
Tools
Database
CERNLIB
CLHEP
Event display
RandControl
Scripts
Check this page for HTML 4.01 Transitional compliance with the
W3C Validator
(More checks...)
BaBar Home

SLAC Home

Personnel

Simulation Production

Search

This page maintained by W.Lockman




Introduction

This page provides some information about simulation production (SP), how to access run information, and how to stage tapes. Information about all production runs is kept in BFROOT/prod/log/allruns. This includes MDC-I,  MDC-II, PRV0 and SP1 productions. An example of the input and output files kept per run can be found in the directory for run 091732. These files include
  • the script used to submi  the job, simu091732.job;
  • the simulation control file, Job.tcl, containing the run number and event generator control;
  • the standard output stream, simu091732.log.gz
  • the batch output file, simu091732.batchout
  • the .xdr output file,  run091732.xdr
  • the histogram file, framework.hbook

The SP1.5 production release for BbsimModule is 7.11.2g. The SP1 production release for SimApp is 8.1.10h. For SP2, BbsimModule and SimApp will be in the same release.

The current production coordinator is John LoSecco.


bfreport command

This command supercedes dbreport for PRV0.

Usage:

  bfreport [options] <runs> 

Report information from PRV0 production database on given run numbers. If no run numbers are given, all runs are reported.

Options are from among:


--bytype Show number of processed events by type.
-c, --contains Show only jobs with description that contains the given string. Multiple -c args are ORed.
-d, --detail Give a detailed report
-g, --gen Show BBSIM generator info for run.
-m, --machine Show only jobs which ran on given machine prefix.
-N, --note Show only jobs which containg given string in note.
-n, --numbers Show only the run numbers that match options.
-o, --only Show only info on records of type 'SIMU', 'MIXR' or 'RECO'. All possible are shown by default.
    --ontape Show only jobs which have XDR saved to tape.
    --ranges Like -n, but compressed into ranges.
-r, --release *Show only jobs with given release version.
-s, --status *Show only jobs with given status.
-t, --type Specify that --status, --note, etc. options apply to 'SIMU', 'MIXR' (default) or 'RECO' records.
-x, --exclude Exclude specified runs from output.
-z, --summary Give a summary of info on selected runs.
-h, --help Prints this message.

Options marked with an (*) can take a comma separated list of
arguments (implying OR) with an optional starting '!' for negation.

Examples:

bfreport -d -c 'tau' -c 'e+e-' 072000-073000
bfreport -d -s '!Done,Allocated' -t RECO

Comments to Paul Raines.


xdrstage command

This comnmand stages an XDR file from tape or HPSS to disk in the directory /nfs/babar/prod/xdrfiles.

usage:

xdrstage [options] <run or run range>

  Stages in XDR files for given run numbers from HPSS or Redwood tape.
  Files once staged will be accessible from /nfs/babar/prod/xdrfiles
  with the filename run<runnum>.xdr

Options are from among:
  -D, --delete     Delete given files from staging area.
  -l, --list       Forces listing even if constant block given.
  -L, --last       Selects the last available constant block for given runs.
  -m, --minutes    Number minutes between connection retries.
  -n, --norun      Do not actually stage file, just show action.
  -p, --port       Change the port on the server to connect to.
  -r, --retries    Number of times to retry making connection to server.
  -s, --size       Return the size of the given files.
  -S, --server     Change the name of the server to connect to.
  -h, --help       Prints this message.

Comments to Paul Raines.