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 previous 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


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


Current Time: Tue Dec 10 16:33:48 CET 2024

Total time taken to generate the page: 0.00783 seconds