ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
build confined TrackingVolumes of one cylinder setup from DD4hep input. More...
#include <acts/blob/master/Plugins/DD4hep/include/Acts/Plugins/DD4hep/DD4hepVolumeBuilder.hpp>
Classes | |
struct | Config |
Public Member Functions | |
DD4hepVolumeBuilder (const Acts::DD4hepVolumeBuilder::Config &config, std::unique_ptr< const Logger > logger) | |
~DD4hepVolumeBuilder () override | |
Destructor. | |
MutableTrackingVolumeVector | centralVolumes () const final |
Builder method for cylindrical, confined volume. | |
const std::string & | identification () const final |
void | setConfiguration (const Config &config) |
Config | getConfiguration () const |
void | setLogger (std::unique_ptr< const Logger > logger) |
Public Member Functions inherited from Acts::IConfinedTrackingVolumeBuilder | |
virtual | ~IConfinedTrackingVolumeBuilder ()=default |
Virtual destructor. | |
Private Member Functions | |
const Logger & | logger () const |
std::shared_ptr< const Acts::Transform3D > | convertTransform (const TGeoMatrix *tGeoTrans) const |
Converter of the transformation of a volume from DD4hep to Acts formalism. | |
Private Attributes | |
Config | m_cfg |
Configruation object. | |
std::unique_ptr< const Logger > | m_logger |
Logging instance. | |
build confined TrackingVolumes of one cylinder setup from DD4hep input.
This class is an implementation of the Acts::IConfinedTrackingVolumeBuilder, creating the central (volumes of barrel), the negative and positive volumes (volumes of endcaps) of one hierarchy (e.g. ECal, HCal...) with input from DD4hep.
Definition at line 36 of file DD4hepVolumeBuilder.hpp.
View newest version in sPHENIX GitHub at line 36 of file DD4hepVolumeBuilder.hpp
Acts::DD4hepVolumeBuilder::DD4hepVolumeBuilder | ( | const Acts::DD4hepVolumeBuilder::Config & | config, |
std::unique_ptr< const Logger > | logger | ||
) |
Constructor
[in] | config | is the configuration struct |
[in] | logger | is the logging instance |
Definition at line 21 of file DD4hepVolumeBuilder.cpp.
View newest version in sPHENIX GitHub at line 21 of file DD4hepVolumeBuilder.cpp
References setConfiguration().
|
overridedefault |
Destructor.
|
finalvirtual |
Builder method for cylindrical, confined volume.
Implements Acts::IConfinedTrackingVolumeBuilder.
Definition at line 36 of file DD4hepVolumeBuilder.cpp.
View newest version in sPHENIX GitHub at line 36 of file DD4hepVolumeBuilder.cpp
References Acts::units::_cm, ACTS_ERROR, ACTS_VERBOSE, Acts::TrackingVolume::create(), dz, and Acts::Test::transform.
|
private |
Converter of the transformation of a volume from DD4hep to Acts formalism.
[in] | tGeoTrans | Transformation of the DD4hep DetElement |
Definition at line 99 of file DD4hepVolumeBuilder.cpp.
View newest version in sPHENIX GitHub at line 99 of file DD4hepVolumeBuilder.cpp
References Acts::units::_cm, Acts::TGeoPrimitivesHelpers::makeTransform(), and Acts::Test::transform.
|
inline |
Get the configuration object
Definition at line 101 of file DD4hepVolumeBuilder.hpp.
View newest version in sPHENIX GitHub at line 101 of file DD4hepVolumeBuilder.hpp
References m_cfg.
|
inlinefinalvirtual |
Name identification
Implements Acts::IConfinedTrackingVolumeBuilder.
Definition at line 97 of file DD4hepVolumeBuilder.hpp.
View newest version in sPHENIX GitHub at line 97 of file DD4hepVolumeBuilder.hpp
References Acts::DD4hepVolumeBuilder::Config::configurationName, and m_cfg.
|
inlineprivate |
Private access to the logger
Definition at line 86 of file DD4hepVolumeBuilder.hpp.
View newest version in sPHENIX GitHub at line 86 of file DD4hepVolumeBuilder.hpp
References m_logger.
Set the configuration object
[in] | Config | is the configuration struct |
Definition at line 30 of file DD4hepVolumeBuilder.cpp.
View newest version in sPHENIX GitHub at line 30 of file DD4hepVolumeBuilder.cpp
Referenced by DD4hepVolumeBuilder().
Set logging instance
[in] | logger | Logger in use |
|
private |
Configruation object.
Definition at line 79 of file DD4hepVolumeBuilder.hpp.
View newest version in sPHENIX GitHub at line 79 of file DD4hepVolumeBuilder.hpp
Referenced by getConfiguration(), and identification().
|
private |
Logging instance.
Definition at line 82 of file DD4hepVolumeBuilder.hpp.
View newest version in sPHENIX GitHub at line 82 of file DD4hepVolumeBuilder.hpp
Referenced by logger().