D0root version v7.2



Change Log

---------------------------------------------------------------
d0root_btag/algorithms/PrimaryVertexGlobalFinder.cpp

In Clear(), added

_jFitter->Clear();
_IP->Clear();

suggestion from Lars Sonneschein.


---------------------------------------------------------------
d0root_analysis/readevent/TMBReadEvent.cpp

replaced existing readMCBmesons as per Ariel's request.
added readMCDmesons as per Ariel's request.


---------------------------------------------------------------
d0root_analysis/readevent/TMBReadEvent.h

modified to activate readMCDmesons.

suggestion from Ariel Schwartzman


---------------------------------------------------------------
d0root_analysis/objects/D0JetInfo.cpp
d0root_analysis/objects/D0JetInfo.h

Extensive additions to the methods for manipulating D0JetInfo objects.

All modifications from Don Lincoln


---------------------------------------------------------------
d0root_analysis/objects/D0Jet.cpp
d0root_analysis/objects/D0Jet.h

Added
TLorentzVector UncorrectedP

which returns the 4-vector kinematics of the jets (in physics space) prior
to
jet energy scale corrections.

Modified

UncorrectedPt

to use the UncorrectedP code.

Combined input from Don Lincoln and Ariel Schwartzman


---------------------------------------------------------------
To make an update of the MuoCandidate, one must change the instructions to
include


addpkg muo_cand p13-br-04

cd muo_cand/macro/tree/
gmake all
cd ../../../

---------------------------------------------------------------
Added method to D0Muon to return chi_square.
Changed D0Muon Quality to range 0-3

quality = 0: nseg >=0
quality = 1: quality 0 && _nseg >= 1
quality = 2: quality 1 &&   _whits_a>1 && _whits_bc>2 && _shits_a >0 &&
_shits_bc>0
quality = 3: quality 2 &&  nseg >= 3.

---------------------------------------------------------------
Modified d0root_analysis/compile.C in order to incorporate muo_cand .


---------------------------------------------------------------
Modified d0root_btag/analysis/BphysicsAnalysis.cpp


// *** removal of duplicates is now done in readMuons ***
///     if(!trk->MatchId(tracks) && trk->Z()!=0) {
       if(trk->Z()!=0)

---------------------------------------------------------------

Modified d0root_analysis/readevent/TMBReadEvent.cpp

added f90 to constructor.  Error noticed by Arnaud Duperrin

    double f90  = (double) tjet->n90()/tjet->Nitems();
    D0Jet* jet = new D0Jet(0.5,px,py,pz,E,_zvtx,deta,EMF,EM1F,EM2F,EM3F,CHF,
                           FH1F,FH2F,FH3F,HotF,n90,f90);

---------------------------------------------------------------
Modified d0root_analysis/readevent/D0Jet.cpp
Modified d0root_analysis/readevent/D0UnclusteredEnergy.cpp

in order to update MET significance as per Arnaud Duperrin's contributions.

---------------------------------------------------------------
Minor updates on loading libraries and gmake files. -Don Lincoln.



Instructions (TMBTree)


//Create release area
//----------------------------------
newrel -t p14.03.00 mydir
cd mydir
d0setwa


//Install packages
//----------------------------------
addpkg d0root_analysis v00-07-15 
addpkg d0root_btag v00-07-12
addpkg d0root_met v00-07-01  (**** not needed for vertexing ****)

addpkg jetcorr v04-00-01
addpkg em_util v00-02-78                
addpkg emcandidate v00-01-05                
addpkg muo_cand p13-br-04


//Generate TMBTreeClasses file
//----------------------------------
ln -s /d0dist/dist/releases/p14.03.00/tmb_analyze/macros/ macros
cp macros/MakeTMBTreeClasses_so.C .
root -q MakeTMBTreeClasses_so.C


//Compile jetcorr package
//----------------------------------
cd jetcorr
root -q MkRootLib.C 
cd ../


//Compile em_util package
//----------------------------------
gmake em_util.all EMUTIL_SHARED=1
gmake emcandidate.all EMUTIL_SHARED=1


//Compile muo_cand package
//----------------------------------
cd muo_cand/macro/tree/
gmake all
cd ../../../


//Compile d0root packages
//----------------------------------
gmake d0root_analysis.all
gmake d0root_btag.all
gmake d0root_met.all     (**** not needed for vertexing ****)


//Link em_util package
//----------------------------------
cd d0root_btag
ln -s ../em_util em_util
cd ../



Run analysis code

cd d0root_btag
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")

Back to Vertex fitting and finding in ROOT page


Results


B -> JPsi K candidates


di-muon Invariant mass


Known Problems


dimuon B-tuples


Please send questions/comments/improvements/modifications to

Ariel Schwartzman and Don Lincoln


Back to Vertex fitting and finding in ROOT page


Last updated: 05-29-2003
Ariel Schwartzman