EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::TrackingVolumeArrayCreator Class Reference

#include <acts/blob/sPHENIX/Core/include/Acts/Geometry/TrackingVolumeArrayCreator.hpp>

+ Inheritance diagram for Acts::TrackingVolumeArrayCreator:
+ Collaboration diagram for Acts::TrackingVolumeArrayCreator:

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 Loggerlogger () const
 

Private Attributes

std::unique_ptr< const Loggerm_logger
 logging instance
 

Detailed Description

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 32 of file TrackingVolumeArrayCreator.hpp.

View newest version in sPHENIX GitHub at line 32 of file TrackingVolumeArrayCreator.hpp

Constructor & Destructor Documentation

Acts::TrackingVolumeArrayCreator::TrackingVolumeArrayCreator ( const Config ,
std::unique_ptr< const Logger logger = getDefaultLogger("LayerArrayCreator",                                                  Logging::INFO) 
)
inline

Constructor

Parameters
loggerlogging instance

Definition at line 40 of file TrackingVolumeArrayCreator.hpp.

View newest version in sPHENIX GitHub at line 40 of file TrackingVolumeArrayCreator.hpp

Acts::TrackingVolumeArrayCreator::~TrackingVolumeArrayCreator ( )
overridedefault

Destructor.

Member Function Documentation

const Logger& Acts::TrackingVolumeArrayCreator::logger ( ) const
inlineprivate

Definition at line 69 of file TrackingVolumeArrayCreator.hpp.

View newest version in sPHENIX GitHub at line 69 of file TrackingVolumeArrayCreator.hpp

References m_logger.

void Acts::TrackingVolumeArrayCreator::setLogger ( std::unique_ptr< const Logger logger)
inline

Set logging instance

Parameters
loggeris the logging instance to be set

Definition at line 63 of file TrackingVolumeArrayCreator.hpp.

View newest version in sPHENIX GitHub at line 63 of file TrackingVolumeArrayCreator.hpp

References m_logger.

std::shared_ptr< const Acts::TrackingVolumeArray > Acts::TrackingVolumeArrayCreator::trackingVolumeArray ( const GeometryContext gctx,
const TrackingVolumeVector tVolumes,
BinningValue  bValue 
) const
overridevirtual

create a tracking volume array

Parameters
[in]gctxthe geometry context for this building
[in]tVolumesis the vector of TrackingVolumes to be
[in]bValueis the binning value
Returns
new created volume array

Implements Acts::ITrackingVolumeArrayCreator.

Definition at line 23 of file TrackingVolumeArrayCreator.cpp.

View newest version in sPHENIX GitHub at line 23 of file TrackingVolumeArrayCreator.cpp

References boundaries, Acts::open, and value.

Member Data Documentation

std::unique_ptr<const Logger> Acts::TrackingVolumeArrayCreator::m_logger
private

logging instance

Definition at line 72 of file TrackingVolumeArrayCreator.hpp.

View newest version in sPHENIX GitHub at line 72 of file TrackingVolumeArrayCreator.hpp

Referenced by logger(), and setLogger().


The documentation for this class was generated from the following files: