GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Analysis » PndKinVtxFitter. Does FitAll() work?
Re: PndKinVtxFitter. Does FitAll() work? [message #16117 is a reply to message #16116] Fri, 28 March 2014 15:29 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
Dima Melnychuk wrote on Fri, 28 March 2014 15:20

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


k1 is fitted or not?

k1 is fitted.

To understand this concept: The decay tree is copied internally. The fitted tree can be accessed via one call of GetFit(). Then you navigate in the fitted tree via Mother/Daughters relations.

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


Current Time: Mon Oct 14 17:15:14 CEST 2024

Total time taken to generate the page: 0.00897 seconds