GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Fast Simulations » [FIXED] Problems with PndKinFitter::AddMassConstraint
Re: Problems with PndKinFitter::AddMassConstraint [message #16566 is a reply to message #16540] Fri, 09 May 2014 17:05 Go to previous messageGo to previous message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *
I have received this answer from Vishwajeet:

Dear Stefano,

What you are looking at is a simplistic Mass constraint fit which fixes everything with respect to the constrained mass.
I had a look at the PndKinFitter class.

The delta mass peak can be obtained by replacing ( line : 339 -348 Trunk version ( rev: 21681) by the following code snippet

fmD[fNc+0][kN+0] = -2.*Px;
fmD[fNc+0][kN+1] = -2.*Py;;
fmD[fNc+0][kN+2] = -2.*Pz;
fmD[fNc+0][kN+3] = 2.*Etot;
fmD[fNc+0][kN+4] = 2.*a*Py;
fmD[fNc+0][kN+5] = -2.*a*Px;
fmD[fNc+0][kN+6] = 0.0;

I have tested it with the macro in /macro/run/ana_complete.C Unfortunately my wiki and forum login access is no longer there ( as it was with my FZ email) .

Actually the full mass constraint fit should include the vertex information and this can be implemented with not much effort.
I will see if I can do that. In that case, what Ralf pointed out in the forum is right.

Please tell me if it is fine.

Read Message icon8.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: PID arrays in Fast Sim
Next Topic: [FIXED] 4Cfit
Goto Forum:

Current Time: Mon May 27 05:26:53 CEST 2024

Total time taken to generate the page: 0.00898 seconds