Skip to content
Snippets Groups Projects
Commit 9ed79070 authored by Ryan Wilkinson's avatar Ryan Wilkinson
Browse files

Minor change

parent 7786f769
No related branches found
No related tags found
No related merge requests found
...@@ -380,7 +380,7 @@ TVector3 TGeTAMUPhysics::GetPositionOfInteraction(unsigned int& i){ ...@@ -380,7 +380,7 @@ TVector3 TGeTAMUPhysics::GetPositionOfInteraction(unsigned int& i){
// original energy, position, beta // original energy, position, beta
double TGeTAMUPhysics::GetDopplerCorrectedEnergy(double& energy , TVector3 direction, TVector3& beta){ double TGeTAMUPhysics::GetDopplerCorrectedEnergy(double& energy , TVector3 direction, TVector3& beta){
// renormalise pos vector // renormalise pos vector
position.SetMag(1); direction.SetMag(1);
m_GammaLV.SetPx(energy*direction.X()); m_GammaLV.SetPx(energy*direction.X());
m_GammaLV.SetPy(energy*direction.Y()); m_GammaLV.SetPy(energy*direction.Y());
m_GammaLV.SetPz(energy*direction.Z()); m_GammaLV.SetPz(energy*direction.Z());
......
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