Skip to content
Snippets Groups Projects
Commit 67e7be43 authored by Morfouace's avatar Morfouace
Browse files

Changing ParentID in NPFissionDecau so that the beam can fission

parent 2094bde7
No related branches found
No related tags found
No related merge requests found
...@@ -146,16 +146,16 @@ bool NPL::FissionDecay::GenerateEvent(string CompoundName, double MEx,double MEK ...@@ -146,16 +146,16 @@ bool NPL::FissionDecay::GenerateEvent(string CompoundName, double MEx,double MEK
double Phil = m_FissionModel->GetPhffl(); double Phil = m_FissionModel->GetPhffl();
double Phih = m_FissionModel->GetPhffh(); double Phih = m_FissionModel->GetPhffh();
TVector3 uxy = TVector3(cos(TMath::Pi()/2-PhiCN), -sin(TMath::Pi()/2-PhiCN), 0); TVector3 uxy = TVector3(cos(TMath::Pi()/2-PhiCN), sin(TMath::Pi()/2-PhiCN), 0);
TVector3 Momentuml = Pl * TVector3(sin(Thetal)*cos(Phil), TVector3 Momentuml = Pl * TVector3(sin(Thetal)*cos(Phil),
sin(Thetal)*sin(Phil), sin(Thetal)*sin(Phil),
cos(Thetal)); cos(Thetal));
//Momentuml.Rotate(-ThetaCN, uxy); Momentuml.Rotate(-ThetaCN, uxy);
TVector3 Momentumh = Ph * TVector3(sin(Thetah)*cos(Phih), TVector3 Momentumh = Ph * TVector3(sin(Thetah)*cos(Phih),
sin(Thetah)*sin(Phih), sin(Thetah)*sin(Phih),
cos(Thetah)); cos(Thetah));
//Momentumh.Rotate(-ThetaCN, uxy); Momentumh.Rotate(-ThetaCN, uxy);
DPx.push_back(Momentuml.X()); DPx.push_back(Momentuml.X());
DPx.push_back(Momentumh.X()); DPx.push_back(Momentumh.X());
......
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