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!
Comp. Search
Who's who?
Meetings
FAQ Homepage
Archive
Environment
Administration
New User Info.
Web Info/Tools
Monitoring
Training
Tools & Utils
Programming
C++ Standard
SRT, AFS, CVS
QA and QC
Remedy
Histogramming
Operations
PromptReco
Simulation Production
Online SW
Dataflow
Detector Control
Evt Processing
Run Control
Calibration
Databases
Offline
Workbook
Coding Standards
Simulation
Reconstruction
Prompt Reco.
BaBar Grid
Data Distribution
Beta & BetaTools
Kanga & Root
Analysis Tools
RooFit Toolkit
Data Management
Data Quality
Event display
Event Browser
Code releases
Databases
Check this page for HTML 4.01 Transitional compliance with the
W3C Validator
(More checks...)

Documentation of Appmodule QaBetaTools/QaPidPlots

$Id: QaPidPlots.html,v 1.4 1998/05/31 00:59:37 dyaeb Exp $

Benchmark

  • 046411 for - charged kaons with p between 50 MeV and 4.5 GeV
  • 046415 for + charged kaons with p between 50 MeV and 4.5 GeV
  • 046401 for - charged pions with p between 50 MeV and 4.5 GeV
  • 046400 for + charged pions with p between 50 MeV and 4.5 GeV
  • 046730 046731 046732 046735 for generic BbarB events

Input

  • two BtaCandidate lists from the event, "btaChargedList" and "truthCandidates"
  • the defaults for the parameters are set to "ChargedTracks" and "MCTruth" respectively.

Method

  • accumulate an ntuple of xxxPidInfo consistencies
  • truth is judged according to the "Default" BtaMcAssoc list
  • using a .kumac, derive misID and efficiency plots of pi/K separation in each subsystem as a function of momentum

Output

  • KaonIdTest_RELEASE.ps and MultiH_RELEASE.ps

Detailed Information

The goal is to get efficiency and purity plots for kaons (or any other particle) and compare them with previous releases. The plots are given for each detector singularly and using just the best mass hypothesis.
This is useful, but no longer correct -- to be rewritten.
How to run it:
  • Checkout the test release you want to QA, with any recommended tags.
  • addpkg QaBetaTools
  • Build QaBetaToolsApp ie.
    • gmake lib
    • gmake QaBetaTools.bin
    • you can of course use any speedup script you are familiar with.
  • Make sure you have workdir checked-out and do gmake setup therein.
  • Go into QaBetaTools package
  • copy qarun into workdir package
  • type
    setenv VER 5.3.2
    or whatever version of beast tapes you want to read - this is not necessarily the same number as the release version you are using.
  • type:
    source submitPidPlots
    This will submit all the jobs for you. Check that they are running with bjobs -u yourid There should be 8 of them.
  • When they finish, the outputs should be in files called: qaPidnnnnnn.out
    in the workdir directory where nnnnnn is one of the following run numbers:
    046411 for - charged kaons with p between 50 MeV and 4.5 GeV
    046415 for + charged kaons with p between 50 MeV and 4.5 GeV
    046401 for - charged pions with p between 50 MeV and 4.5 GeV
    046400 for + charged pions with p between 50 MeV and 4.5 GeV
    046730 046731 046732 046735 for generic BbarB events
  • The ntuple files are in:
    pidplotsnnnnnn.hbook
    etc. in workdir.
  • when all are finished, type: source pidmvhists
    still from the QaBetaTools directory.
  • Start paw and type
    exec pidplots XX, where XX=id of the QaPidPlots ntuple
    (this is the only pain, since you need to know this a priori, looking in one of the hbook files (for 532 it appears to be 12, but it might change)
  • The .ps files should be in: KaonId.ps
  • That's it.
To Interpret:
  • Compare with older releases plots (Links to these plots to be added)
  • That's it.


Maintained by Giampiero Mancinelli.

Please send corrections, additions and (polite) suggestions to:

giampi@SLAC.Stanford.Edu