LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
recob::tracking Namespace Reference

Classes

class  Plane
 Class defining a plane for tracking. It provides various functionalities to convert track parameters and covariance matrices from global to local coordinates. More...
 
struct  TrajectoryPoint_t
 A point in the trajectory, with position and momentum. More...
 

Typedefs

using Coord_t = double
 Type used for coordinates and values in general. More...
 
using Point_t = geo::Point_t
 Type for representation of position in physical 3D space. More...
 
using Vector_t = geo::Vector_t
 Type for representation of momenta in 3D space. More...
 
using Positions_t = std::vector< Point_t >
 Type of trajectory point list. More...
 
using Momenta_t = std::vector< Vector_t >
 Type of momentum list. More...
 
using Rotation_t = ROOT::Math::Rotation3D
 Type for representation of space rotations. More...
 
using SMatrixSym22 = ROOT::Math::SMatrix< double, 2, 2, ROOT::Math::MatRepSym< double, 2 > >
 
using SMatrixSym33 = ROOT::Math::SMatrix< double, 3, 3, ROOT::Math::MatRepSym< double, 3 > >
 
using SMatrixSym55 = ROOT::Math::SMatrix< double, 5, 5, ROOT::Math::MatRepSym< double, 5 > >
 
using SMatrixSym66 = ROOT::Math::SMatrix< double, 6, 6, ROOT::Math::MatRepSym< double, 6 > >
 
using SMatrix65 = ROOT::Math::SMatrix< double, 6, 5 >
 
using SMatrix56 = ROOT::Math::SMatrix< double, 5, 6 >
 
using SMatrix55 = ROOT::Math::SMatrix< double, 5, 5 >
 
using SMatrix66 = ROOT::Math::SMatrix< double, 6, 6 >
 
using SVector6 = ROOT::Math::SVector< double, 6 >
 
using SVector5 = ROOT::Math::SVector< double, 5 >
 
using SVector3 = ROOT::Math::SVector< double, 3 >
 
using SVector2 = ROOT::Math::SVector< double, 2 >
 

Functions

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 the plane, the vector is orthogonal to the plane. More...
 
Plane makePlane (recob::Trajectory::TrajectoryPoint_t const &s)
 helper function to construct a recob::tracking::Plane from a recob::Trajectory::TrajectoryPoint_t. More...
 
Plane makePlane (trkf::SurfWireX const &s)
 helper function to construct a recob::tracking::Plane from a trkf::SurfWireX object. More...
 
Plane makePlane (geo::WireGeo const &wgeom)
 helper function to construct a recob::tracking::Plane from a geo::WireGeo object. The plane will contain the wire and the x axis, assumed to be the drift direction (to be generalized). More...
 

Typedef Documentation

using recob::tracking::Coord_t = typedef double

Type used for coordinates and values in general.

Definition at line 17 of file TrackingTypes.h.

using recob::tracking::Momenta_t = typedef std::vector<Vector_t>

Type of momentum list.

Definition at line 29 of file TrackingTypes.h.

Type for representation of position in physical 3D space.

Definition at line 20 of file TrackingTypes.h.

using recob::tracking::Positions_t = typedef std::vector<Point_t>

Type of trajectory point list.

Definition at line 26 of file TrackingTypes.h.

using recob::tracking::Rotation_t = typedef ROOT::Math::Rotation3D

Type for representation of space rotations.

Definition at line 32 of file TrackingTypes.h.

using recob::tracking::SMatrix55 = typedef ROOT::Math::SMatrix<double,5,5>

SMatrix and SVector

Definition at line 61 of file TrackingTypes.h.

using recob::tracking::SMatrix56 = typedef ROOT::Math::SMatrix<double,5,6>

SMatrix and SVector

Definition at line 60 of file TrackingTypes.h.

using recob::tracking::SMatrix65 = typedef ROOT::Math::SMatrix<double,6,5>

SMatrix and SVector

Definition at line 59 of file TrackingTypes.h.

using recob::tracking::SMatrix66 = typedef ROOT::Math::SMatrix<double,6,6>

SMatrix and SVector

Definition at line 62 of file TrackingTypes.h.

using recob::tracking::SMatrixSym22 = typedef ROOT::Math::SMatrix<double,2,2,ROOT::Math::MatRepSym<double,2> >

SMatrix and SVector

Definition at line 55 of file TrackingTypes.h.

using recob::tracking::SMatrixSym33 = typedef ROOT::Math::SMatrix<double,3,3,ROOT::Math::MatRepSym<double,3> >

SMatrix and SVector

Definition at line 56 of file TrackingTypes.h.

using recob::tracking::SMatrixSym55 = typedef ROOT::Math::SMatrix<double,5,5,ROOT::Math::MatRepSym<double,5> >

SMatrix and SVector

Definition at line 57 of file TrackingTypes.h.

using recob::tracking::SMatrixSym66 = typedef ROOT::Math::SMatrix<double,6,6,ROOT::Math::MatRepSym<double,6> >

SMatrix and SVector

Definition at line 58 of file TrackingTypes.h.

using recob::tracking::SVector2 = typedef ROOT::Math::SVector<double,2>

SMatrix and SVector

Definition at line 66 of file TrackingTypes.h.

using recob::tracking::SVector3 = typedef ROOT::Math::SVector<double,3>

SMatrix and SVector

Definition at line 65 of file TrackingTypes.h.

using recob::tracking::SVector5 = typedef ROOT::Math::SVector<double,5>

SMatrix and SVector

Definition at line 64 of file TrackingTypes.h.

using recob::tracking::SVector6 = typedef ROOT::Math::SVector<double,6>

SMatrix and SVector

Definition at line 63 of file TrackingTypes.h.

Type for representation of momenta in 3D space.

Definition at line 23 of file TrackingTypes.h.

Function Documentation

Plane recob::tracking::makePlane ( recob::tracking::Point_t const &  pos,
recob::tracking::Vector_t const &  dir 
)
inline

helper function to construct a recob::tracking::Plane from a Point_t and a Vector_t; the point is on the plane, the vector is orthogonal to the plane.

Definition at line 20 of file TrackingPlaneHelper.h.

Referenced by trkf::TrackKalmanFitter::setupInputStates().

20 { return Plane(pos, dir); }
TDirectory * dir
Definition: macro.C:5
recob::tracking::Plane Plane
Definition: TrackState.h:17
Plane recob::tracking::makePlane ( recob::Trajectory::TrajectoryPoint_t const &  s)
inline

helper function to construct a recob::tracking::Plane from a recob::Trajectory::TrajectoryPoint_t.

Definition at line 23 of file TrackingPlaneHelper.h.

References recob::tracking::TrajectoryPoint_t::direction(), and recob::tracking::TrajectoryPoint_t::position.

23 { return Plane(s.position, s.direction()); }
Float_t s
Definition: plot.C:23
recob::tracking::Plane Plane
Definition: TrackState.h:17
Plane recob::tracking::makePlane ( trkf::SurfWireX const &  s)
inline

helper function to construct a recob::tracking::Plane from a trkf::SurfWireX object.

Definition at line 26 of file TrackingPlaneHelper.h.

References trkf::SurfYZPlane::phi(), trkf::SurfYZPlane::x0(), trkf::SurfYZPlane::y0(), and trkf::SurfYZPlane::z0().

26 { return Plane(Point_t(s.x0(),s.y0(),s.z0()), Vector_t(0,-std::sin(s.phi()),std::cos(s.phi()))); }
Float_t s
Definition: plot.C:23
recob::tracking::Point_t Point_t
recob::tracking::Plane Plane
Definition: TrackState.h:17
recob::tracking::Vector_t Vector_t
Plane recob::tracking::makePlane ( geo::WireGeo const &  wgeom)
inline

helper function to construct a recob::tracking::Plane from a geo::WireGeo object. The plane will contain the wire and the x axis, assumed to be the drift direction (to be generalized).

Definition at line 29 of file TrackingPlaneHelper.h.

References geo::WireGeo::GetCenter(), and geo::WireGeo::ThetaZ().

29  {
30  double xyz[3] = {0.};
31  wgeom.GetCenter(xyz);
32  double phi = TMath::PiOver2() - wgeom.ThetaZ();
33  return Plane(Point_t(0.,xyz[1], xyz[2]), Vector_t(0,-std::sin(phi),std::cos(phi)));
34  }
recob::tracking::Point_t Point_t
recob::tracking::Plane Plane
Definition: TrackState.h:17
recob::tracking::Vector_t Vector_t