GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Analysis » PndKinVtxFitter. Does FitAll() work?
PndKinVtxFitter. Does FitAll() work? [message #16102] Fri, 28 March 2014 12:10 Go to previous message
Dima Melnychuk is currently offline  Dima Melnychuk
Messages: 213
Registered: April 2004
Location: National Centre for Nucle...
first-grade participant
From: *fuw.edu.pl
Hi,

I try at the moment to make a comparison of full vs fast simulation for eta_c-> phi phi -> K+ K- K+ K- decay.
I did this analysis for central tracker TDR and I am updating the analysis macro.

I have a problem with vertex fitter PndKinVtxFitter if I want to access fitted daughter particles after the fit.

The code
PndKinVtxFitter vtxfitter(etac_vtx[j]);
vtxfitter.Fit();

works, but dauthers are unfitted:

RhoCandidate *etacfit=etac_vtx[j]->GetFit();
k1 = etacfit->Daughter(0);


I tried
k1 = etacfit->Daughter(0)->GetFit();

and it returns 0.

But the code
PndKinVtxFitter vtxfitter(etac_vtx[j]);
vtxfitter.FitAll();

which should work according to documentation
( https://panda-wiki.gsi.de/foswiki/bin/view/Computing/PandaRootAnalysisJu ly13#A_5.1_PndKinVtxFitter_45_Vertex_and_kinematic_fitting)
produce the
chi2_vtx=-9999 (chi2_vtx=vtxfitter.GetChi2()),

whereas with vtxfitter.Fit() chi2 were reasonable values.

So did anybody (means Ralf or Klaus) check PndKinVtxFitter::FitAll()?

Dima
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: invariant mass
Next Topic: PndChiVtxFitter available?
Goto Forum:
  


Current Time: Fri Apr 19 09:15:20 CEST 2024

Total time taken to generate the page: 0.00777 seconds