LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
Classes | |
class | bDistCenterLess2D |
class | bDistCenterLess3D |
class | bSegmentProjLess |
struct | bTrack3DLonger |
struct | bTrajectory3DDistLess |
struct | bTrajectory3DOrderLess |
class | Element3D |
class | Hit3D |
class | Node3D |
class | PMAlgCosmicTagger |
class | PMAlgFitter |
class | PMAlgStitching |
class | PMAlgTracker |
class | PMAlgTrackingBase |
class | PMAlgVertexing |
class | ProjectionMatchingAlg |
class | Segment3D |
class | SortedBranchBase |
class | SortedObjectBase |
class | Track3D |
class | TrkCandidate |
class | TrkCandidateColl |
class | VtxCandidate |
Typedefs | |
typedef std::map< unsigned int, std::vector< art::Ptr< recob::Hit > > > | view_hitmap |
typedef std::map< unsigned int, view_hitmap > | tpc_view_hitmap |
typedef std::map< unsigned int, tpc_view_hitmap > | cryo_tpc_view_hitmap |
typedef ROOT::Math::DisplacementVector2D< ROOT::Math::Cartesian2D< double > > | Vector2D |
typedef recob::tracking::Vector_t | Vector3D |
typedef std::map< size_t, std::vector< double > > | dedx_map |
typedef std::map< size_t, pma::TrkCandidateColl > | tpc_track_map |
Functions | |
double | Dist2 (const TVector2 &v1, const TVector2 &v2) |
double | Dist2 (const Vector2D &v1, const Vector2D &v2) |
template<typename T , typename U > | |
double | Dist2 (const T &v1, const U &v2) |
size_t | GetHitsCount (const std::vector< pma::Hit3D * > &hits, unsigned int view) |
double | GetSummedADC (const std::vector< pma::Hit3D * > &hits, unsigned int view=geo::kUnknown) |
double | GetSummedAmpl (const std::vector< pma::Hit3D * > &hits, unsigned int view=geo::kUnknown) |
double | GetHitsRadius3D (const std::vector< pma::Hit3D * > &hits, bool exact=false) |
double | GetHitsRadius2D (const std::vector< pma::Hit3D * > &hits, bool exact=false) |
double | GetSegmentProjVector (const TVector2 &p, const TVector2 &p0, const TVector2 &p1) |
double | GetSegmentProjVector (const Vector2D &p, const Vector2D &p0, const Vector2D &p1) |
double | GetSegmentProjVector (const TVector3 &p, const TVector3 &p0, const TVector3 &p1) |
double | GetSegmentProjVector (const Vector3D &p, const Vector3D &p0, const Vector3D &p1) |
TVector2 | GetProjectionToSegment (const TVector2 &p, const TVector2 &p0, const TVector2 &p1) |
TVector3 | GetProjectionToSegment (const TVector3 &p, const TVector3 &p0, const TVector3 &p1) |
double | SolveLeastSquares3D (const std::vector< std::pair< TVector3, TVector3 > > &lines, TVector3 &result) |
TVector2 | GetProjectionToPlane (const TVector3 &p, unsigned int plane, unsigned int tpc, unsigned int cryo) |
TVector2 | GetVectorProjectionToPlane (const TVector3 &v, unsigned int plane, unsigned int tpc, unsigned int cryo) |
TVector2 | WireDriftToCm (unsigned int wire, float drift, unsigned int plane, unsigned int tpc, unsigned int cryo) |
TVector2 | CmToWireDrift (float xw, float yd, unsigned int plane, unsigned int tpc, unsigned int cryo) |
recob::Track | convertFrom (const pma::Track3D &src, unsigned int tidx, int pdg=0) |
typedef std::map< unsigned int, tpc_view_hitmap > pma::cryo_tpc_view_hitmap |
Definition at line 22 of file PmaTrkCandidate.h.
typedef std::map< size_t, std::vector<double> > pma::dedx_map |
Definition at line 31 of file Utilities.h.
typedef std::map< size_t, pma::TrkCandidateColl > pma::tpc_track_map |
Definition at line 46 of file PMAlgTracking.h.
typedef std::map< unsigned int, view_hitmap > pma::tpc_view_hitmap |
Definition at line 21 of file PmaTrkCandidate.h.
typedef ROOT::Math::DisplacementVector2D< ROOT::Math::Cartesian2D<double> > pma::Vector2D |
Definition at line 28 of file Utilities.h.
Definition at line 29 of file Utilities.h.
typedef std::map< unsigned int, std::vector< art::Ptr<recob::Hit> > > pma::view_hitmap |
Definition at line 20 of file PmaTrkCandidate.h.
TVector2 pma::CmToWireDrift | ( | float | xw, |
float | yd, | ||
unsigned int | plane, | ||
unsigned int | tpc, | ||
unsigned int | cryo | ||
) |
Definition at line 307 of file Utilities.cxx.
References detinfo::DetectorProperties::ConvertXToTicks(), geo::TPCGeo::Plane(), geo::GeometryCore::TPC(), and geo::PlaneGeo::WirePitch().
Referenced by Dist2(), pma::Track3D::DriftsOfWireIntersection(), and pma::Track3D::WireDriftRange().
recob::Track pma::convertFrom | ( | const pma::Track3D & | src, |
unsigned int | tidx, | ||
int | pdg = 0 |
||
) |
Definition at line 21 of file PMAlgTracking.cxx.
References pma::Track3D::GetDirection3D(), recob::TrajectoryPointFlags::makeMask(), and pma::Track3D::size().
Referenced by trkf::PMAlgTrajFitter::produce(), and trkf::PMAlgTrackMaker::produce().
double pma::Dist2 | ( | const TVector2 & | v1, |
const TVector2 & | v2 | ||
) |
Definition at line 19 of file Utilities.cxx.
Referenced by pma::ProjectionMatchingAlg::alignTracks(), ems::MultiEMShowers::analyze(), pma::PMAlgTracker::areCoLinear(), pma::Track3D::AttachTo(), pma::ProjectionMatchingAlg::buildMultiTPCTrack(), tss::Segmentation2D::buildSegment(), pma::ProjectionMatchingAlg::buildSegment(), tss::Cluster2D::closest(), ems::MergeEMShower3D::collectshowers(), pma::PMAlgTracker::collectSingleViewEnd(), pma::PMAlgTracker::collectSingleViewFront(), ems::DirOfGamma::ComputeMaxDist(), tss::Cluster2D::dist2(), pma::ProjectionMatchingAlg::FilterOutSmallParts(), ems::DirOfGamma::FindCandidates(), ems::DirOfGamma::FindInitialPart(), ems::MergeEMShower3D::getBestPoint(), ems::EMShower3D::GetCloseHits(), pma::ProjectionMatchingAlg::GetCloseHits(), ems::MergeEMShower3D::getCos3D(), pma::Hit3D::GetDist2ToProj(), pma::Node3D::GetDistance2To(), GetHitsRadius2D(), GetHitsRadius3D(), ems::Bin2D::GetIniHits(), ems::MultiEMShowers::getMinDist(), pma::Track3D::HitDxByView(), pma::Element3D::HitsRadius3D(), pma::Track3D::InitFromHits(), pma::VtxCandidate::JoinTracks(), pma::Track3D::Length(), tss::Cluster2D::length2(), pma::Segment3D::Length2(), pma::PMAlgVertexing::makeVertices(), pma::PMAlgTracker::mergeCoLinear(), tss::Segmentation2D::mergeDenseParts(), pma::ProjectionMatchingAlg::mergeTracks(), pma::VtxCandidate::MergeWith(), tss::bDistToPointLess::operator()(), pma::bTrack3DLonger::operator()(), pma::bDistCenterLess2D::operator()(), pma::bDistCenterLess3D::operator()(), tss::Cluster2D::outermost(), ems::MergeEMShower3D::produce(), ems::EMShower3D::Reoptimize(), tss::Segmentation2D::run(), tss::Segmentation2D::selectRing(), ems::ShowerInfo::SetP0Dist(), pma::ProjectionMatchingAlg::ShortenSeg(), tss::Segmentation2D::splitHitsNaive(), pma::Node3D::SumDist2Hits(), tss::Segmentation2D::tagDenseEnds(), pma::ProjectionMatchingAlg::TestTrk(), ems::EMShower3D::Validate(), pma::ProjectionMatchingAlg::validate(), and pma::ProjectionMatchingAlg::validate_on_adc_test().
Definition at line 24 of file Utilities.cxx.
double pma::Dist2 | ( | const T & | v1, |
const U & | v2 | ||
) |
Definition at line 45 of file Utilities.h.
References CmToWireDrift(), GetHitsCount(), GetHitsRadius2D(), GetHitsRadius3D(), GetProjectionToPlane(), GetProjectionToSegment(), GetSegmentProjVector(), GetSummedADC(), GetSummedAmpl(), GetVectorProjectionToPlane(), hits(), geo::kUnknown, SolveLeastSquares3D(), lar::dump::vector(), and WireDriftToCm().
size_t pma::GetHitsCount | ( | const std::vector< pma::Hit3D * > & | hits, |
unsigned int | view | ||
) |
Definition at line 30 of file Utilities.cxx.
References geo::kUnknown, and n.
Referenced by Dist2().
double pma::GetHitsRadius2D | ( | const std::vector< pma::Hit3D * > & | hits, |
bool | exact = false |
||
) |
Definition at line 78 of file Utilities.cxx.
References Dist2(), and pmtana::mean().
Referenced by Dist2(), pma::Element3D::UpdateHitParams(), and pma::Track3D::UpdateHitsRadius().
double pma::GetHitsRadius3D | ( | const std::vector< pma::Hit3D * > & | hits, |
bool | exact = false |
||
) |
Definition at line 56 of file Utilities.cxx.
References Dist2(), and pmtana::mean().
Referenced by Dist2().
TVector2 pma::GetProjectionToPlane | ( | const TVector3 & | p, |
unsigned int | plane, | ||
unsigned int | tpc, | ||
unsigned int | cryo | ||
) |
Definition at line 280 of file Utilities.cxx.
References geo::TPCGeo::Plane(), geo::PlaneGeo::PlaneCoordinate(), and geo::GeometryCore::TPC().
Referenced by pma::ProjectionMatchingAlg::buildShowerSeg(), pma::VtxCandidate::ComputeMse2D(), Dist2(), ems::MultiEMShowers::getMinDist(), GetVectorProjectionToPlane(), and ems::EMShower3D::Validate().
TVector2 pma::GetProjectionToSegment | ( | const TVector2 & | p, |
const TVector2 & | p0, | ||
const TVector2 & | p1 | ||
) |
Definition at line 156 of file Utilities.cxx.
References GetSegmentProjVector().
Referenced by pma::PMAlgTracker::areCoLinear(), tss::Segmentation2D::buildSegment(), ems::MergeEMShower3D::collectshowers(), pma::VtxCandidate::Compute(), Dist2(), pma::VtxCandidate::JoinTracks(), ems::ShowerInfo::Pointsto(), and SolveLeastSquares3D().
TVector3 pma::GetProjectionToSegment | ( | const TVector3 & | p, |
const TVector3 & | p0, | ||
const TVector3 & | p1 | ||
) |
Definition at line 166 of file Utilities.cxx.
References GetSegmentProjVector().
double pma::GetSegmentProjVector | ( | const TVector2 & | p, |
const TVector2 & | p0, | ||
const TVector2 & | p1 | ||
) |
Definition at line 100 of file Utilities.cxx.
Referenced by Dist2(), GetProjectionToSegment(), pma::VtxCandidate::JoinTracks(), pma::bSegmentProjLess::operator()(), pma::ProjectionMatchingAlg::validate(), pma::ProjectionMatchingAlg::validate_on_adc(), and pma::ProjectionMatchingAlg::validate_on_adc_test().
Definition at line 114 of file Utilities.cxx.
double pma::GetSegmentProjVector | ( | const TVector3 & | p, |
const TVector3 & | p0, | ||
const TVector3 & | p1 | ||
) |
Definition at line 128 of file Utilities.cxx.
Definition at line 142 of file Utilities.cxx.
double pma::GetSummedADC | ( | const std::vector< pma::Hit3D * > & | hits, |
unsigned int | view = geo::kUnknown |
||
) |
double pma::GetSummedAmpl | ( | const std::vector< pma::Hit3D * > & | hits, |
unsigned int | view = geo::kUnknown |
||
) |
TVector2 pma::GetVectorProjectionToPlane | ( | const TVector3 & | v, |
unsigned int | plane, | ||
unsigned int | tpc, | ||
unsigned int | cryo | ||
) |
Definition at line 287 of file Utilities.cxx.
References GetProjectionToPlane().
Referenced by Dist2().
double pma::SolveLeastSquares3D | ( | const std::vector< std::pair< TVector3, TVector3 > > & | lines, |
TVector3 & | result | ||
) |
Definition at line 176 of file Utilities.cxx.
References dir, GetProjectionToSegment(), w, x, and y.
Referenced by ems::MultiEMShowers::analyze(), ems::MergeEMShower3D::collectshowers(), pma::VtxCandidate::Compute(), Dist2(), and ems::ShowerInfo::Pointsto().
TVector2 pma::WireDriftToCm | ( | unsigned int | wire, |
float | drift, | ||
unsigned int | plane, | ||
unsigned int | tpc, | ||
unsigned int | cryo | ||
) |
Definition at line 296 of file Utilities.cxx.
References detinfo::DetectorProperties::ConvertTicksToX(), geo::TPCGeo::Plane(), geo::GeometryCore::TPC(), and geo::PlaneGeo::WirePitch().
Referenced by Dist2(), pma::ProjectionMatchingAlg::FilterOutSmallParts(), ems::EMShower3D::GetCloseHits(), ems::MultiEMShowers::getMinDist(), pma::Track3D::GetUnconstrainedProj3D(), tss::Hit2D::Hit2D(), pma::Hit3D::Hit3D(), pma::Track3D::TestHitsMse(), and pma::ProjectionMatchingAlg::validate().