Analysis Software
Documentation for sPHENIX simulation software
|
#include <acts/blob/sPHENIX/Core/include/Acts/Geometry/TrackingVolumeArrayCreator.hpp>
Classes | |
struct | Config |
This struct stores the configuration of the tracking geometry. More... | |
Public Member Functions | |
TrackingVolumeArrayCreator (const Config &, std::unique_ptr< const Logger > logger=getDefaultLogger("LayerArrayCreator", Logging::INFO)) | |
~TrackingVolumeArrayCreator () override=default | |
Destructor. | |
std::shared_ptr< const TrackingVolumeArray > | trackingVolumeArray (const GeometryContext &gctx, const TrackingVolumeVector &tVolumes, BinningValue bValue) const override |
void | setLogger (std::unique_ptr< const Logger > logger) |
Public Member Functions inherited from Acts::ITrackingVolumeArrayCreator | |
virtual | ~ITrackingVolumeArrayCreator ()=default |
Virtual destructor. | |
Private Member Functions | |
const Logger & | logger () const |
Private Attributes | |
std::unique_ptr< const Logger > | m_logger |
logging instance | |
The TrackingVolumeArrayCreator is a simple Tool that helps to construct binned arrays of TrackingVolumes for both, confinement in another volume and navigation issues.
Definition at line 30 of file TrackingVolumeArrayCreator.hpp.
View newest version in sPHENIX GitHub at line 30 of file TrackingVolumeArrayCreator.hpp
|
inline |
Constructor
logger | logging instance |
Definition at line 38 of file TrackingVolumeArrayCreator.hpp.
View newest version in sPHENIX GitHub at line 38 of file TrackingVolumeArrayCreator.hpp
|
overridedefault |
Destructor.
|
inlineprivate |
Definition at line 67 of file TrackingVolumeArrayCreator.hpp.
View newest version in sPHENIX GitHub at line 67 of file TrackingVolumeArrayCreator.hpp
References m_logger.
|
inline |
Set logging instance
logger | is the logging instance to be set |
Definition at line 61 of file TrackingVolumeArrayCreator.hpp.
View newest version in sPHENIX GitHub at line 61 of file TrackingVolumeArrayCreator.hpp
References m_logger, and testing::internal::move().
|
overridevirtual |
create a tracking volume array
[in] | gctx | the geometry context for this building |
[in] | tVolumes | is the vector of TrackingVolumes to be |
[in] | bValue | is the binning value |
Implements Acts::ITrackingVolumeArrayCreator.
Definition at line 22 of file TrackingVolumeArrayCreator.cpp.
View newest version in sPHENIX GitHub at line 22 of file TrackingVolumeArrayCreator.cpp
References testing::internal::move(), Acts::open, Acts::Experimental::detail::BlueprintHelper::sort(), value, and volumes.
|
private |
logging instance
Definition at line 70 of file TrackingVolumeArrayCreator.hpp.
View newest version in sPHENIX GitHub at line 70 of file TrackingVolumeArrayCreator.hpp
Referenced by logger(), and setLogger().