![]() |
LArSoft
v10_06_00
Liquid Argon Software toolkit - https://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 38 of file Seed.cxx.
References fIsValid, fSeedDirection, fSeedDirectionError, fSeedPoint, and fSeedPointError.
| recob::Seed::Seed | ( | double * | Pt, |
| double * | Dir | ||
| ) |
Definition at line 26 of file Seed.cxx.
References fIsValid, fSeedDirection, fSeedDirectionError, fSeedPoint, and fSeedPointError.
| double recob::Seed::GetAngle | ( | Seed const & | AnotherSeed | ) | const |
Definition at line 165 of file Seed.cxx.
References fSeedDirection, GetDirection(), and GetLength().
| void recob::Seed::GetDirection | ( | double * | Dir, |
| double * | Err | ||
| ) | const |
Definition at line 80 of file Seed.cxx.
References fSeedDirection, and fSeedDirectionError.
Referenced by trkf::SeedAna::analyze(), trkf::SeedFinderAlgorithm::ConsolidateSeed(), trkf::SeedFinderAlgorithm::FindSeeds(), GetAngle(), trkf::SeedFinderAlgorithm::GetHitDistAndProj(), trkf::Track3DKalmanHitAlg::makeSurface(), and TrackProducerFromPFParticle::produce().
| double recob::Seed::GetDistance | ( | Seed const & | AnotherSeed | ) | const |
| double recob::Seed::GetDistanceFrom | ( | recob::SpacePoint const & | SomePoint | ) | const |
Definition at line 222 of file Seed.cxx.
References recob::CrossProd(), fSeedDirection, fSeedPoint, and recob::SpacePoint::XYZ().
| double recob::Seed::GetLength | ( | ) | const |
Definition at line 132 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 89 of file Seed.cxx.
References fSeedPoint, and fSeedPointError.
Referenced by trkf::SeedAna::analyze(), trkf::SeedFinderAlgorithm::ConsolidateSeed(), trkf::SeedFinderAlgorithm::FindSeeds(), GetDistance(), trkf::SeedFinderAlgorithm::GetHitDistAndProj(), GetPointingSign(), GetProjAngleDiscrepancy(), GetProjDiscrepancy(), GetVectorBetween(), trkf::Track3DKalmanHitAlg::makeSurface(), and TrackProducerFromPFParticle::produce().
| int recob::Seed::GetPointingSign | ( | Seed const & | AnotherSeed | ) | const |
Definition at line 276 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 58 of file Seed.cxx.
References fIsValid.
Referenced by trkf::SeedFinderAlgorithm::FindSeeds().
| void recob::Seed::Print | ( | ) | const |
| Seed recob::Seed::Reverse | ( | ) |
Definition at line 64 of file Seed.cxx.
References fSeedDirection, fSeedDirectionError, fSeedPoint, fSeedPointError, n, and Seed().
| void recob::Seed::SetDirection | ( | double * | Dir, |
| double * | Err | ||
| ) |
Definition at line 112 of file Seed.cxx.
References fIsValid, fSeedDirection, and fSeedDirectionError.
Referenced by trkf::SeedFinderAlgorithm::ConsolidateSeed(), trkf::SeedFinderAlgorithm::FindSeeds(), and SetDirection().
| void recob::Seed::SetDirection | ( | double * | Dir | ) |
| void recob::Seed::SetPoint | ( | double * | Pt, |
| double * | Err | ||
| ) |
Definition at line 122 of file Seed.cxx.
References fIsValid, fSeedPoint, and fSeedPointError.
Referenced by trkf::SeedFinderAlgorithm::ConsolidateSeed(), trkf::SeedFinderAlgorithm::FindSeeds(), and SetPoint().
| void recob::Seed::SetPoint | ( | double * | Pt | ) |
| void recob::Seed::SetValidity | ( | bool | Validity | ) |
Definition at line 74 of file Seed.cxx.
References fIsValid.
Referenced by trkf::SeedFinderAlgorithm::ConsolidateSeed(), and trkf::SeedFinderAlgorithm::FindSeeds().
|
friend |
|
private |
Definition at line 30 of file Seed.h.
Referenced by IsValid(), Seed(), SetDirection(), SetPoint(), and SetValidity().
|
private |
Definition at line 27 of file Seed.h.
Referenced by GetAngle(), GetDirection(), GetDistanceFrom(), GetLength(), GetPointingSign(), GetProjAngleDiscrepancy(), GetProjDiscrepancy(), recob::operator<<(), Print(), Reverse(), Seed(), and SetDirection().
|
private |
Definition at line 29 of file Seed.h.
Referenced by GetDirection(), Reverse(), Seed(), and SetDirection().
|
private |
Definition at line 26 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 28 of file Seed.h.
Referenced by GetPoint(), Reverse(), Seed(), and SetPoint().