Analysis Software
Documentation for sPHENIX simulation software
|
This class allows to generate layer structure builders for dd4hep sub detectors It performs an intermediate step by taking dd4hep::DetElemnent objects that describe a detector structure and prepares the translation of the detector element and eventual passive surfaces. More...
#include <acts/blob/sPHENIX/Plugins/DD4hep/include/Acts/Plugins/DD4hep/DD4hepLayerStructure.hpp>
Classes | |
struct | Options |
Nested options struct. More... | |
Public Member Functions | |
DD4hepLayerStructure (std::shared_ptr< DD4hepDetectorSurfaceFactory > surfaceFactory, std::unique_ptr< const Logger > logger=getDefaultLogger("DD4hepLayerStructure", Acts::Logging::INFO)) | |
DD4hepLayerStructure ()=delete | |
std::shared_ptr < LayerStructureBuilder > | builder (DD4hepDetectorElement::Store &dd4hepStore, const dd4hep::DetElement &dd4hepElement, const Options &options) const |
This method generates a LayerStructure builder, which extends the IInternalStructureBuilder and can be used in the conjunction with a IExternalStructureBuilder to create DetectorVolume objects. | |
Private Member Functions | |
const Logger & | logger () const |
Private access to the logger. | |
Private Attributes | |
std::shared_ptr < DD4hepDetectorSurfaceFactory > | m_surfaceFactory = nullptr |
The workorse: the surface factory. | |
std::unique_ptr< const Logger > | m_logger |
Logging instance. | |
This class allows to generate layer structure builders for dd4hep sub detectors It performs an intermediate step by taking dd4hep::DetElemnent objects that describe a detector structure and prepares the translation of the detector element and eventual passive surfaces.
It would also build passive support structures if configured to do so.
Definition at line 36 of file DD4hepLayerStructure.hpp.
View newest version in sPHENIX GitHub at line 36 of file DD4hepLayerStructure.hpp
Acts::Experimental::DD4hepLayerStructure::DD4hepLayerStructure | ( | std::shared_ptr< DD4hepDetectorSurfaceFactory > | surfaceFactory, |
std::unique_ptr< const Logger > | logger = getDefaultLogger("DD4hepLayerStructure", Acts::Logging::INFO) |
||
) |
Constructor with DD4hepDetectorSurfaceFactory
surfaceFactory | the surfac factory which converts dd4hep::DetElement objects into their Acts coutnerparts |
logger | is the screen output logger |
Definition at line 11 of file DD4hepLayerStructure.cpp.
View newest version in sPHENIX GitHub at line 11 of file DD4hepLayerStructure.cpp
References m_surfaceFactory.
|
delete |
std::shared_ptr< Acts::Experimental::LayerStructureBuilder > Acts::Experimental::DD4hepLayerStructure::builder | ( | DD4hepDetectorElement::Store & | dd4hepStore, |
const dd4hep::DetElement & | dd4hepElement, | ||
const Options & | options | ||
) | const |
This method generates a LayerStructure builder, which extends the IInternalStructureBuilder and can be used in the conjunction with a IExternalStructureBuilder to create DetectorVolume
objects.
It takes the detector element from DD4hep and some optional parameters
dd4hepStore | [in, out] the detector store for the built elements |
dd4hepElement | the dd4hep detector element |
options | containing the optional descriptions |
Definition at line 22 of file DD4hepLayerStructure.cpp.
View newest version in sPHENIX GitHub at line 22 of file DD4hepLayerStructure.cpp
References ACTS_DEBUG, Acts::ACTS_VERBOSE(), Acts::Experimental::ProtoSupport::assignToAll, Acts::Experimental::LayerStructureBuilder::Config::auxiliary, Acts::DD4hepDetectorSurfaceFactory::Cache::binnings, Acts::Experimental::LayerStructureBuilder::Config::binnings, Acts::Experimental::DD4hepLayerStructure::Options::conversionOptions, Acts::getDefaultLogger(), Acts::Experimental::DD4hepLayerStructure::Options::logLevel, Acts::Experimental::DD4hepLayerStructure::Options::name, Acts::DD4hepDetectorSurfaceFactory::Cache::passiveSurfaces, Acts::UnitConstants::ps, Acts::DD4hepDetectorSurfaceFactory::Cache::sensitiveSurfaces, Acts::DD4hepDetectorSurfaceFactory::Cache::supports, Acts::Experimental::LayerStructureBuilder::Config::supports, Acts::Experimental::ProtoSupport::surface, Acts::Experimental::LayerStructureBuilder::Config::surfacesProvider, and physmon_ckf_tracking::u.
|
inlineprivate |
Private access to the logger.
Definition at line 91 of file DD4hepLayerStructure.hpp.
View newest version in sPHENIX GitHub at line 91 of file DD4hepLayerStructure.hpp
References m_logger.
|
private |
Logging instance.
Definition at line 88 of file DD4hepLayerStructure.hpp.
View newest version in sPHENIX GitHub at line 88 of file DD4hepLayerStructure.hpp
Referenced by logger().
|
private |
The workorse: the surface factory.
Definition at line 85 of file DD4hepLayerStructure.hpp.
View newest version in sPHENIX GitHub at line 85 of file DD4hepLayerStructure.hpp
Referenced by DD4hepLayerStructure().