SLAC PEP-II
BABAR
SLAC<->RAL
Babar logo
Workbook HEPIC Databases PDG HEP preprints
Organization Detector Computing Physics Documentation
Personnel Glossary Sitemap Search Hypernews
Unwrap page!
Wkbk. Search
Wkbk. Sitemap
Introduction
Non SLAC
HOWTO's
Introduction
Logging In
QuickTour
Detector
Info Resources
Software Infrastructure
CM2 Introduction
Unix
OO
SRT
Objectivity
Event Store
Framework
Beta
Modifying Code
Writing and Editing
Compiling
Debugging
Analysis
Framework II
Analysis
Find Data
Batch Processing
PAW
PAW II
ROOT I
ROOT II
ROOT III
Advanced Infrastructure
New Releases
Workdir
Main Packages
Event Displays
Gen/Sim/Reco
Contributing Software
SRT and CVS
Coding
Advanced Topics
Make CM2 Ntuples
New Packages
New Packages 2
Persistent Classes
Java
Site Installation
Check this page for HTML 4.01 Transitional compliance with the
W3C Validator
(More checks...)

A Summary of Quicktour commands

The following is a summary of the commands used in the Quicktour, with a minimum of explanation. A few commands are in a different order than in the Quicktour, but the result is exactly the same.

Commands needed to set up and run the job

Go to your home directory:
> cd
Create a test release:
> newrel -s $BFROOT/build/<first_letter>/<username> -t analysis-30 ana30
Change into the test release directory:
> cd ana30
Do srtpath and cond18boot:
ana30> srtpath <enter> <enter>
ana30> cond18boot
Addpkg workdir and BetaMiniUser:
ana30> addpkg workdir
ana30> addpkg BetaMiniUser
Check the Extra Tags page, and add the tag(s) listed under "core bug fixes":
ana30> addpkg KanModules V01-07-02-01
Check for dependencies:
ana30> checkdep
Set up workdir:
ana30> gmake workdir.setup

Find your FDID numbers:

ana30> GetFDID
Create a file called .bbobjy file containing the sole line:
FD_NUMBER = ****
where **** is one of the 4-digit FDID numbers assigned to you.

"Edit" some BetaMiniUser code:

ana30>  cp $BFROOT/www/doc/workbook/NewExamples/NTrkExample/* BetaMiniUser/ 
ana30>  mv BetaMiniUser/snippet.tcl workdir/
Compile and link your code:
ana30> bsub -q bldrecoq -o all.log gmake all
Go to workdir:
ana30> cd workdir
Start the job:
workdir> BetaMiniApp snippet.tcl
Talk to an input module:
> mod talk KanEventInput
Add a collection to the input list:
KanEventInput> input add /store/SP/R18/001237/200309/18.6.0b/SP_001237_013238
Exit KanEventInput:
KanEventInput> exit
Start the job, and run 3 events:
> ev beg -nev 3
Run 37 more events, for a total of 40:
> ev cont -nev 37
Exit the framework:
> exit 

Other commands used in the Quicktour

Use BbkDatasetTcl to make a tcl file

Produce a tcl file in workdir:
workdir> BbkDatasetTcl -ds SP-1237-Run4

ROOT commands

Start a ROOT session from workdir:
workdir> bbrroot
Open the file myHistogram.root:
root[0] TFile f("myHistogram.root");
View the contents of myHistogram.root:
root[1] f.ls();
View the NTrkExample histogram:
root[2] h1d3->Draw();
Exit ROOT:
root[3] .q
Return to Quicktour


Back to Workbook Quicktour

Author:

Last updated: 2 March 2006
Last significant update: 19 January 2006