LDMX Software
GeoUtils.h
1#pragma once
2
3#include "Acts/Definitions/Algebra.hpp"
4#include "Acts/Geometry/GeometryIdentifier.hpp"
5
6namespace tracking::geo {
7
13unsigned int unpackGeometryIdentifier(const Acts::GeometryIdentifier& geoId);
14
15// I use the same ATLAS convention (opposite to MPII)
16/*
17deltaR = (ru, rv, rw)
18 / 1 -rw rv \
19deltaR => | rw 1 -ru |
20 \ -rv ru 1 /
21 */
22
23Acts::RotationMatrix3 deltaRot(const Acts::Vector3& deltaR);
24
25} // namespace tracking::geo
Visualization.
unsigned int unpackGeometryIdentifier(const Acts::GeometryIdentifier &geoId)
The geometry identifier will return vol=0 and lay=0 when it is not valid.
Definition GeoUtils.cxx:5