EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
Helper struct to convert TGeoShapes into Surface or Volume Bounds. More...
#include <acts/blob/sPHENIX/Plugins/TGeo/include/Acts/Plugins/TGeo/TGeoSurfaceConverter.hpp>
Static Public Member Functions | |
static std::tuple < std::shared_ptr< const CylinderBounds >, const Transform3D, double > | cylinderComponents (const TGeoShape &tgShape, const Double_t *rotation, const Double_t *translation, const std::string &axes, double scalor=10.) noexcept(false) |
static std::tuple < std::shared_ptr< const DiscBounds >, const Transform3D, double > | discComponents (const TGeoShape &tgShape, const Double_t *rotation, const Double_t *translation, const std::string &axes, double scalor=10.) noexcept(false) |
static std::tuple < std::shared_ptr< const PlanarBounds >, const Transform3D, double > | planeComponents (const TGeoShape &tgShape, const Double_t *rotation, const Double_t *translation, const std::string &axes, double scalor=10.) noexcept(false) |
static std::shared_ptr< Surface > | toSurface (const TGeoShape &tgShape, const TGeoMatrix &tgMatrix, const std::string &axes, double scalor=10.) noexcept(false) |
static double | toRadian (double degree) |
Helper struct to convert TGeoShapes into Surface or Volume Bounds.
Definition at line 28 of file TGeoSurfaceConverter.hpp.
View newest version in sPHENIX GitHub at line 28 of file TGeoSurfaceConverter.hpp
|
staticnoexcept |
Convert a TGeoShape into cylinder surface components
tgShape | The TGeoShape |
rotation | The rotation matrix as Double_t* from root |
translation | The translation vector as Double_t* from root |
axes | The axes definition |
scalor | The unit scalor between TGeo and Acts |
Definition at line 45 of file TGeoSurfaceConverter.cpp.
View newest version in sPHENIX GitHub at line 45 of file TGeoSurfaceConverter.cpp
References KF_timing::ax, deltaR(), M_PI, max, min, t, thickness, and Acts::Test::transform.
Referenced by Acts::TGeoDetectorElement::TGeoDetectorElement().
|
staticnoexcept |
Convert a TGeoShape into disk surface components
tgShape | The TGeoShape |
rotation | The rotation matrix as Double_t* from root |
translation | The translation vector as Double_t* from root |
axes | The axes definition |
scalor | The unit scalor between TGeo and Acts |
Definition at line 110 of file TGeoSurfaceConverter.cpp.
View newest version in sPHENIX GitHub at line 110 of file TGeoSurfaceConverter.cpp
References kdfinder::abs(), KF_timing::ax, M_PI, max, min, phi, Acts::Test::phiMin, t, thickness, Acts::Test::transform, v, and vtx().
Referenced by Acts::TGeoDetectorElement::TGeoDetectorElement().
|
staticnoexcept |
Convert a TGeoShape into plane surface components
tgShape | The TGeoShape |
rotation | The rotation matrix as Double_t* from root |
rotation | The translation vector as Double_t* from root |
axes | The axes definition |
scalor | The unit scalor between TGeo and Acts |
Definition at line 262 of file TGeoSurfaceConverter.cpp.
View newest version in sPHENIX GitHub at line 262 of file TGeoSurfaceConverter.cpp
References kdfinder::abs(), KF_timing::ax, Acts::s_epsilon, t, thickness, and Acts::Test::transform.
Referenced by Acts::TGeoDetectorElement::TGeoDetectorElement().
|
inlinestatic |
Transalte TGeo degree [0, 360) to radian
degree | The input in degree |
Definition at line 90 of file TGeoSurfaceConverter.hpp.
View newest version in sPHENIX GitHub at line 90 of file TGeoSurfaceConverter.hpp
References M_PI.
|
staticnoexcept |
Convert a TGeoShape to a Surface
tgShape | The TGeoShape |
tgMatrix | The matrix representing the tranbsform |
axes | The axes definition |
scalor | The unit scalor between TGeo and Acts |
Definition at line 444 of file TGeoSurfaceConverter.cpp.
View newest version in sPHENIX GitHub at line 444 of file TGeoSurfaceConverter.cpp
Referenced by Acts::Test::BOOST_AUTO_TEST_CASE().