GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Analysis » How works PndVtxPRG full mode
How works PndVtxPRG full mode [message #16120] Mon, 31 March 2014 13:00 Go to next message
donghee is currently offline  donghee
Messages: 385
Registered: January 2009
Location: Germnay
first-grade participant
From: *kph.uni-mainz.de
Hi Ralf,

I remember that PndVtxPRG have two main option full and fast.
One can do very fast vertex fitting with a option FitVertexFast(TVector3 &vtx, TMatrixD &cov, bool skipcov=false, int niter=2).

If I want to do with full option for this, it seems to have similar usage like PndKinVtxFitter.
Can I access RhoCandidate with GetFit() still in PndVtxPRG?

Quote:

PndVtxPRG prgfitter(dm[j]); // instantiate vertex fitter
prgfitter.Fit(); // perform fit
RhoCandidate *dm_fit_prg = dm[j]->GetFit(); // fitted candidate
double dm_prg_chi2 = prgfitter.GetChi2(); // access chi2 of fit
double dm_prg_prob = prgfitter.GetProb(); // access probability of fit
TVector3 dmVtxPrg = dm_fit_prg->Pos(); // the vertex position
double dm_prg_x = dmVtxPrg.Dead);
double dm_prg_y = dmVtxPrg.Y();
double dm_prg_z = dmVtxPrg.Z();
double dm_prg_mass = dm_fit_prg->M();


or Do I have to set the covariant matrix and TVector3 (for vertex) as used in the Fast mode?

Best wishes,
Donghee


Re: How works PndVtxPRG full mode [message #16122 is a reply to message #16120] Mon, 31 March 2014 13:03 Go to previous message
Ralf Kliemt is currently offline  Ralf Kliemt
Messages: 507
Registered: May 2007
Location: GSI, Darmstadt
first-grade participant

From: *gsi.de
Hi Donghee,

You are using it correctly.

Cheers
Ralf
Previous Topic: PndChiVtxFitter available?
Next Topic: MC truth match for pbarpSystem (settype=88888)
Goto Forum:
  


Current Time: Sun Oct 06 02:41:48 CEST 2024

Total time taken to generate the page: 0.00814 seconds