Analysis Software
Documentation for sPHENIX simulation software
|
#include "Acts/Definitions/Units.hpp"
#include "Acts/Geometry/CylinderVolumeBuilder.hpp"
#include "Acts/Geometry/CylinderVolumeHelper.hpp"
#include "Acts/Geometry/GeometryContext.hpp"
#include "Acts/Geometry/GeometryIdentifier.hpp"
#include "Acts/Geometry/TrackingGeometry.hpp"
#include "Acts/Plugins/DD4hep/DD4hepConversionHelpers.hpp"
#include "Acts/Utilities/BinningType.hpp"
#include "Acts/Utilities/Logger.hpp"
#include <algorithm>
#include <functional>
#include <memory>
#include <vector>
#include <DD4hep/DetElement.h>
Go to the source code of this file.
Namespaces | |
namespace | Acts |
Acts includes to create all necessary definitions. | |
Functions | |
void | Acts::sortDetElementsByID (std::vector< dd4hep::DetElement > &det) |
std::unique_ptr< const TrackingGeometry > | Acts::convertDD4hepDetector (dd4hep::DetElement worldDetElement, const Logger &logger, BinningType bTypePhi=equidistant, BinningType bTypeR=equidistant, BinningType bTypeZ=equidistant, double layerEnvelopeR=UnitConstants::mm, double layerEnvelopeZ=UnitConstants::mm, double defaultLayerThickness=UnitConstants::fm, const std::function< void(std::vector< dd4hep::DetElement > &detectors)> &sortSubDetectors=sortDetElementsByID, const GeometryContext &gctx=GeometryContext(), std::shared_ptr< const IMaterialDecorator > matDecorator=nullptr, std::shared_ptr< const GeometryIdentifierHook > geometryIdentifierHook=std::make_shared< GeometryIdentifierHook >()) |
Global method which creates the TrackingGeometry from DD4hep input. | |
std::shared_ptr< const CylinderVolumeBuilder > | Acts::volumeBuilder_dd4hep (dd4hep::DetElement subDetector, const Logger &logger, BinningType bTypePhi=equidistant, BinningType bTypeR=equidistant, BinningType bTypeZ=equidistant, double layerEnvelopeR=UnitConstants::mm, double layerEnvelopeZ=UnitConstants::mm, double defaultLayerThickness=UnitConstants::fm) |
Method internally used to create an Acts::CylinderVolumeBuilder. | |
std::shared_ptr< const CylinderVolumeHelper > | Acts::cylinderVolumeHelper_dd4hep (const Logger &logger) |
void | Acts::collectSubDetectors_dd4hep (dd4hep::DetElement &detElement, std::vector< dd4hep::DetElement > &subdetectors, const Logger &logger) |
void | Acts::collectCompounds_dd4hep (dd4hep::DetElement &detElement, std::vector< dd4hep::DetElement > &compounds) |
void | Acts::collectLayers_dd4hep (dd4hep::DetElement &detElement, std::vector< dd4hep::DetElement > &layers, const Logger &logger) |