|
ATLAS Offline Software
|
#include <DetachedTrackingVolume.h>
|
void | compactify (size_t &cSurfaces, size_t &tSurfaces) |
| Compactify – set TG as owner to surfaces. More...
|
|
Base Class for a navigation object (active/passive) in the Tracking realm.
- Author
- Sarka.nosp@m..Tod.nosp@m.orova.nosp@m.@cer.nosp@m.n.ch
Definition at line 46 of file DetachedTrackingVolume.h.
◆ DetachedTrackingVolume() [1/3]
Trk::DetachedTrackingVolume::DetachedTrackingVolume |
( |
| ) |
|
◆ DetachedTrackingVolume() [2/3]
Trk::DetachedTrackingVolume::DetachedTrackingVolume |
( |
std::string |
name, |
|
|
Trk::TrackingVolume * |
volume |
|
) |
| |
◆ DetachedTrackingVolume() [3/3]
◆ ~DetachedTrackingVolume()
Trk::DetachedTrackingVolume::~DetachedTrackingVolume |
( |
| ) |
|
◆ clone()
clone with transform
Definition at line 75 of file DetachedTrackingVolume.cxx.
84 std::vector<Trk::Layer*>* newMulti =
nullptr;
91 newMulti =
new std::vector<Trk::Layer*>;
99 newMulti->push_back(newPl);
101 std::cout <<
"WARNING Trk::DetachedTrackingVolume::clone() "
102 "dynamic cast to 'const Trk::PlaneLayer* mpl' failed!"
108 std::cout <<
"WARNING Trk::DetachedTrackingVolume::clone() dynamic "
109 "cast to 'const Trk::PlaneLayer* pl' failed!"
119 BinnedArraySpan<Trk::TrackingVolume * const> vols =
121 for (
auto *vol : vols) {
124 vol->confinedArbitraryLayers();
127 for (
auto *lay : lays) {
128 lay->encloseDetachedTrackingVolume(*newStat);
131 if (!alays.empty()) {
132 for (
auto *alay : alays) {
133 alay->encloseDetachedTrackingVolume(*newStat);
139 BinnedArraySpan<Trk::Layer* const> lays =
141 for (
auto *lay : lays){
142 lay->encloseDetachedTrackingVolume(*newStat);
148 for (
auto *alay : alays) {
149 alay->encloseDetachedTrackingVolume(*newStat);
◆ compactify()
void Trk::DetachedTrackingVolume::compactify |
( |
size_t & |
cSurfaces, |
|
|
size_t & |
tSurfaces |
|
) |
| |
|
private |
◆ constituents()
const std::vector< std::pair< std::unique_ptr< const Trk::Volume >, float > > * Trk::DetachedTrackingVolume::constituents |
( |
| ) |
const |
|
inline |
◆ geometrySignature()
◆ geometryType()
◆ layerRepresentation() [1/2]
Layer * Trk::DetachedTrackingVolume::layerRepresentation |
( |
| ) |
|
|
inline |
◆ layerRepresentation() [2/2]
const Layer * Trk::DetachedTrackingVolume::layerRepresentation |
( |
| ) |
const |
|
inline |
◆ move()
◆ multilayerRepresentation() [1/2]
◆ multilayerRepresentation() [2/2]
◆ name()
const std::string & Trk::DetachedTrackingVolume::name |
( |
| ) |
const |
|
inline |
◆ saveConstituents()
void Trk::DetachedTrackingVolume::saveConstituents |
( |
const std::vector< std::pair< std::unique_ptr< const Trk::Volume >, float >> * |
constituents | ) |
|
|
inline |
◆ setBaseTransform()
void Trk::DetachedTrackingVolume::setBaseTransform |
( |
Amg::Transform3D * |
transf = nullptr | ) |
|
◆ sign()
◆ trackingVolume() [1/2]
◆ trackingVolume() [2/2]
◆ DetachedTrackingVolumeBuilder
friend class DetachedTrackingVolumeBuilder |
|
friend |
◆ IDetachedTrackingVolumeBuilder
◆ TrackingVolume
◆ m_baseTransform
◆ m_constituents
const std::vector<std::pair<std::unique_ptr<const Trk::Volume>, float> >* Trk::DetachedTrackingVolume::m_constituents |
|
private |
◆ m_layerRepresentation
Layer* Trk::DetachedTrackingVolume::m_layerRepresentation |
|
private |
◆ m_multilayerRepresentation
const std::vector<Layer*>* Trk::DetachedTrackingVolume::m_multilayerRepresentation |
|
private |
◆ m_name
const std::string Trk::DetachedTrackingVolume::m_name |
|
private |
◆ m_trkVolume
The documentation for this class was generated from the following files:
friend class TrackingVolume
Declare the IDetachedTrackingVolumeBuilder as a friend, to be able to change the volumelink.
Amg::Transform3D * m_baseTransform
TrackingVolume * m_trkVolume
void setOwner(SurfaceOwner x)
set Ownership
GeometrySignature geometrySignature() const
return the Signature
const TrackingVolume * trackingVolume() const
returns the TrackingVolume
GeometryType geometryType() const
return the Signature
Layer * m_layerRepresentation
const LayerArray * confinedLayers() const
Return the subLayer array.
virtual void moveLayer(Amg::Transform3D &)=0
move the Layer
virtual const Surface & surfaceRepresentation() const =0
Transforms the layer into a Surface representation for extrapolation.
const std::vector< std::pair< std::unique_ptr< const Trk::Volume >, float > > * m_constituents
ArraySpan< Layer const *const > confinedArbitraryLayers() const
Return the confined subLayer array.
Eigen::Affine3d Transform3D
Amg::Vector3D transform(Amg::Vector3D &v, Amg::Transform3D &tr)
Transform a point from a Trasformation3D.
void saveConstituents(const std::vector< std::pair< std::unique_ptr< const Trk::Volume >, float >> *)
set the simplified calculable components
virtual void moveLayer(Amg::Transform3D &shift) override final
move the Layer
virtual BinnedArraySpan< T *const > arrayObjects()=0
Return all objects of the Array non-const we can still modify the T.
void moveTV(Amg::Transform3D &transform)
move the Tracking Volume
const std::string & name() const
returns the Name
const std::vector< std::pair< std::unique_ptr< const Trk::Volume >, float > > * constituents() const
get the simplified calculable components
ArraySpan< Layer const *const > multilayerRepresentation() const
returns (multi)layer representation
void sign(GeometrySignature signat, GeometryType gtype=Static)
sign the volume - the geometry builder has to do that
const TrackingVolumeArray * confinedVolumes() const
Return the subLayer array.
void compactify(size_t &rSurfaces, size_t &tSurfaces)
compactify the memory usage in the event by setting ownership to TackingGeometry the referenced types...
const std::vector< Layer * > * m_multilayerRepresentation
const Layer * layerRepresentation() const
returns layer representation
std::span< T > BinnedArraySpan