d0root version v9.0



Change Log

Structure

A new structure has been introduced by Gordon Watts and Frank Filthaut to allow d0root code to run from TMB, TMBTree and TopTree. An example package d0root_example has been released containing instructions and examples on how to use d0root code in all supported data formats. All changes are internal and don't affect any previous code developed within d0root.

Vertexing


Instructions (TMBTree)

The following script installs, compiles, and runs a test of the code.

In order to run the script, you first need to create a new release area:


//Create release area
//----------------------------------

kinit

newrel -t p14.05.01 mydir
cd mydir
d0setwa
source Maked0root_v9.0.csh

Run analysis code

from mydir directory:
root runBphysicsAnalysis_TMBtree.C

This command will create an instance of the class BphysicsAnalysis called "b". To see the list of available methods please look at d0root_btag/analysis/BphysicsAnalysis.h

To create a B-rtuple with information about J/Psi, Phi and B vertices, do:

    b->Process_diMuons("myOutputFileName", all_muons, muon_pt, muon_quality);
where

In order to open the ROOT-tuple and plot the J/Psi invariant mass and lifetime, do:

 root myOutputFileName.root
 tree->Draw("PSI.mass","PSI.mass>2 && PSI.mass<4")
 tree->Draw("PSI.lifetime","PSI.mass>2.8 && PSI.mass<3.3")


Please send questions/comments/improvements/ or report problems to the

d0root mailing list
or
Ariel Schwartzman and Gordon Watts


Back to Vertex fitting and finding in ROOT page


Last updated: 11-21-2003
Ariel Schwartzman