ATLAS Offline Software
Loading...
Searching...
No Matches
MuonDetectorDefs.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef MUONGEOMODELR4_MUONDETECTORDEFS_H
5#define MUONGEOMODELR4_MUONDETECTORDEFS_H
6
11
14
15
16#include <Identifier/Identifier.h>
18
19#include <functional>
20
21#ifndef SIMULATIONBASE
22# include "Acts/Geometry/VolumeBounds.hpp"
23# include "Acts/Surfaces/Surface.hpp"
24#endif
25
26namespace Acts{
27 class VolumeBounds;
28 class Surface;
29 class TrackingVolume;
30}
31
33namespace MuonGMR4 {
35 double halfXlowY(const Acts::VolumeBounds& bounds);
37 double halfXhighY(const Acts::VolumeBounds& bounds);
39 double halfY(const Acts::VolumeBounds& bounds);
41 double halfZ(const Acts::VolumeBounds& bounds);
44 std::unique_ptr<ActsTrk::DetectorAlignStore> copyDeltas(const ActsTrk::DetectorAlignStore& inStore);
50
54
57 const Acts::Surface* bottomBoundary(const Acts::TrackingVolume& volume);
60 const Acts::Surface* topBoundary(const Acts::TrackingVolume& volume);
61
62} // namespace MuonGMR4
63
64
65
66#endif
DetectorType
Simple enum to Identify the Type of the ACTS sub detector.
Eigen::Affine3d Transform3D
Amg::Transform3D rotationToAMDB(const ActsTrk::DetectorType type)
Returns the rotation matrix from the readout element coordinate system into the AMDB coordinate syste...
The ReadoutGeomCnvAlg converts the Run4 Readout geometry build from the GeoModelXML into the legacy M...
double halfY(const Acts::VolumeBounds &bounds)
Returns the half-Y length for the parsed volume bounds (Trapezoid/ Cuboid)
const Acts::Surface * bottomBoundary(const Acts::TrackingVolume &volume)
Returns the boundary surface parallel to the x-y plane at negative local z.
const Acts::Surface * topBoundary(const Acts::TrackingVolume &volume)
Returns the boundary surface parallel to the x-y plane at positive local z.
std::unique_ptr< ActsTrk::DetectorAlignStore > copyDeltas(const ActsTrk::DetectorAlignStore &inStore)
Copy the alignment deltas from the inStore to a new alignment store.
bool isMuon(const ActsTrk::DetectorType type)
Returns whether the parsed type is muon.
double halfZ(const Acts::VolumeBounds &bounds)
Returns the half-Z length for the parsed volume bounds (Trapezoid/ Cuboid)
double halfXhighY(const Acts::VolumeBounds &bounds)
Returns the half-Y length @ posiive Y for the parsed volume bounds (Trapezoid/ Cuboid)
double halfXlowY(const Acts::VolumeBounds &bounds)
Returns the half-X length @ negative Y for the parsed volume bounds (Trapezoid/ Cuboid)