EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::Test::CylindricalTrackingGeometry Struct Reference

#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< Vector3DmodulePositionsCylinder (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.
 

Detailed Description

Definition at line 44 of file CylindricalTrackingGeometry.hpp.

View newest version in sPHENIX GitHub at line 44 of file CylindricalTrackingGeometry.hpp

Member Typedef Documentation

Definition at line 52 of file CylindricalTrackingGeometry.hpp.

View newest version in sPHENIX GitHub at line 52 of file CylindricalTrackingGeometry.hpp

Constructor & Destructor Documentation

Acts::Test::CylindricalTrackingGeometry::CylindricalTrackingGeometry ( std::reference_wrapper< const GeometryContext gctx)
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

Member Function Documentation

std::vector<Vector3D> Acts::Test::CylindricalTrackingGeometry::modulePositionsCylinder ( double  radius,
double  zStagger,
double  moduleHalfLength,
double  lOverlap,
const std::pair< int, int > &  binningSchema 
)
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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

std::shared_ptr<const TrackingGeometry> Acts::Test::CylindricalTrackingGeometry::operator() ( )
inline
std::vector<const Surface*> Acts::Test::CylindricalTrackingGeometry::surfacesCylinder ( DetectorStore detStore,
double  moduleHalfX,
double  moduleHalfY,
double  moduleThickness,
double  moduleTiltPhi,
double  layerRadius,
double  radialStagger,
double  longitudinalOverlap,
const std::pair< int, int > &  binningSchema 
)
inline

Generator of surfaces for a cylindrical layer

Parameters
detStoreThe DetectorStore for storing the modules
moduleHalfXThe half lenght in X of the module
moduleHalfYThe half lenght in Y of the module
moduleThicknessThe module thickness
moduleTilePhiThe tilt in phi direction of the module
layerRadiusThe radius fo the cylindrical layer
radialStaggerThe radial delta of modules next in z
longitudinalOverlapThe z overlap of modules next in z
binningSchemaThe number of bins in phi/z
Returns
A vector of Surfaces

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()().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

std::vector<const Surface*> Acts::Test::CylindricalTrackingGeometry::surfacesRing ( DetectorStore detStore,
double  moduleHalfXminY,
double  moudleHalfXmaxY,
double  moduleHalfY,
double  moduleThickness,
double  moduleTilt,
double  ringRadius,
double  ringZ,
double  zStagger,
int  nPhi 
)
inline

Generator of surfaces for a ring

Parameters
detStoreThe DetectorStore for storing the modules
moduleHalfXminYThe half lenght in X (at Y min) of the module
moduleHalfXmaxYThe half lenght in X (at Y max) of the module
moduleHalfYThe half lenght in Y of the module
moduleThicknessThe module thickness
moduleTiltThe tilt out of the plane for discs
ringRadiusThe central radius of the ring
ringZThe z position of the ring
zStaggerThe z offset of phi moudles
nPhiThe number of phi modules
Returns
A vector of Surfaces

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

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()().


The documentation for this struct was generated from the following file: