#include "TRTDetectorFactory_Full.h"
#include "TRT_DetDescrDB_ParameterInterface.h"
#include "TRT_ReadoutGeometry/TRT_Numerology.h"
#include "TRT_ReadoutGeometry/TRT_BarrelDescriptor.h"
#include "TRT_ReadoutGeometry/TRT_BarrelElement.h"
#include "TRT_ReadoutGeometry/TRT_EndcapDescriptor.h"
#include "TRT_ReadoutGeometry/TRT_EndcapElement.h"
#include "TRT_ConditionsData/StrawStatus.h"
#include "InDetReadoutGeometry/Version.h"
#include "ReadoutGeometryBase/InDetDD_Defs.h"
#include "InDetIdentifier/TRT_ID.h"
#include "ArrayFunction.h"
#include "InDetGeoModelUtils/ExtraMaterial.h"
#include "InDetGeoModelUtils/InDetDDAthenaComps.h"
#include "InDetGeoModelUtils/GeoNodePtr.h"
#include "GeoModelKernel/GeoTube.h"
#include "GeoModelKernel/GeoTrd.h"
#include "GeoModelKernel/GeoLogVol.h"
#include "GeoModelKernel/GeoNameTag.h"
#include "GeoModelKernel/GeoPhysVol.h"
#include "GeoModelKernel/GeoFullPhysVol.h"
#include "GeoModelKernel/GeoTransform.h"
#include "GeoModelKernel/GeoAlignableTransform.h"
#include "GeoModelKernel/GeoSerialDenominator.h"
#include "GeoModelKernel/GeoSerialTransformer.h"
#include "GeoModelKernel/GeoShapeShift.h"
#include "GeoModelKernel/GeoShapeUnion.h"
#include "GeoModelKernel/GeoIdentifierTag.h"
#include "GeoModelKernel/GeoSerialIdentifier.h"
#include "GeoModelKernel/GeoMaterial.h"
#include "GeoModelKernel/GeoDefinitions.h"
#include "GeoModelKernel/Units.h"
#include "GeoGenericFunctions/AbsFunction.h"
#include "GeoGenericFunctions/Variable.h"
#include "GeoGenericFunctions/Sin.h"
#include "GeoGenericFunctions/Cos.h"
#include "StoreGate/StoreGateSvc.h"
#include <vector>
#include <sstream>
#include <cmath>
#include <format>
#include <fstream>
Go to the source code of this file.
|
| void | rotate (double angler, GeoTrf::Vector2D &vector) |
| double | angle (const GeoTrf::Vector2D &a, const GeoTrf::Vector2D &b) |
| double | magn (GeoTrf::Vector2D &vector) |
◆ angle()
| double angle |
( |
const GeoTrf::Vector2D & | a, |
|
|
const GeoTrf::Vector2D & | b ) |
|
inline |
Definition at line 71 of file TRTDetectorFactory_Full.cxx.
72{
73 double ptot2 =
a.mag2()*
b.mag2();
74 return ptot2 <= 0.0 ? 0.0 : std::acos(
a.dot(b)/std::sqrt(ptot2));
75}
◆ magn()
| double magn |
( |
GeoTrf::Vector2D & | vector | ) |
|
|
inline |
◆ rotate()
| void rotate |
( |
double | angler, |
|
|
GeoTrf::Vector2D & | vector ) |
|
inline |