Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
BuildGenericDetector.hpp File Reference
+ Include dependency graph for BuildGenericDetector.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Acts
 Acts includes to create all necessary definitions.
 
namespace  ActsExamples
 
namespace  ActsExamples::Generic
 

Functions

std::vector< Acts::Vector3ActsExamples::Generic::modulePositionsCylinder (double radius, double zStagger, double moduleHalfLength, double lOverlap, const std::pair< int, int > &binningSchema)
 helper method for cylinder
 
std::vector< Acts::Vector3ActsExamples::Generic::modulePositionsRing (double z, double radius, double phiStagger, double phiSubStagger, int nPhiBins)
 Helper method for positioning.
 
std::vector< std::vector
< Acts::Vector3 > > 
ActsExamples::Generic::modulePositionsDisc (double z, double ringStagger, std::vector< double > phiStagger, std::vector< double > phiSubStagger, double innerRadius, double outerRadius, const std::vector< size_t > &discBinning, const std::vector< double > &moduleHalfLength)
 helper method for disc
 
template<typename detector_element_t >
std::unique_ptr< const
Acts::TrackingGeometry
ActsExamples::Generic::buildDetector (const typename detector_element_t::ContextType &gctxIn, std::vector< std::vector< std::shared_ptr< detector_element_t >>> &detectorStore, size_t level, std::shared_ptr< const Acts::IMaterialDecorator > matDecorator=nullptr, bool protoMaterial=false, Acts::Logging::Level surfaceLLevel=Acts::Logging::INFO, Acts::Logging::Level layerLLevel=Acts::Logging::INFO, Acts::Logging::Level volumeLLevel=Acts::Logging::INFO)