Analysis Software
Documentation for sPHENIX simulation 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/Definitions/TrackParametrization.hpp"
#include "Acts/Surfaces/detail/VerticesHelper.hpp"
#include "Acts/Utilities/VectorHelpers.hpp"
#include "Acts/Utilities/detail/periodic.hpp"
#include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <limits>
+ Include dependency graph for AnnulusBounds.cpp:

Go to the source code of this file.

Variables

 m_rotationStripPC = Translation2(Vector2(0, -get(eAveragePhi)))
 
 m_translation = Translation2(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) -> Vector2 {
double m = std::tan(phi);
Vector2 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);
Vector2 v1(x1, m * x1);
if (v1.dot(dir) > 0) {
return v1;
}
return {x2, m * x2};
}

Definition at line 37 of file AnnulusBounds.cpp.

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

m_inLeftModulePC = stripXYToModulePC(m_inLeftStripXY)

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_inLeftStripPC
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_inLeftStripXY
Initial value:
=
circIx(m_moduleOrigin[eBoundLoc0], m_moduleOrigin[eBoundLoc1], get(eMinR),
get(eMaxPhiRel))

Definition at line 71 of file AnnulusBounds.cpp.

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

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

m_inRightModulePC = stripXYToModulePC(m_inRightStripXY)

Definition at line 93 of file AnnulusBounds.cpp.

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

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

m_inRightStripPC
Initial value:

Definition at line 87 of file AnnulusBounds.cpp.

View newest version in sPHENIX GitHub at line 87 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 77 of file AnnulusBounds.cpp.

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

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

m_outLeftModulePC = stripXYToModulePC(m_outLeftStripXY)

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_outLeftStripPC
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_outLeftStripXY
Initial value:
=
circIx(m_moduleOrigin[eBoundLoc0], m_moduleOrigin[eBoundLoc1], get(eMaxR),
get(eMaxPhiRel))

Definition at line 68 of file AnnulusBounds.cpp.

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

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

m_outRightModulePC = stripXYToModulePC(m_outRightStripXY)

Definition at line 92 of file AnnulusBounds.cpp.

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

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

m_outRightStripPC
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_outRightStripXY
Initial value:
=
circIx(m_moduleOrigin[eBoundLoc0], m_moduleOrigin[eBoundLoc1], get(eMaxR),
get(eMinPhiRel))

Definition at line 74 of file AnnulusBounds.cpp.

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

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

m_rotationStripPC = Translation2(Vector2(0, -get(eAveragePhi)))

Definition at line 26 of file AnnulusBounds.cpp.

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

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

m_shiftPC
Initial value:

Definition at line 30 of file AnnulusBounds.cpp.

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

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

m_shiftXY = m_moduleOrigin * -1

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(), Acts::AnnulusBounds::stripXYToModulePC(), and Acts::AnnulusBounds::toStream().

m_translation = Translation2(m_moduleOrigin)

Definition at line 27 of file AnnulusBounds.cpp.

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