16 double halfXmaxR,
double minR,
17 double maxR,
double avgPhi,
18 double stereo) noexcept(
false)
19 : m_values({halfXminR, halfXmaxR, minR, maxR, avgPhi, stereo}) {
30 std::sin(lposition[
eBoundLoc1] -
get(eAveragePhi)),
42 jacobian(1, eBoundLoc1) =
43 lposition[
eBoundLoc0] * -std::sin(lposition[eBoundLoc1]);
49 Vector2D vertices[] = {{
get(eHalfLengthXminR),
get(eMinR)},
50 {
get(eHalfLengthXmaxR),
get(eMaxR)},
51 {-
get(eHalfLengthXmaxR),
get(eMaxR)},
52 {-
get(eHalfLengthXminR),
get(eMinR)}};
53 auto jacobian = jacobianToLocalCartesian(lposition);
59 unsigned int )
const {
61 Vector2D nAxis(cAxis.y(), -cAxis.x());
62 return {
get(eMinR) * cAxis -
get(eHalfLengthXminR) * nAxis,
63 get(eMinR) * cAxis +
get(eHalfLengthXminR) * nAxis,
64 get(eMaxR) * cAxis +
get(eHalfLengthXmaxR) * nAxis,
65 get(eMaxR) * cAxis -
get(eHalfLengthXmaxR) * nAxis};
70 sl << std::setiosflags(std::ios::fixed);
71 sl << std::setprecision(7);
72 sl <<
"Acts::DiscTrapezoidBounds: (innerRadius, outerRadius, "
74 "halfLengthXmaxR, halfLengthY, halfPhiSector, averagePhi, rCenter, "
76 sl <<
"(" <<
get(eMinR) <<
", " <<
get(eMaxR) <<
", " <<
get(eHalfLengthXminR)
77 <<
", " <<
get(eHalfLengthXmaxR) <<
", " << halfLengthY() <<
", "
78 << halfPhiSector() <<
", " <<
get(eAveragePhi) <<
", " << rCenter() <<
", "
80 sl << std::setprecision(-1);