Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content
Snippets Groups Projects
Commit d5058870 authored by adelmann's avatar adelmann :reminder_ribbon:
Browse files

add general p*p

parent db91d46e
No related branches found
No related tags found
No related merge requests found
......@@ -518,6 +518,7 @@ private:
double calculateAngle2(double x, double y);
double pSqr(Vector_t p1, Vector_t p2) const;
void calcEMean(); // update eKin_m;
......@@ -681,6 +682,12 @@ private:
};
inline double PartBunch::pSqr(Vector_t p1, Vector_t p2) const {
return p1[0]*p2[0] + p1[0]*p2[1] + p1[0]*p2[2] + p1[1]*p2[0] + p1[1]*p2[1] + p1[1]*p2[2] + p1[2]*p2[0] + p1[2]*p2[1] + p1[2]*p2[2];
}
inline
bool PartBunch::isDcBeam() { return dcBeam_m;}
......
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