EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AnnulusBounds.cpp File Reference
#include "Acts/Surfaces/AnnulusBounds.hpp"
#include "Acts/Surfaces/detail/VerticesHelper.hpp"
#include "Acts/Utilities/Helpers.hpp"
#include "Acts/Utilities/detail/periodic.hpp"
#include <cmath>
#include <iomanip>
#include <iostream>
+ Include dependency graph for AnnulusBounds.cpp:

Go to the source code of this file.

Variables

 m_rotationStripPC
 
 m_translation = Eigen::Translation<double, 2>(m_moduleOrigin)
 
 m_shiftXY = m_moduleOrigin * -1
 
 m_shiftPC
 
auto circIx
 
 m_outLeftStripXY
 
 m_inLeftStripXY
 
 m_outRightStripXY
 
 m_inRightStripXY
 
 m_outLeftStripPC
 
 m_inLeftStripPC
 
 m_outRightStripPC
 
 m_inRightStripPC
 
 m_outLeftModulePC = stripXYToModulePC(m_outLeftStripXY)
 
 m_inLeftModulePC = stripXYToModulePC(m_inLeftStripXY)
 
 m_outRightModulePC = stripXYToModulePC(m_outRightStripXY)
 
 m_inRightModulePC = stripXYToModulePC(m_inRightStripXY)
 

Variable Documentation

auto circIx
Initial value:
= [](double O_x, double O_y, double r, double phi) -> Vector2D {
double m = std::tan(phi);
Vector2D dir(std::cos(phi), std::sin(phi));
double x1 = (O_x + O_y * m -
std::sqrt(-std::pow(O_x, 2) * std::pow(m, 2) +
2 * O_x * O_y * m - std::pow(O_y, 2) +
std::pow(m, 2) * std::pow(r, 2) + std::pow(r, 2))) /
(std::pow(m, 2) + 1);
double x2 = (O_x + O_y * m +
std::sqrt(-std::pow(O_x, 2) * std::pow(m, 2) +
2 * O_x * O_y * m - std::pow(O_y, 2) +
std::pow(m, 2) * std::pow(r, 2) + std::pow(r, 2))) /
(std::pow(m, 2) + 1);
Vector2D v1(x1, m * x1);
if (v1.dot(dir) > 0)
return v1;
return {x2, m * x2};
}

Definition at line 36 of file AnnulusBounds.cpp.

View newest version in sPHENIX GitHub at line 36 of file AnnulusBounds.cpp

m_inLeftModulePC = stripXYToModulePC(m_inLeftStripXY)

Definition at line 89 of file AnnulusBounds.cpp.

View newest version in sPHENIX GitHub at line 89 of file AnnulusBounds.cpp

Referenced by Acts::AnnulusBounds::inside().

m_inLeftStripPC
Initial value:

Definition at line 81 of file AnnulusBounds.cpp.

View newest version in sPHENIX GitHub at line 81 of file AnnulusBounds.cpp

Referenced by Acts::AnnulusBounds::inside().

m_inLeftStripXY
Initial value:
=
circIx(m_moduleOrigin[eBoundLoc0], m_moduleOrigin[eBoundLoc1], get(eMinR),
get(eMaxPhiRel))

Definition at line 69 of file AnnulusBounds.cpp.

View newest version in sPHENIX GitHub at line 69 of file AnnulusBounds.cpp

Referenced by Acts::AnnulusBounds::vertices().

m_inRightModulePC = stripXYToModulePC(m_inRightStripXY)

Definition at line 91 of file AnnulusBounds.cpp.

View newest version in sPHENIX GitHub at line 91 of file AnnulusBounds.cpp

Referenced by Acts::AnnulusBounds::inside().

m_inRightStripPC
Initial value:

Definition at line 85 of file AnnulusBounds.cpp.

View newest version in sPHENIX GitHub at line 85 of file AnnulusBounds.cpp

Referenced by Acts::AnnulusBounds::inside().

m_inRightStripXY
Initial value:
=
circIx(m_moduleOrigin[eBoundLoc0], m_moduleOrigin[eBoundLoc1], get(eMinR),
get(eMinPhiRel))

Definition at line 75 of file AnnulusBounds.cpp.

View newest version in sPHENIX GitHub at line 75 of file AnnulusBounds.cpp

Referenced by Acts::AnnulusBounds::vertices().

m_outLeftModulePC = stripXYToModulePC(m_outLeftStripXY)

Definition at line 88 of file AnnulusBounds.cpp.

View newest version in sPHENIX GitHub at line 88 of file AnnulusBounds.cpp

Referenced by Acts::AnnulusBounds::inside().

m_outLeftStripPC
Initial value:

Definition at line 79 of file AnnulusBounds.cpp.

View newest version in sPHENIX GitHub at line 79 of file AnnulusBounds.cpp

Referenced by Acts::AnnulusBounds::inside().

m_outLeftStripXY
Initial value:
=
circIx(m_moduleOrigin[eBoundLoc0], m_moduleOrigin[eBoundLoc1], get(eMaxR),
get(eMaxPhiRel))

Definition at line 66 of file AnnulusBounds.cpp.

View newest version in sPHENIX GitHub at line 66 of file AnnulusBounds.cpp

Referenced by Acts::AnnulusBounds::vertices().

m_outRightModulePC = stripXYToModulePC(m_outRightStripXY)

Definition at line 90 of file AnnulusBounds.cpp.

View newest version in sPHENIX GitHub at line 90 of file AnnulusBounds.cpp

Referenced by Acts::AnnulusBounds::inside().

m_outRightStripPC
Initial value:

Definition at line 83 of file AnnulusBounds.cpp.

View newest version in sPHENIX GitHub at line 83 of file AnnulusBounds.cpp

Referenced by Acts::AnnulusBounds::inside().

m_outRightStripXY
Initial value:
=
circIx(m_moduleOrigin[eBoundLoc0], m_moduleOrigin[eBoundLoc1], get(eMaxR),
get(eMinPhiRel))

Definition at line 72 of file AnnulusBounds.cpp.

View newest version in sPHENIX GitHub at line 72 of file AnnulusBounds.cpp

Referenced by Acts::AnnulusBounds::vertices().

m_rotationStripPC
Initial value:
=
Eigen::Translation<double, 2>(Vector2D(0, -get(eAveragePhi)))

Definition at line 24 of file AnnulusBounds.cpp.

View newest version in sPHENIX GitHub at line 24 of file AnnulusBounds.cpp

Referenced by Acts::AnnulusBounds::inside().

m_shiftPC
Initial value:

Definition at line 29 of file AnnulusBounds.cpp.

View newest version in sPHENIX GitHub at line 29 of file AnnulusBounds.cpp

Referenced by Acts::AnnulusBounds::inside(), and Acts::AnnulusBounds::toStream().

m_shiftXY = m_moduleOrigin * -1

Definition at line 28 of file AnnulusBounds.cpp.

View newest version in sPHENIX GitHub at line 28 of file AnnulusBounds.cpp

Referenced by Acts::AnnulusBounds::inside(), Acts::AnnulusBounds::stripXYToModulePC(), and Acts::AnnulusBounds::toStream().

m_translation = Eigen::Translation<double, 2>(m_moduleOrigin)

Definition at line 26 of file AnnulusBounds.cpp.

View newest version in sPHENIX GitHub at line 26 of file AnnulusBounds.cpp