A new D0BeamSpot class has been introduced. It was designed to be used with the beam spot database of the cvs package beamspotoffline, but can be used with any other format. If the beam spot is available, the 1-pass primary vertex finder can take this information into account for track selection.
Here is an example of use:
|
where pvFinder is the 1-pass VertexGlobalFinder class.
The beam object should be created only once, whereas it has to be "set" for every run from the beam spot database.
*** Primary vertex resolution improves from 38 micros to 33 microns by using beam spot information.***. Please seeAriel's talk for more details
A new parameter was added in the primary vertex constructor (for both 1 and 2 pass algorithms) to cut on track chi2.
Here is an example of use:
|
A new general VertexConstraint algorithm for Kinematic fitting was introduced. It implements a constraint fit minimization using the Lagrange multiplier technique. Users can implement different kinematic vertex constraints by just specifying the constraint equation.
Two concrete implementations are provided:
g(x) = x - beam(x) = 0 g(y) = y - beam(y) = 0
where beam(x) and beam(y) are assumed to have a given width.
Here is an example of use:
|
g(x) = E^2 - P^2 - M^2 = 0where
E = sum_j{ sqrt(m^2 - p_j^2) }
P = sum_j{p_j}
and m is the track mass, p the track momentum. Here is an example of use:
|
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
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
The Muon quality is defined in d0root_analysis/objects/Muon.cpp:
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 listor Ariel Schwartzman and Gordon Watts
Back to Vertex fitting and finding in ROOT page