8#ifndef ECAL_TRACKPROPAGATOR_H_
9#define ECAL_TRACKPROPAGATOR_H_
12#include "Tracking/Event/Track.h"
18#include "Math/Vector3D.h"
30std::vector<float>
trackProp(
const ldmx::Tracks& tracks,
31 ldmx::TrackStateType ts_type,
32 const std::string& ts_title);
45float distTwoLines(ROOT::Math::XYZVector v1, ROOT::Math::XYZVector v2,
46 ROOT::Math::XYZVector w1, ROOT::Math::XYZVector w2);
56float distPtToLine(ROOT::Math::XYZVector h1, ROOT::Math::XYZVector p1,
57 ROOT::Math::XYZVector p2);
std::vector< float > trackProp(const ldmx::Tracks &tracks, ldmx::TrackStateType ts_type, const std::string &ts_title)
Return a vector of parameters for a propagated recoil track.
float distPtToLine(ROOT::Math::XYZVector h1, ROOT::Math::XYZVector p1, ROOT::Math::XYZVector p2)
Return the minimum distance between the point h1 and the line passing through points p1 and p2.
float distTwoLines(ROOT::Math::XYZVector v1, ROOT::Math::XYZVector v2, ROOT::Math::XYZVector w1, ROOT::Math::XYZVector w2)
Returns the distance between the lines v and w, with v defined to pass through the points (v1,...