Go to the documentation of this file.
8 #ifndef HERD_GEOMUTILS_H
9 #define HERD_GEOMUTILS_H
float DistanceToCaloEnvelope(const Point &point, const CaloGeoParams &geoParams)
Computes the distance of a point from the CALO envelope.
Definition: GeomUtils.cpp:248
A class describing a vector in 3D space.
Definition: Vec3D.h:33
Class describing a line in the 3D space.
Definition: Line.h:37
Definition: GeomUtils.h:18
std::optional< Segment > PathInCaloEnvelope(const Line &line, const CaloGeoParams &geoParams)
Computes the path of the given line in the CALO envelope.
Definition: GeomUtils.cpp:511
float CaloPathlengthAfterPoint(const Point &startingPoint, const Vec3D &direction, const CaloGeoParams &geoParams)
Computes the distance between a point inside CALO and the CALO border along a given direction.
Definition: GeomUtils.cpp:258
std::optional< Segment > PathInCaloLyso(const Line &line, const CaloGeoParams &geoParams)
Computes the path of the given line in LYSO.
Definition: GeomUtils.cpp:24
Data structure for the Calo geometry parameters.
Definition: CaloGeoParams.h:35
bool IsInsideCaloEnvelope(const Point &point, const CaloGeoParams &geoParams)
Checks if a point is inside the CALO envelope.
Definition: GeomUtils.cpp:133
Point ProjectPointToLine(const Point &point, const Line &line)
Finds the projection of a point to a line.
Definition: GeomUtils.cpp:19