Skip to content
Snippets Groups Projects
Commit 4624c4e1 authored by Pyry Runko (Puck)'s avatar Pyry Runko (Puck)
Browse files

WIP, see TODO in SumAmplitudes

parent 44b667e5
No related branches found
No related tags found
No related merge requests found
...@@ -645,11 +645,19 @@ double IPGlasma::SumAmplitudes() ...@@ -645,11 +645,19 @@ double IPGlasma::SumAmplitudes()
int q2[2] = {k,l}; int q2[2] = {k,l};
double r2 = DistanceToOrigin(q2); double r2 = DistanceToOrigin(q2);
} double r = sqrt(pow((X(i)-X(k)),2)+pow(Y(j)-Y(l)),2);
r = sqrt(pow((X(i)-X(k)),2)+pow(Y(j)-Y(l)),2);
double WF = WFGammaqqbarLongitudinal(double r, double z, double Q, struct* quark_flavor);
double WF = WFGammaqqbarLongitudinal(double r, double z, double Q, struct* quark_flavor); sum += Amplitude(0, quark, q2)*WF;
sum += Amplitude(0, quark, q2)*WF*WF;
//TODO: Finish eq (12) from notes
// Finish amplitude
// Add phase factor
// Add z0 z1 integrations
// Add l Delta integrations
// Add delta functions
// Add prefactor and integration measure
//
} }
} }
} }
......
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