![]() |
FairShip
|
#include <ActsStrawGeometry.hpp>
Public Member Functions | |
| ActsStrawGeometry (const TGeoManager &geometry) | |
| const Acts::Surface * | surface (int detectorId) const |
| The straw surface for a strawtubes detector ID, or nullptr if unknown. | |
| const StrawWire * | wire (int detectorId) const |
| The wire for a strawtubes detector ID, or nullptr if unknown. | |
| const std::unordered_map< int, StrawWire > & | wires () const |
| std::size_t | size () const |
Private Attributes | |
| std::unordered_map< int, std::shared_ptr< Acts::Surface > > | m_surfaces |
| std::unordered_map< int, StrawWire > | m_wires |
ACTS straw surfaces of the strawtubes spectrometer.
Built from the "straw" volumes of the loaded TGeo geometry, so the surfaces follow the geometry the event was simulated with. Each straw is looked up by its strawtubes detector ID.
Definition at line 38 of file ActsStrawGeometry.hpp.
|
explicit |
Definition at line 167 of file ActsStrawGeometry.cpp.
|
inline |
Definition at line 47 of file ActsStrawGeometry.hpp.
| const Acts::Surface * SHiP::ActsStrawGeometry::surface | ( | int | detectorId | ) | const |
The straw surface for a strawtubes detector ID, or nullptr if unknown.
Definition at line 179 of file ActsStrawGeometry.cpp.
| const StrawWire * SHiP::ActsStrawGeometry::wire | ( | int | detectorId | ) | const |
The wire for a strawtubes detector ID, or nullptr if unknown.
Definition at line 184 of file ActsStrawGeometry.cpp.
|
inline |
Definition at line 46 of file ActsStrawGeometry.hpp.
|
private |
Definition at line 50 of file ActsStrawGeometry.hpp.
|
private |
Definition at line 51 of file ActsStrawGeometry.hpp.