LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "Seed.h"
Public Member Functions | |
Seed () | |
Seed (double *Pt, double *Dir, double *PtErr, double *DirErr) | |
void | GetDirection (double *Dir, double *Err) const |
void | GetPoint (double *Pt, double *Err) const |
double | GetLength () const |
void | Print () const |
void | SetDirection (double *Dir, double *Err) |
void | SetPoint (double *Pt, double *Err) |
double | GetAngle (Seed const &AnotherSeed) const |
double | GetProjDiscrepancy (Seed const &AnotherSeed) const |
double | GetProjAngleDiscrepancy (Seed const &AnotherSeed) const |
double | GetDistance (Seed const &AnotherSeed) const |
Seed | Reverse () |
void | GetVectorBetween (Seed const &AnotherSeed, double *xyz) const |
double | GetDistanceFrom (SpacePoint const &SomePoint) const |
int | GetPointingSign (Seed const &AnotherSeed) const |
Seed (double *Pt, double *Dir) | |
void | SetDirection (double *Dir) |
void | SetPoint (double *Pt) |
bool | IsValid () const |
void | SetValidity (bool Validity) |
Private Attributes | |
double | fSeedPoint [3] |
double | fSeedDirection [3] |
double | fSeedPointError [3] |
double | fSeedDirectionError [3] |
bool | fIsValid |
Friends | |
std::ostream & | operator<< (std::ostream &stream, Seed const &a) |
bool | operator< (const Seed &a, const Seed &b) |
recob::Seed::Seed | ( | ) |
recob::Seed::Seed | ( | double * | Pt, |
double * | Dir, | ||
double * | PtErr, | ||
double * | DirErr | ||
) |
Definition at line 45 of file Seed.cxx.
References fIsValid, fSeedDirection, fSeedDirectionError, fSeedPoint, and fSeedPointError.
recob::Seed::Seed | ( | double * | Pt, |
double * | Dir | ||
) |
Definition at line 32 of file Seed.cxx.
References fIsValid, fSeedDirection, fSeedDirectionError, fSeedPoint, and fSeedPointError.
double recob::Seed::GetAngle | ( | Seed const & | AnotherSeed | ) | const |
Definition at line 196 of file Seed.cxx.
References fSeedDirection, GetDirection(), and GetLength().
void recob::Seed::GetDirection | ( | double * | Dir, |
double * | Err | ||
) | const |
Definition at line 102 of file Seed.cxx.
References fSeedDirection, and fSeedDirectionError.
Referenced by trkf::SeedAna::analyze(), trkf::FeatureTracker::CheckSeedLineInt(), trkf::SeedFinderAlgorithm::ConsolidateSeed(), trkf::FeatureTracker::ExtendSeed(), trkf::SeedFinderAlgorithm::FindSeeds(), GetAngle(), trkf::BezierCurveHelper::GetBezierPointCubic(), trkf::BezierCurveHelper::GetBezierPointQuartic(), trkf::BezierCurveHelper::GetBezierPointsCubic(), trkf::BezierCurveHelper::GetBezierPointsQuartic(), trkf::SeedFinderAlgorithm::GetHitDistAndProj(), trkf::BezierTrackerAlgorithm::GetSeedDirProjected(), and trkf::Track3DKalmanHitAlg::makeSurface().
double recob::Seed::GetDistance | ( | Seed const & | AnotherSeed | ) | const |
Definition at line 243 of file Seed.cxx.
References fSeedPoint, and GetPoint().
Referenced by trkf::BezierTrackerAlgorithm::EvaluateOccupancy().
double recob::Seed::GetDistanceFrom | ( | recob::SpacePoint const & | SomePoint | ) | const |
Definition at line 257 of file Seed.cxx.
References recob::CrossProd(), fSeedDirection, fSeedPoint, and recob::SpacePoint::XYZ().
double recob::Seed::GetLength | ( | ) | const |
Definition at line 159 of file Seed.cxx.
References fSeedDirection.
Referenced by trkf::SeedFinderAlgorithm::FindSeeds(), and GetAngle().
void recob::Seed::GetPoint | ( | double * | Pt, |
double * | Err | ||
) | const |
Definition at line 112 of file Seed.cxx.
References fSeedPoint, and fSeedPointError.
Referenced by trkf::SeedAna::analyze(), trkf::FeatureTracker::CheckSeedLineInt(), trkf::SeedFinderAlgorithm::ConsolidateSeed(), trkf::FeatureTracker::ExtendSeed(), trkf::SeedFinderAlgorithm::FindSeeds(), trkf::BezierCurveHelper::GetBezierPointCubic(), trkf::BezierCurveHelper::GetBezierPointQuartic(), trkf::BezierCurveHelper::GetBezierPointsCubic(), trkf::BezierCurveHelper::GetBezierPointsQuartic(), trkf::BezierTrack::GetClosestApproach(), GetDistance(), trkf::SeedFinderAlgorithm::GetHitDistAndProj(), GetPointingSign(), GetProjAngleDiscrepancy(), GetProjDiscrepancy(), GetVectorBetween(), and trkf::Track3DKalmanHitAlg::makeSurface().
int recob::Seed::GetPointingSign | ( | Seed const & | AnotherSeed | ) | const |
Definition at line 322 of file Seed.cxx.
References tca::DotProd(), fSeedDirection, fSeedPoint, and GetPoint().
double recob::Seed::GetProjAngleDiscrepancy | ( | Seed const & | AnotherSeed | ) | const |
double recob::Seed::GetProjDiscrepancy | ( | Seed const & | AnotherSeed | ) | const |
void recob::Seed::GetVectorBetween | ( | Seed const & | AnotherSeed, |
double * | xyz | ||
) | const |
bool recob::Seed::IsValid | ( | ) | const |
Definition at line 74 of file Seed.cxx.
References fIsValid.
Referenced by trkf::SeedFinderAlgorithm::FindSeeds().
void recob::Seed::Print | ( | ) | const |
Seed recob::Seed::Reverse | ( | ) |
Definition at line 81 of file Seed.cxx.
References fSeedDirection, fSeedDirectionError, fSeedPoint, fSeedPointError, n, and Seed().
void recob::Seed::SetDirection | ( | double * | Dir, |
double * | Err | ||
) |
Definition at line 137 of file Seed.cxx.
References fIsValid, fSeedDirection, and fSeedDirectionError.
Referenced by trkf::SeedFinderAlgorithm::ConsolidateSeed(), trkf::FeatureTracker::ExtendSeed(), trkf::SeedFinderAlgorithm::FindSeeds(), and SetDirection().
void recob::Seed::SetDirection | ( | double * | Dir | ) |
void recob::Seed::SetPoint | ( | double * | Pt, |
double * | Err | ||
) |
Definition at line 148 of file Seed.cxx.
References fIsValid, fSeedPoint, and fSeedPointError.
Referenced by trkf::SeedFinderAlgorithm::ConsolidateSeed(), trkf::FeatureTracker::ExtendSeed(), trkf::SeedFinderAlgorithm::FindSeeds(), and SetPoint().
void recob::Seed::SetPoint | ( | double * | Pt | ) |
void recob::Seed::SetValidity | ( | bool | Validity | ) |
Definition at line 94 of file Seed.cxx.
References fIsValid.
Referenced by trkf::SeedFinderAlgorithm::ConsolidateSeed(), and trkf::SeedFinderAlgorithm::FindSeeds().
|
friend |
|
private |
Definition at line 31 of file Seed.h.
Referenced by IsValid(), Seed(), SetDirection(), SetPoint(), and SetValidity().
|
private |
Definition at line 28 of file Seed.h.
Referenced by GetAngle(), GetDirection(), GetDistanceFrom(), GetLength(), GetPointingSign(), GetProjAngleDiscrepancy(), GetProjDiscrepancy(), recob::operator<<(), Print(), Reverse(), Seed(), and SetDirection().
|
private |
Definition at line 30 of file Seed.h.
Referenced by GetDirection(), Reverse(), Seed(), and SetDirection().
|
private |
Definition at line 27 of file Seed.h.
Referenced by GetDistance(), GetDistanceFrom(), GetPoint(), GetPointingSign(), GetProjAngleDiscrepancy(), GetProjDiscrepancy(), GetVectorBetween(), recob::operator<(), recob::operator<<(), Print(), Reverse(), Seed(), and SetPoint().
|
private |
Definition at line 29 of file Seed.h.
Referenced by GetPoint(), Reverse(), Seed(), and SetPoint().