Re: Checking psi(2s) with genfit2 [message #19153 is a reply to message #19132] |
Mon, 21 March 2016 13:06 |
Elisabetta Prencipe (2)
Messages: 214 Registered: February 2013
|
first-grade participant |
From: *ikp.kfa-juelich.de
|
|
Hello Stefano,
which trunk-rev are you using for these tests? I am asking because in the trunk-rev 28747 there are a few problems that I did not find in my development-branch, where only genfit2 is in, and genfit was deleted. The distribution of the kaon momentum looks not correct, for example.
Concerning the macro pid_complete.C, you wrote:
"In the three cases, in order to remove the "non fitted tracks" selection (which does not work in genfit2 up to now), added corr->SetFlagCut(kFALSE);"
In genfit, as well as I understood, the flag <0 is set by the pidCorr when the fit does not converge. But genfit does not make any convergence check to the track;
in genfit2 the fit convergence is checked (for example, there are non-convergence criteria based upon p-value and chi2 checks, e.g. by default settings = 10^-3 and 0.1% respectively; both parameters are user-ajustable; and genfi2 also makes use of different fitters). I assume this is the reason why you do not get a negative flag, when using genfit2. So, only good tracks should have passed the reco-selection. I think that one can set a flag, using the fitStatus() function. I did not change that part of the GenfitTools interface, just thinking it would work the same for gf1 and gf2.
My former tests showed something different from your tests, in comparing gf1 vs gf2, on analyses. Please, confirm which trunk revision are you currently using, and I'll try to figure out what is going wrong.
cheers, Elisabetta
|
|
|