EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
Functions | |
template<typename variable_maps_t > | |
std::shared_ptr< const Acts::TrackingGeometry > | buildTGeoDetector (variable_maps_t &vm, const Acts::GeometryContext &context, std::vector< std::shared_ptr< const Acts::TGeoDetectorElement >> &detElementStore, std::shared_ptr< const Acts::IMaterialDecorator > mdecorator) |
global method to build the generic tracking geometry | |
std::shared_ptr<const Acts::TrackingGeometry> ActsExamples::TGeo::buildTGeoDetector | ( | variable_maps_t & | vm, |
const Acts::GeometryContext & | context, | ||
std::vector< std::shared_ptr< const Acts::TGeoDetectorElement >> & | detElementStore, | ||
std::shared_ptr< const Acts::IMaterialDecorator > | mdecorator | ||
) |
global method to build the generic tracking geometry
It does currently not translate the material, this has to be done with a material mapping stage
variable_map_t | is the variable map |
vm | is the variable map from the options |
configure the beam pipe layer builder
return the tracking geometry
Definition at line 50 of file BuildTGeoDetector.hpp.
View newest version in sPHENIX GitHub at line 50 of file BuildTGeoDetector.hpp
References Acts::binR, Acts::CylinderVolumeBuilder::Config::buildToRadiusZero, Acts::PassiveLayerBuilder::Config::centralLayerHalflengthZ, Acts::PassiveLayerBuilder::Config::centralLayerRadii, Acts::PassiveLayerBuilder::Config::centralLayerThickness, Acts::CylinderVolumeBuilder::Config::checkRingLayout, Acts::getDefaultLogger(), Acts::CylinderVolumeHelper::Config::layerArrayCreator, Acts::CylinderVolumeBuilder::Config::layerBuilder, Acts::CylinderVolumeBuilder::Config::layerEnvelopeR, Acts::PassiveLayerBuilder::Config::layerIdentification, Acts::TrackingGeometryBuilder::Config::materialDecorator, max, Acts::UnitConstants::mm, Acts::CylinderVolumeBuilder::Config::ringTolerance, Acts::LayerCreator::Config::surfaceArrayCreator, Acts::SurfaceArrayCreator::Config::surfaceMatcher, Acts::trackingGeometry(), Acts::TrackingGeometryBuilder::Config::trackingVolumeBuilders, Acts::TrackingGeometryBuilder::Config::trackingVolumeHelper, Acts::CylinderVolumeBuilder::Config::trackingVolumeHelper, Acts::CylinderVolumeBuilder::Config::volumeName, and Acts::CylinderVolumeBuilder::Config::volumeSignature.
Referenced by TGeoDetector::finalize().