Skip to content
Snippets Groups Projects
Commit a97efa49 authored by adrien-matta's avatar adrien-matta
Browse files

* Take into account Excitatio nenergy in Q value

parent c4c35f80
No related branches found
No related tags found
No related merge requests found
...@@ -524,7 +524,7 @@ void Reaction::initializePrecomputeVariable(){ ...@@ -524,7 +524,7 @@ void Reaction::initializePrecomputeVariable(){
m2 = fNuclei2->Mass(); m2 = fNuclei2->Mass();
m3 = fNuclei3->Mass() + fExcitation3; m3 = fNuclei3->Mass() + fExcitation3;
m4 = fNuclei4->Mass() + fExcitation4; m4 = fNuclei4->Mass() + fExcitation4;
fQValue =fNuclei1->Mass()+fNuclei2->Mass()-fNuclei3->Mass()-fNuclei4->Mass(); fQValue =m1+m2-m3-m4;
s = m1*m1 + m2*m2 + 2*m2*(fBeamEnergy + m1); s = m1*m1 + m2*m2 + 2*m2*(fBeamEnergy + m1);
fTotalEnergyImpulsionCM = TLorentzVector(0,0,0,sqrt(s)); fTotalEnergyImpulsionCM = TLorentzVector(0,0,0,sqrt(s));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment