17 double inline Alpha_phi(
const double phi11,
const double phi12,
18 const double phi21,
const double phi22)
20 return 0.5 * atan2(phi12 + phi21, phi11 - phi22);
23 double inline Beta_phi(
const double phi11,
const double phi12,
24 const double phi21,
const double phi22)
26 return 0.5 * atan2(phi12 - phi21, phi11 + phi22);
29 double inline Pi1(
const double phi11,
const double phi12,
30 const double phi21,
const double phi22)
32 return 0.5 * sqrt(std::pow(phi11 - phi22, 2) + std::pow(phi12 + phi21, 2));
35 double inline Pi2(
const double phi11,
const double phi12,
36 const double phi21,
const double phi22)
38 return 0.5 * sqrt(std::pow(phi11 + phi22, 2) + std::pow(phi12 - phi21, 2));
41 double inline PhiStrike(
const double phi11,
const double phi12,
42 const double phi21,
const double phi22)
48 double inline PhiMax(
const double phi11,
const double phi12,
49 const double phi21,
const double phi22)
51 return Pi2(phi11, phi12, phi21, phi22)
52 +
Pi1(phi11, phi12, phi21, phi22);
55 double inline PhiMin(
const double phi11,
const double phi12,
56 const double phi21,
const double phi22)
58 return Pi2(phi11, phi12, phi21, phi22)
59 -
Pi1(phi11, phi12, phi21, phi22);
62 double inline trPhi(
const double phi11,
const double phi12,
63 const double phi21,
const double phi22)
68 double inline skPhi(
const double phi11,
const double phi12,
69 const double phi21,
const double phi22)
74 double inline detPhi(
const double phi11,
const double phi12,
75 const double phi21,
const double phi22)
77 return phi11 * phi22 - phi12 * phi21;
80 double inline Phi1(
const double phi11,
const double phi12,
81 const double phi21,
const double phi22)
83 return trPhi(phi11, phi12, phi21, phi22) / 2.;
86 double inline Phi2(
const double phi11,
const double phi12,
87 const double phi21,
const double phi22)
89 return sqrt(std::abs(
detPhi(phi11, phi12, phi21, phi22)));
92 double inline GetPhi2Sq(
const double phi11,
const double phi12,
93 const double phi21,
const double phi22)
95 return detPhi(phi11, phi12, phi21, phi22);
98 double inline GetPhi3(
const double phi11,
const double phi12,
99 const double phi21,
const double phi22)
101 return skPhi(phi11, phi12, phi21, phi22) / 2.;
105 const double phi21,
const double phi22)
107 return (
PhiMax(phi11, phi12, phi21, phi22) -
PhiMin(phi11, phi12,
108 phi21, phi22)) / (
PhiMax(phi11, phi12, phi21, phi22) +
PhiMin(
109 phi11, phi12, phi21, phi22));