EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <acts/blob/sPHENIX/Tests/CommonHelpers/Acts/Tests/CommonHelpers/CylindricalTrackingGeometry.hpp>
Public Types | |
using | DetectorStore = std::vector< std::unique_ptr< const DetectorElementStub >> |
Public Member Functions | |
CylindricalTrackingGeometry (std::reference_wrapper< const GeometryContext > gctx) | |
Only allowed constructor with reference wrapper. | |
std::vector< const Surface * > | surfacesRing (DetectorStore &detStore, double moduleHalfXminY, double moudleHalfXmaxY, double moduleHalfY, double moduleThickness, double moduleTilt, double ringRadius, double ringZ, double zStagger, int nPhi) |
std::vector< const Surface * > | surfacesCylinder (DetectorStore &detStore, double moduleHalfX, double moduleHalfY, double moduleThickness, double moduleTiltPhi, double layerRadius, double radialStagger, double longitudinalOverlap, const std::pair< int, int > &binningSchema) |
std::vector< Vector3D > | modulePositionsCylinder (double radius, double zStagger, double moduleHalfLength, double lOverlap, const std::pair< int, int > &binningSchema) |
std::shared_ptr< const TrackingGeometry > | operator() () |
Public Attributes | |
std::reference_wrapper< const GeometryContext > | geoContext |
DetectorStore | detectorStore = {} |
The detector store for memory management. | |
Definition at line 44 of file CylindricalTrackingGeometry.hpp.
View newest version in sPHENIX GitHub at line 44 of file CylindricalTrackingGeometry.hpp
using Acts::Test::CylindricalTrackingGeometry::DetectorStore = std::vector<std::unique_ptr<const DetectorElementStub>> |
Definition at line 52 of file CylindricalTrackingGeometry.hpp.
View newest version in sPHENIX GitHub at line 52 of file CylindricalTrackingGeometry.hpp
|
inline |
Only allowed constructor with reference wrapper.
Definition at line 48 of file CylindricalTrackingGeometry.hpp.
View newest version in sPHENIX GitHub at line 48 of file CylindricalTrackingGeometry.hpp
|
inline |
Helper method for cylinder layer create the positions for module surfaces on a cylinder
Definition at line 183 of file CylindricalTrackingGeometry.hpp.
View newest version in sPHENIX GitHub at line 183 of file CylindricalTrackingGeometry.hpp
References kdfinder::abs(), cos(), M_PI, Acts::Test::minPhi, and Acts::UnitConstants::u.
Referenced by surfacesCylinder().
|
inline |
now push back the layer
Definition at line 213 of file CylindricalTrackingGeometry.hpp.
View newest version in sPHENIX GitHub at line 213 of file CylindricalTrackingGeometry.hpp
References Acts::arbitrary, Acts::Surface::assignSurfaceMaterial(), Acts::binR, Acts::TrackingVolume::create(), detectorStore, Acts::ProtoLayer::envelope, geoContext, Acts::getDefaultLogger(), Acts::Logging::INFO, Acts::CylinderVolumeHelper::Config::layerArrayCreator, Acts::PassiveLayerBuilder::Config::layerIdentification, Acts::Test::makeBeryllium(), Acts::Test::makeSilicon(), Acts::LayerCreator::Config::surfaceArrayCreator, surfacesCylinder(), and Acts::CylinderVolumeBuilder::Config::trackingVolumeHelper.
|
inline |
Generator of surfaces for a cylindrical layer
detStore | The DetectorStore for storing the modules |
moduleHalfX | The half lenght in X of the module |
moduleHalfY | The half lenght in Y of the module |
moduleThickness | The module thickness |
moduleTilePhi | The tilt in phi direction of the module |
layerRadius | The radius fo the cylindrical layer |
radialStagger | The radial delta of modules next in z |
longitudinalOverlap | The z overlap of modules next in z |
binningSchema | The number of bins in phi/z |
Definition at line 129 of file CylindricalTrackingGeometry.hpp.
View newest version in sPHENIX GitHub at line 129 of file CylindricalTrackingGeometry.hpp
References cos(), Acts::Test::makeSilicon(), modulePositionsCylinder(), and Acts::VectorHelpers::phi().
Referenced by Acts::Test::Layers::BOOST_AUTO_TEST_CASE(), and operator()().
|
inline |
Generator of surfaces for a ring
detStore | The DetectorStore for storing the modules |
moduleHalfXminY | The half lenght in X (at Y min) of the module |
moduleHalfXmaxY | The half lenght in X (at Y max) of the module |
moduleHalfY | The half lenght in Y of the module |
moduleThickness | The module thickness |
moduleTilt | The tilt out of the plane for discs |
ringRadius | The central radius of the ring |
ringZ | The z position of the ring |
zStagger | The z offset of phi moudles |
nPhi | The number of phi modules |
Definition at line 71 of file CylindricalTrackingGeometry.hpp.
View newest version in sPHENIX GitHub at line 71 of file CylindricalTrackingGeometry.hpp
References cos(), M_PI, Acts::Test::makeSilicon(), and phi.
Referenced by Acts::Test::Layers::BOOST_AUTO_TEST_CASE().
DetectorStore Acts::Test::CylindricalTrackingGeometry::detectorStore = {} |
The detector store for memory management.
Definition at line 55 of file CylindricalTrackingGeometry.hpp.
View newest version in sPHENIX GitHub at line 55 of file CylindricalTrackingGeometry.hpp
Referenced by operator()().
std::reference_wrapper<const GeometryContext> Acts::Test::CylindricalTrackingGeometry::geoContext |
Definition at line 45 of file CylindricalTrackingGeometry.hpp.
View newest version in sPHENIX GitHub at line 45 of file CylindricalTrackingGeometry.hpp
Referenced by operator()().