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...)

Framework Investigation

> help
Command(s) available in the "AppFrame" module:

      echo              Send text argument to stdout (useful in scripts).
      exit              Leave the current menu, module, or process
      help              Bring up help text for the current context.
      show              Display the value of any parameters or statistics.
      sourceFoundFile   Source file in $BFDEFAULTSEARCHPATH or $BFSEARCHPATH.
      verbose           bool parameter: set or list.
      production        bool parameter: set or list.
      enableFrames      bool parameter: set or list.
      events            Command used to control the looping over events
      module            Command used to control and specify modules
      path              Command used to create, modify and control paths
      sequence          Command used to create, modify and control sequences
      config            Dump and restore configuration.
      action            Command used to control module actions
      strictModuleDisable       bool parameter: set or list.

For more information on a particular command type '<command> help'.
A minimal set to select an input file and run 5 events is:
    module talk FileInput
      input file <your_file>
      exit
    ev begin -nev 5
    exit

A script can also be specified as the first argument when running the program.

In addition the following command aliases can also be used.

Alias: Command Equivalent:
mod     module
cont    events continue
talk    module talk
seq     sequence
begin   events begin
up      exit
clone   module clone
logout  exit
ev      events
quit    exit

> mod talk RooTupleEnv

RooTupleEnv> help

This module sets the global tuple manager to RooTupleManager.
Command(s) available in the "RooTupleEnv" module:

      echo              Send text argument to stdout (useful in scripts).
      exit              Leave the current menu, module, or process
      help              Bring up help text for the current context.
      show              Display the value of any parameters or statistics.
      sourceFoundFile   Source file in $BFDEFAULTSEARCHPATH or $BFSEARCHPATH.
      verbose           bool parameter: set or list.
      production        bool parameter: set or list.
      enableFrames      bool parameter: set or list.
      useScalers        bool parameter: set or list.
      globalHist        bool parameter: set or list.
      ntupleFile        bool parameter: set or list.
      histFileName      general parameter: set or list.

> echo The echo command prints whatever I say.

The echo command prints whatever I say.

RooTupleEnv> histFileName list

Value of histFileName for module RooTupleEnv is myHistogram.root

RooTupleEnv> histFileName set DarthVader.root

RooTupleEnv> show

Current value of item(s) in the "RooTupleEnv" module:

      Value of verbose for module RooTupleEnv: f
      Value of production for module RooTupleEnv: t
      Value of enableFrames for module RooTupleEnv: f
      Value of useScalers for module RooTupleEnv: f
      Value of globalHist for module RooTupleEnv: f
      Value of ntupleFile for module RooTupleEnv: t
      Value of histFileName for module RooTupleEnv is DarthVader.root

RooTupleEnv> echo Luke, I am your father.

Luke, I am your father.

RooTupleEnv> exit

> mod talk PExample

PExample> help

Command(s) available in the "PExample" module:

      echo              Send text argument to stdout (useful in scripts).
      exit              Leave the current menu, module, or process
      help              Bring up help text for the current context.
      show              Display the value of any parameters or statistics.
      sourceFoundFile   Source file in $BFDEFAULTSEARCHPATH or $BFSEARCHPATH.
      verbose           bool parameter: set or list.
      production        bool parameter: set or list.
      enableFrames      bool parameter: set or list.

PExample> echo Nothing interesting to do in PExample.  I'm getting out of here.

Nothing interesting to do in PExample.  I'm getting out of here.

PExample> exit

> mod talk FrmwkExample

FrmwkExample> show

Current value of item(s) in the "FrmwkExample" module:

      Value of verbose for module FrmwkExample: f
      Value of production for module FrmwkExample: f
      Value of enableFrames for module FrmwkExample: f
      Value of pnbins for module FrmwkExample is 50
      Value of pxhigh for module FrmwkExample is 2
      Value of pxlow for module FrmwkExample is 0
      Value of trackCandidates for module FrmwkExample: IfdStrKey(ChargedTracks)

FrmwkExample> echo Look - there are the new parameters I created!

Look - there are the new parameters I created!

FrmwkExample> echo I wonder if I can change their values.

I wonder if I can change their values.

FrmwkExample> help

Command(s) available in the "FrmwkExample" module:

      echo              Send text argument to stdout (useful in scripts).
      exit              Leave the current menu, module, or process
      help              Bring up help text for the current context.
      show              Display the value of any parameters or statistics.
      sourceFoundFile   Source file in $BFDEFAULTSEARCHPATH or $BFSEARCHPATH.
      verbose           bool parameter: set or list.
      production        bool parameter: set or list.
      enableFrames      bool parameter: set or list.
      pnbins            general parameter: set or list.
      pxhigh            general parameter: set or list.
      pxlow             general parameter: set or list.
      trackCandidates   string key parameter: set or list.

FrmwkExample> pxlow set -1.5

FrmwkExample> pxhigh set 1.5

FrmwkExample> pnbins set 100

FrmwkExample> trackCandidates set GoodTracksLoose

FrmwkExample> echo (You'll learn about GoodTracksLoose in the Beta Continued section.)

(You'll learn about GoodTracksLoose in the Beta Continued section.)

FrmwkExample> show

Current value of item(s) in the "FrmwkExample" module:

      Value of verbose for module FrmwkExample: f
      Value of production for module FrmwkExample: f
      Value of enableFrames for module FrmwkExample: f
      Value of pnbins for module FrmwkExample is 100
      Value of pxhigh for module FrmwkExample is 1.5
      Value of pxlow for module FrmwkExample is -1.5
      Value of trackCandidates for module FrmwkExample: IfdStrKey(GoodTracksLoose)

FrmwkExample> echo Parameters successfully changed.

Parameters successfully changed.

FrmwkExample> exit

> mod talk KanEventInput

KanEventInput> help

Command(s) available in the "KanEventInput" module:

      echo              Send text argument to stdout (useful in scripts).
      exit              Leave the current menu, module, or process
      help              Bring up help text for the current context.
      show              Display the value of any parameters or statistics.
      sourceFoundFile   Source file in $BFDEFAULTSEARCHPATH or $BFSEARCHPATH.
      verbose           bool parameter: set or list.
      production        bool parameter: set or list.
      enableFrames      bool parameter: set or list.
      Kan_Verbose       symbolic parameter: set or list.
      ROOT_debug        general parameter: set or list.
      input             (Command) : Type 'input help' for details.
      first             general parameter: set or list.
      printDataStats    bool parameter: set or list.
      eidKey            string key parameter: set or list.

KanEventInput> input help

input add [-[no]v(alidate)|-[no]c(heck)] <file1> [<file2> ...]
                                        Add file(s) to list
input file [-[no]v(alidate)|-[no]c(heck)] <file1> [<file2> ...]
                                        Synonym for input add
input list                              Lists the current file list
input nosilent                          Sets verbosity level
input remove <file1> [<file2> ...]      Remove file(s) from list
input silent                            Sets verbosity level
input wipe[-out]                        Empty the list
input component <comp1> [<comp2> ...]   Adds a component to the input stream

KanEventInput> input add Luke Skywalker

KanEventInput> input list

Files:
       Luke
       Skywalker
Components:
            hdr
            tag
            tru
            aod
            cnd

KanEventInput> echo Wait a sec, those aren't input files.

Wait a sec, those aren't input files.

KanEventInput> input wipe

KanEventInput> input list

Files:        No input files are defined
Components:
            hdr
            tag
            tru
            aod
            cnd

KanEventInput> echo That's better.  Now I'll add a real collection.

That's better.  Now I'll add a real collection.

KanEventInput> input add /store/SP/R14/001237/200309/14.3.1c/SP_001237_000533

KanEventInput> input list 

Files:
       /store/SP/R14/001237/200309/14.3.1c/SP_001237_000533
Components:
            hdr
            tag
            aod
            cnd


KanEventInput> exit

> echo Okay,  I guess I've done enough.  Now run the job.

Okay,  I guess I've done enough.  Now run the job.

> ev beg -nev 40

Using KanAccess file /afs/slac.stanford.edu/g/babar/kanga/config/KanAccess.cfg
CdbBdbInit::CdbBdbInit.cc(154):CdbBdbInit: Using CDB view "<local>::<recent>".
BdbConfigModule:Config background key at beginJob is 0
EmcBuildGeom::BdbTclModuleProxy.cc(123): CONTAINER <tcl,EmcBuildGeom> 
DOES NOT EXIST
IfdStrKey(EmcEdgeCorrTheta)IfdStrKey(EmcEdgeCorrPhi)IfdStrKey
(EmcEdgeCorrThetaSigma)IfdStrKey(EmcEdgeCorrPhiSigma)EmcEdgeCorrLoader:begin Job
EmcEdgeCorrLoader:EmcEdgeCorr is initializing local coordinates for data.
BtaBuildPidEnv::AbsEnv.cc(379):Overriding BtaEnv object in global environment.
CompPi0ListMerger:CompPi0ListMerger begin Job
NTrkExample: Begin job
KanEventInput::KanFileReg.cc(345):KanFileReg: read UUID 
6e3dd762-649a-11d8-8d23-f0b7e7387201
Adding /store/SP/R14/001237/200309/14.3.1c/SP_001237_000533
KanEventInput::KanEventTree.cc(175):The meta data index is > than the 
# of meta data.
This can happen with data written in release 14.5.1
Will use the last entry of meta data.  This should be fine.
KanEventInput::KanEventTree.cc(175):The meta data index is > than the 
# of meta data.
This can happen with data written in release 14.5.1
Will use the last entry of meta data.  This should be fine.
KanEventInput::KanTreeBase.cc(241):No Branch called Emc_TMInfos
KanEventInput::KanTreeBase.cc(241):No Branch called Emc
KanEventInput::KanTreeBase.cc(241):No Branch called Emc_CandListBank
KanEventInput::KanTreeBase.cc(241):No Branch called L1Glt
KanEventInput::KanTreeBase.cc(241):No Branch called Reco_EmcCands
KanEventInput::KanTreeBase.cc(241):No Branch called Cnd
EvtCounter: processing event # 1 [ 1d:ffffffff:031ac8/76c0a879:N ]
EmcDigiCalib Constants Info for /emc/EmcSrcCalType:
Begin: Tue Jan  1 16:00:01 1901 (local time) 0 ns, End: Tue Jan  1 
16:00:01 1991 (local time) 0 ns, Created: Mon Sep 30 12:16:09 2002 
(local time) 264456200 ns
EmcDigiCalib Constants Info for /emc/EmcBhabhaType:
Begin: Tue Jan  1 16:00:01 1901 (local time) 0 ns, End: Fri Jan  1 
00:00:01 1999 (local time) 0 ns, Created: Tue Oct  1 15:27:54 2002 
(local time) 941506800 ns
Global Calibrator - EmcMkIIComboCalibrator:
Begin: Thu Jan  1 00:00:01 1976 (local time) 0 ns, End: Wed Oct 20 
01:00:01 1999 (local time) 0 ns, Created: Tue Oct 26 13:30:06 2004 
(local time) 24792000 ns
EmcTrackMatch::EmcGeomTrkMatchMethod.cc(1531):Use track match constants 
from ASCII file.
EmcTrackMatch::EmcGeomTrkMatchMethod.cc(1535):Use track match constants 
from ASCII file.
EvtCounter: processing event # 2 [ 1d:ffffffff:031ac8/76c0abe2:U ]
EvtCounter: processing event # 3 [ 1d:ffffffff:031ac8/76c0af4b:H ]
EvtCounter: processing event # 4 [ 1d:ffffffff:031ac8/76c0b2b4:P ]
EvtCounter: processing event # 5 [ 1d:ffffffff:031ac8/76c0b61d:V ]
   ...
EvtCounter: processing event # 39 [ 1d:ffffffff:031ac8/76c12a0f:V ]
EvtCounter: processing event # 40 [ 1d:ffffffff:031ac8/76c12d78:J ]

> exit

TagBGFMultiHadron:TagBGFMultiHadron: endJob summary:
         Events processed: 0
         Events passed   : 0
         Events prescaled: 0
NTrkExample: End job
MyMiniAnalysis::MyMiniAnalysis.cc(114):
match vs charge
        *-----*-----*-----*
     0.5|  249|  618|  248|
    -0.5|    0|   58|    1|
        *-----*-----*-----*
          -1.5  -0.5   0.5
UsrCandRefCheck:end job
GoodPhotonSemiLoose_BFlav:GoodPhotonSemiLoose_BFlav selected 0 of 0 candidates.
KLHNotPionGTL_BFlav:KLHNotPionGTL_BFlav selected 0 of 0 candidates.
KLHNotPion_BFlav:KLHNotPion_BFlav selected 0 of 0 candidates.
KLHVeryTight_BFlav:KLHVeryTight_BFlav selected 0 of 0 candidates.
KLHTight_BFlav:KLHTight_BFlav selected 0 of 0 candidates.
KLHLoose_BFlav:KLHLoose_BFlav selected 0 of 0 candidates.
KLHVeryLoose_BFlav:KLHVeryLoose_BFlav selected 0 of 0 candidates.
GoodTracksLoose_BFlav:GoodTracksLoose_BFlav selected 0 of 0 candidates.
GoodTracksVeryLooseHard_BFlav:GoodTracksVeryLooseHard_BFlav selected 
0 of 0 candidates.
GoodTracksVeryLooseSoft_BFlav:GoodTracksVeryLooseSoft_BFlav selected 
0 of 0 candidates.
GoodTracksSemiVeryLoose_BFlav:GoodTracksSemiVeryLoose_BFlav selected 
0 of 0 candidates.
GoodTracksVeryLoose_BFlav:GoodTracksVeryLoose_BFlav selected 
0 of 0 candidates.
CompBFast3body:Selected 0 candidates.
BchToEtacKch_Final:BchToEtacKch_Final end Job
B0ToEtacKs_Final:B0ToEtacKs_Final end Job
GoodPhotonTightAccSelection:GoodPhotonTightAccSelection selected 
0 of 0 candidates.
CompPi0ListMerger:CompPi0ListMerger end Job
GoodTracksVisibleESelection:GoodTracksVisibleESelection selected 
0 of 0 candidates.
GoodPhotonsVisibleESelection:GoodPhotonsVisibleESelection selected 
0 of 0 candidates.
TaggingMcControl:TaggingMcControl selected 0 of 0 candidates.
TightGammaTagSelection:TightGammaTagSelection selected 0 of 0 candidates.
LooseGammaTagSelection:LooseGammaTagSelection selected 0 of 0 candidates.
TaggingDispatch:TaggingDispatch selected 0 of 0 candidates.
MergedPi0MicroSelectionTight:MergedPi0MicroSelectionTight selected 0 of 0 candidates.
MergedPi0MicroSelectionLoose:MergedPi0MicroSelectionLoose selected 0 of 0 candidates.
KlongEmcTightMicroSelection:KlongEmcTightMicroSelection selected 0 of 0 candidates.
KlongEmcLooseMicroSelection:KlongEmcLooseMicroSelection selected 0 of 0 candidates.
KlongIfrTightMicroSelection:KlongIfrTightMicroSelection selected 0 of 0 candidates.
KlongIfrLooseMicroSelection:KlongIfrLooseMicroSelection selected 0 of 0 candidates.
VeryTightLHProtonSelection:VeryTightLHProtonSelection selected 0 of 0 candidates.
TightLHProtonSelection:TightLHProtonSelection selected 0 of 0 candidates.
LooseLHProtonSelection:LooseLHProtonSelection selected 0 of 0 candidates.
VeryLooseLHProtonSelection:VeryLooseLHProtonSelection selected 0 of 0 candidates.
GrlTightProtonSelection:GrlTightProtonSelection selected 0 of 0 candidates.
GrlDefaultProtonSelection:GrlDefaultProtonSelection selected 0 of 0 candidates.
GrlLooseProtonSelection:GrlLooseProtonSelection selected 0 of 0 candidates.
VeryTightLHPionMicroSelection:VeryTightLHPionMicroSelection selected 0 of 0 candidates.
TightLHPionMicroSelection:TightLHPionMicroSelection selected 0 of 0 candidates.
LooseLHPionMicroSelection:LooseLHPionMicroSelection selected 0 of 0 candidates.
VeryLooseLHPionMicroSelection:VeryLooseLHPionMicroSelection selected 0 of 0 candidates.
PidRoyPionSelectionNotKaon:PidRoyPionSelectionNotKaon selected 0 of 0 candidates.
PidRoyPionSelectionLoose:PidRoyPionSelectionLoose selected 0 of 0 candidates.
NotPionLHKaonGTLMicroSelection:NotPionLHKaonGTLMicroSelection selected 0 of 0 candidates.
VeryTightLHKaonMicroSelection:VeryTightLHKaonMicroSelection selected 0 of 0 candidates.
TightLHKaonMicroSelection:TightLHKaonMicroSelection selected 0 of 0 candidates.
LooseLHKaonMicroSelection:LooseLHKaonMicroSelection selected 0 of 0 candidates.
VeryLooseLHKaonMicroSelection:VeryLooseLHKaonMicroSelection selected 0 of 0 candidates.
NotPionLHKaonMicroSelection:NotPionLHKaonMicroSelection selected 0 of 0 candidates.
NotPionNNKaonMicroSelection:NotPionNNKaonMicroSelection selected 0 of 0 candidates.
VeryTightNNKaonMicroSelection:VeryTightNNKaonMicroSelection selected 0 of 0 candidates.
TightNNKaonMicroSelection:TightNNKaonMicroSelection selected 0 of 0 candidates.
LooseNNKaonMicroSelection:LooseNNKaonMicroSelection selected 0 of 0 candidates.
VeryLooseNNKaonMicroSelection:VeryLooseNNKaonMicroSelection selected 0 of 0 candidates.
PidSimpleKaonSelectionTight:PidSimpleKaonSelectionTight selected 0 of 0 candidates.
PidSimpleKaonSelectionLoose:PidSimpleKaonSelectionLoose selected 0 of 0 candidates.
PidRoyKaonSelectionNotPionOrUnknown:PidRoyKaonSelectionNotPionOrUnknown selected 0 of 0 candidates.
PidRoyKaonSelectionNotPion:PidRoyKaonSelectionNotPion selected 0 of 0 candidates.
PidRoyKaonSelectionDefault:PidRoyKaonSelectionDefault selected 0 of 0 candidates.
PidRoyKaonSelectionLoose:PidRoyKaonSelectionLoose selected 0 of 0 candidates.
NotPionKaonGTLMicroSelection:NotPionKaonGTLMicroSelection selected 0 of 0 candidates.
NotPionKaonMicroSelection:NotPionKaonMicroSelection selected 0 of 0 candidates.
VeryTightKaonMicroSelection:VeryTightKaonMicroSelection selected 0 of 0 candidates.
TightKaonMicroSelection:TightKaonMicroSelection selected 0 of 0 candidates.
LooseKaonMicroSelection:LooseKaonMicroSelection selected 0 of 0 candidates.
VeryLooseKaonMicroSelection:VeryLooseKaonMicroSelection selected 0 of 0 candidates.
PidLHElectronSelector:PidLHElectronSelector selected 0 of 0 candidates.
PidRoyElectronSelectionLoose:PidRoyElectronSelectionLoose selected 0 of 0 candidates.
VeryTightElectronMicroSelection:VeryTightElectronMicroSelection selected 0 of 0 candidates.
TightElectronMicroSelection:TightElectronMicroSelection selected 0 of 0 candidates.
LooseElectronMicroSelection:LooseElectronMicroSelection selected 0 of 0 candidates.
VeryLooseElectronMicroSelection:VeryLooseElectronMicroSelection selected 0 of 0 candidates.
NoCalElectronMicroSelection:NoCalElectronMicroSelection selected 0 of 0 candidates.
NNVeryTightMuonSelectionFakeRate:NNVeryTightMuonSelectionFakeRate selected 0 of 0 candidates.
NNTightMuonSelectionFakeRate:NNTightMuonSelectionFakeRate selected 0 of 0 candidates.
NNLooseMuonSelectionFakeRate:NNLooseMuonSelectionFakeRate selected 0 of 0 candidates.
NNVeryLooseMuonSelectionFakeRate:NNVeryLooseMuonSelectionFakeRate selected 0 of 0 candidates.
NNVeryTightMuonSelection:NNVeryTightMuonSelection selected 0 of 0 candidates.
NNTightMuonSelection:NNTightMuonSelection selected 0 of 0 candidates.
NNLooseMuonSelection:NNLooseMuonSelection selected 0 of 0 candidates.
NNVeryLooseMuonSelection:NNVeryLooseMuonSelection selected 0 of 0 candidates.
LikeTightMuonSelection:LikeTightMuonSelection selected 0 of 0 candidates.
LikeLooseMuonSelection:LikeLooseMuonSelection selected 0 of 0 candidates.
LikeVeryLooseMuonSelection:LikeVeryLooseMuonSelection selected 0 of 0 candidates.
VeryTightMuonMicroSelection:VeryTightMuonMicroSelection selected 0 of 0 candidates.
TightMuonMicroSelection:TightMuonMicroSelection selected 0 of 0 candidates.
LooseMuonMicroSelection:LooseMuonMicroSelection selected 0 of 0 candidates.
VeryLooseMuonMicroSelection:VeryLooseMuonMicroSelection selected 0 of 0 candidates.
MinimumIoniziongMuonMicroSelection:MinimumIoniziongMuonMicroSelection selected 0 of 0 candidates.
Map QA module for mini/micro (QaBtaStat)  is empty
Map QA module for mini/micro (QaMiniStat)  is empty
Map QA module for mini/micro (QaPidStat)  is empty
Map QA module for mini/micro (QaMCStat)  is empty
QaMiniTrkMap: used hypo vs. requested hypo
        *-----*-----*-----*-----*-----*
       4|    0|    0|    0|    0|    0|
       3|    0|    0|    0|    0|    0|
       2|    0|    0|    0|    0|    0|
       1|    0|    0|    0|    0|    0|
       0|    0|    0|    0|    0|    0|
        *-----*-----*-----*-----*-----*
             0     1     2     3     4
GoodTrackAccSelection:GoodTrackAccSelection selected 467 of 498 candidates.
GoodTrackVeryLooseSelection:GoodTrackVeryLooseSelection selected 406 of 498 candidates.
IfrMakeChargedPid:IfrMakeChargedPid end Job
IfrMuMuCalib::IfrMuMuCalib.cc(144):_mumucal is null!
TagFilterByValue:TagFilterByValue: endJob summary:
         Events processed: 0
         Events passed   : 0
TagFilterByName:TagFilterByName: endJob summary:
         Events processed: 0
         Events passed   : 0
         Events prescaled: 0
EmcEdgeCorrLoader: end Job
DchBuildEnv::AbsEnv.cc(235):Overriding DchEnv object in global environment.
EvtCounter:EvtCounter:     total number of events=40
     total number of events processed=40
     total number of events skipped=0
EvtCounter:Total CPU usage: 6 User: 6 System: 0
Framework is exiting now.
DrcDetector: number of sets to destroy: 51