1 #ifndef TRACKINGPLANEHELPER_H 2 #define TRACKINGPLANEHELPER_H 21 return Plane(pos, dir);
42 double const phi = TMath::PiOver2() - wgeom.
ThetaZ();
43 return Plane{xyz,
Vector_t{0, -std::sin(phi), std::cos(phi)}};
Geometry description of a TPC wireThe wire is a single straight segment on a wire plane...
Data product for reconstructed trajectory in space.
Point_t const & GetCenter() const
Returns the world coordinate of the center of the wire [cm].
A point in the trajectory, with position and momentum.
double z0() const
Z origin.
double x0() const
X origin.
double ThetaZ() const
Returns angle of wire with respect to z axis in the Y-Z plane in radians.
double y0() const
Y origin.
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< Coord_t >, ROOT::Math::GlobalCoordinateSystemTag > Vector_t
Type for representation of momenta in 3D space. See recob::tracking::Coord_t for more details on the ...
Plane makePlane(recob::tracking::Point_t const &pos, recob::tracking::Vector_t const &dir)
helper function to construct a recob::tracking::Plane from a Point_t and a Vector_t; the point is on ...
Class defining a plane for tracking. It provides various functionalities to convert track parameters ...
Encapsulate the geometry of a wire.
Vector_t direction() const
Returns the direction of the trajectory (unit vector of the momentum).
double phi() const
Rotation angle about x-axis.
recob::tracking::Plane Plane
ROOT::Math::PositionVector3D< ROOT::Math::Cartesian3D< Coord_t >, ROOT::Math::GlobalCoordinateSystemTag > Point_t
Type for representation of position in physical 3D space. See recob::tracking::Coord_t for more detai...
Planar surface defined by wire id and x-axis.
Point_t position
position in the trajectory [cm].