Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ActsExamples::Geometry Namespace Reference

Functions

std::pair< std::shared_ptr
< const Acts::TrackingGeometry >
, std::vector< std::shared_ptr
< ActsExamples::IContextDecorator > > > 
build (const boost::program_options::variables_map &vm, IBaseDetector &detector)
 helper method to setup the geometry
 

Function Documentation

std::pair< std::shared_ptr< const Acts::TrackingGeometry >, std::vector< std::shared_ptr< ActsExamples::IContextDecorator > > > ActsExamples::Geometry::build ( const boost::program_options::variables_map &  vm,
IBaseDetector &  detector 
)

helper method to setup the geometry

Template Parameters
options_map_tType of the options to be read
geometry_setupt_tType of the callable geometry setup
Parameters
vmthe parsed options map
geometrySetupthe callable geometry setup
Returns
a pair of TrackingGeometry and context decorators

Return the geometry and context decorators

Return the geometry and context decorators

Definition at line 35 of file CommonGeometry.cpp.

View newest version in sPHENIX GitHub at line 35 of file CommonGeometry.cpp

References ActsExamples::RootMaterialDecorator::Config::fileName, ActsExamples::IBaseDetector::finalize(), Acts::Logging::INFO, and material_mapping_optimisation::matDeco.

Referenced by main(), materialValidationExample(), processGeometry(), propagationExample(), runDetectorAlignment(), runDigitizationConfigExample(), runDigitizationExample(), runFatras(), runHoughExample(), runMaterialMapping(), runMeasurementsToSP(), runRecCKFTracks(), runRecTruthTracks(), and runSeedingExample().

+ Here is the call graph for this function:

+ Here is the caller graph for this function: