|
LDMX Software
|
Class that propagates tracks to the ECAL face. More...
#include "Tracking/Event/Track.h"#include <cmath>#include "Math/Vector3D.h"Go to the source code of this file.
Functions | |
| std::vector< float > | ecal::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 | ecal::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,v2) (and similarly for w). | |
| float | ecal::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. | |
Class that propagates tracks to the ECAL face.
Definition in file EcalHelper.h.
| float ecal::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.
| [in] | h1 | Point to find the distance to |
| [in] | p1 | An arbitrary point on the line |
| [in] | p2 | A second, distinct point on the line |
Definition at line 81 of file EcalHelper.cxx.
References ecal::distPtToLine().
Referenced by ecal::distPtToLine(), and ecal::EcalMipTrackingProcessor::produce().
| float ecal::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,v2) (and similarly for w).
| [in] | v1 | An arbitrary point on line v |
| [in] | v2 | A second, distinct point on line v |
| [in] | w1 | An arbitrary point on line w |
| [in] | w2 | A second, distinct point on line w |
Definition at line 68 of file EcalHelper.cxx.
References ecal::distTwoLines().
Referenced by ecal::distTwoLines(), and ecal::EcalMipTrackingProcessor::produce().
| std::vector< float > ecal::trackProp | ( | const ldmx::Tracks & | tracks, |
| ldmx::TrackStateType | ts_type, | ||
| const std::string & | ts_title ) |
Return a vector of parameters for a propagated recoil track.
| [in] | tracks | The track collection |
| [in] | ts_type | The track state type, i.e. tracks state at the ECAL face |
| [in] | ts_title | The track state title, most likely "ecal" |
Definition at line 5 of file EcalHelper.cxx.
References ecal::trackProp().
Referenced by ecal::EcalPnetVetoProcessor::produce(), ecal::EcalVetoProcessor::produce(), and ecal::trackProp().