LHCb Software Training: DaVinci |
![]() |
The purpose of these exercises is to allow you to write a complete though simple selection algorithms for a typical decay: Bs->J/psiPhi. Now that we have the J/psi and the Phi, let's do the Bs using options.
MakeResonances
instance to your
sequence. Let's call it Bs2psiPhi
.PhysDesktop
with
your J/psi and Phi candidates.Bs2JpsiPhi.DecayDescriptor = "B_s0 -> phi(1020) J/psi(1S)";
Bs2JpsiPhi.Window = 100 * MeV;
Bs2JpsiPhi.MotherFilter.Selections = { "B_s0 : VtxFilterCriterion"};
Bs2JpsiPhi.MotherFilter.VtxFilterCriterion.MaxChi2 = 30 ;
With this we are already at the same level as with our C++ code for the J/psi!
Bs2JpsiPhi.HistoProduce=true;
Bs2JpsiPhi.DaughterPlots.Variables={"M","P","Pt","IP"};
Bs2JpsiPhi.MotherPlots.Variables={"M", "P","Pt", "IP"};
Bs2JpsiPhi.DaughterPlotsPath= "Bin" ;
Bs2JpsiPhi.MotherPlotsPath= "Bout" ;
That's all!
Last modified by Vanya BELYAEV, June 6 2006