GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Analysis » PndVtxPRG vs PndKinVtxFitter
Re: PndVtxPRG vs PndKinVtxFitter [message #17426 is a reply to message #17422] Fri, 24 October 2014 16:31 Go to previous messageGo to previous message
Ralf Kliemt is currently offline  Ralf Kliemt
Messages: 499
Registered: May 2007
Location: GSI, Darmstadt
first-grade participant

From: *gsi.de
Hi Karin,

There is a potential bug (marked in red). Simply use bool checkb=vtxfitterlb.Fit(); as the fit statement in the beginning of the block.
Karin Schönning wrote on Fri, 24 October 2014 11:44
for (j=0;j<lamb.GetLength();++j)
{

PndVtxPRG vtxfitterlb(lamb[j]);

vtxfitterlb.Fit();
double chi2_vtx = vtxfitterlb.GetChi2(); // access chi2 of fit
double prob_vtx = vtxfitterlb.GetProb(); // access probability of fit
h0b_chi2_vf->Fill(chi2_vtx);
hlamb_prob_vf->Fill(prob_vtx);
bool checkb=vtxfitterlb.Fit();
if(checkb)
// when good enough, fill some histos
{

RhoCandidate *lambv = lamb[j]->GetFit(); // access the fitted cand




Do you apply other selections, such as a distance cut to the interaction point? The PndVtxPrg should be just a touch less accurate then the PndKinVtxFitter. I expect no different efficiency drops by fitting.

Cheers
Ralf

[Updated on: Fri, 24 October 2014 16:32]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: energy loss correction for electron
Next Topic: vertex reconstruction without fitting?
Goto Forum:
  


Current Time: Mon Oct 21 02:54:05 CEST 2019

Total time taken to generate the page: 0.03098 seconds