LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
lar_cluster3d Namespace Reference

Classes

class  AccumulatorValues
 
class  Cluster3D
 Definition of the Cluster3D class. More...
 
class  ClusterMergeAlg
 
class  ClusterParamsBuilder
 ClusterParamsBuilder class definiton. More...
 
class  ClusterPathFinder
 
class  ConvexHull
 ConvexHull class definiton. More...
 
class  ConvexHullPathFinder
 
class  CopyIfInRange
 
class  DBScanAlg
 DBScanAlg class definiton. More...
 
struct  Hit2DSetCompare
 What follows are several highly useful typedefs which we want to expose to the outside world. More...
 
struct  Hit3DDistanceOrder
 
struct  Hit3DSetCompare
 
struct  HitPairClusterOrder
 
class  HoughSeedFinderAlg
 HoughSeedFinderAlg class. More...
 
class  IClusterAlg
 IClusterAlg interface class definiton. More...
 
class  IClusterModAlg
 IClusterModAlg interface class definiton. More...
 
class  IClusterParametersBuilder
 ClusterParamsBuilder class definiton. More...
 
class  IHit3DBuilder
 IHit3DBuilder interface class definiton. More...
 
class  kdTree
 kdTree class definiton More...
 
class  MinSpanTreeAlg
 
class  MSTPathFinder
 
struct  OrderBestPlanes
 
class  OrderHitsAlongWire
 
class  ParallelHitsSeedFinderAlg
 ParallelHitsSeedFinderAlg class. More...
 
class  PCASeedFinderAlg
 PCASeedFinderAlg class. More...
 
class  PrincipalComponentsAlg
 Cluster3D class. More...
 
class  SeedFinderAlgBase
 SeedFinderAlgBase class. More...
 
class  SetCheckHitOrder
 
struct  SetStartTimeOrder
 
class  SkeletonAlg
 Cluster3D class. More...
 
class  SnippetHit3DBuilder
 SnippetHit3DBuilder class definiton. More...
 
struct  Sort3DHitsByAbsArcLen3D
 
struct  Sort3DHitsByArcLen3D
 
struct  Sort3DHitsByDocaToAxis
 
class  SpacePointHit3DBuilder
 SpacePointHit3DBuilder class definiton. More...
 
class  StandardHit3DBuilder
 StandardHit3DBuilder class definiton. More...
 
class  VoronoiPathFinder
 

Typedefs

using Hit3DToSPPtrMap = std::unordered_map< const reco::ClusterHit3D *, art::Ptr< recob::SpacePoint >>
 
using RecobHitVector = art::PtrVector< recob::Hit >
 
using RecobSpacePointVector = art::PtrVector< recob::SpacePoint >
 
typedef std::vector< AccumulatorValuesAccumulatorValuesVec
 
typedef std::pair< recob::Seed, reco::HitPairListPtrSeedHitPairListPair
 
typedef std::vector< SeedHitPairListPairSeedHitPairListPairVec
 
using HitVector = std::vector< const reco::ClusterHit2D * >
 
using HitStartEndPair = std::pair< raw::TDCtick_t, raw::TDCtick_t >
 
using SnippetHitMap = std::map< HitStartEndPair, HitVector >
 
using PlaneToSnippetHitMap = std::map< geo::PlaneID, SnippetHitMap >
 
using TPCToPlaneToSnippetHitMap = std::map< geo::TPCID, PlaneToSnippetHitMap >
 
using Hit2DList = std::list< reco::ClusterHit2D >
 
using Hit2DSet = std::set< const reco::ClusterHit2D *, Hit2DSetCompare >
 
using WireToHitSetMap = std::map< unsigned int, Hit2DSet >
 
using PlaneToWireToHitSetMap = std::map< geo::PlaneID, WireToHitSetMap >
 
using TPCToPlaneToWireToHitSetMap = std::map< geo::TPCID, PlaneToWireToHitSetMap >
 
using HitVectorMap = std::map< size_t, HitVector >
 
using SnippetHitMapItrPair = std::pair< SnippetHitMap::iterator, SnippetHitMap::iterator >
 
using PlaneSnippetHitMapItrPairVec = std::vector< SnippetHitMapItrPair >
 
using PlaneToHitVectorMap = std::map< geo::PlaneID, HitVector >
 
using TPCToPlaneToHitVectorMap = std::map< geo::TPCID, PlaneToHitVectorMap >
 

Functions

bool Hit3DCompare (const reco::ClusterHit3D *left, const reco::ClusterHit3D *right)
 
bool SetPeakHitPairIteratorOrder (const reco::HitPairList::iterator &left, const reco::HitPairList::iterator &right)
 
bool SetPairStartTimeOrder (const reco::ClusterHit3D &left, const reco::ClusterHit3D &right)
 
bool SetHitTimeOrder (const reco::ClusterHit2D *left, const reco::ClusterHit2D *right)
 

Typedef Documentation

Definition at line 98 of file HoughSeedFinderAlg.cxx.

Definition at line 68 of file SnippetHit3DBuilder_tool.cc.

Definition at line 69 of file SnippetHit3DBuilder_tool.cc.

using lar_cluster3d::Hit3DToSPPtrMap = typedef std::unordered_map<const reco::ClusterHit3D*, art::Ptr<recob::SpacePoint>>

Definition at line 99 of file Cluster3D_module.cc.

Definition at line 64 of file SnippetHit3DBuilder_tool.cc.

typedef std::vector< const reco::ClusterHit2D * > lar_cluster3d::HitVector

Definition at line 63 of file SnippetHit3DBuilder_tool.cc.

typedef std::map< size_t, HitVector > lar_cluster3d::HitVectorMap

Definition at line 73 of file SnippetHit3DBuilder_tool.cc.

Definition at line 75 of file SnippetHit3DBuilder_tool.cc.

Definition at line 63 of file StandardHit3DBuilder_tool.cc.

Definition at line 66 of file SnippetHit3DBuilder_tool.cc.

Definition at line 100 of file Cluster3D_module.cc.

Definition at line 22 of file SeedFinderAlgBase.h.

Definition at line 65 of file SnippetHit3DBuilder_tool.cc.

typedef std::map< unsigned int, Hit2DSet > lar_cluster3d::WireToHitSetMap

Definition at line 70 of file SnippetHit3DBuilder_tool.cc.

Function Documentation

bool lar_cluster3d::Hit3DCompare ( const reco::ClusterHit3D left,
const reco::ClusterHit3D right 
)

Definition at line 248 of file HoughSeedFinderAlg.cxx.

References art::right().

Referenced by lar_cluster3d::Hit3DSetCompare::operator()().

249  {
250  return *left < *right;
251  }
constexpr auto const & right(const_AssnsIter< L, R, D, Dir > const &a, const_AssnsIter< L, R, D, Dir > const &b)
Definition: AssnsIter.h:102
bool lar_cluster3d::SetHitTimeOrder ( const reco::ClusterHit2D left,
const reco::ClusterHit2D right 
)

Definition at line 1574 of file SnippetHit3DBuilder_tool.cc.

References reco::ClusterHit2D::getHit(), and recob::Hit::PeakTime().

Referenced by lar_cluster3d::StandardHit3DBuilder::CollectArtHits(), and lar_cluster3d::StandardHit3DBuilder::DistanceFromPointToHitWire().

1575  {
1576  // Sort by "modified start time" of pulse
1577  return left->getHit()->PeakTime() < right->getHit()->PeakTime();
1578  }
const recob::Hit * getHit() const
Definition: Cluster3D.h:77
float PeakTime() const
Time of the signal peak, in tick units.
Definition: Hit.h:220
bool lar_cluster3d::SetPairStartTimeOrder ( const reco::ClusterHit3D left,
const reco::ClusterHit3D right 
)

Definition at line 539 of file SnippetHit3DBuilder_tool.cc.

References reco::ClusterHit3D::getAvePeakTime(), and reco::ClusterHit3D::getSigmaPeakTime().

Referenced by lar_cluster3d::StandardHit3DBuilder::BuildHitPairMap(), and lar_cluster3d::SnippetHit3DBuilder::BuildHitPairMap().

540  {
541  // Sort by "modified start time" of pulse
542  return left.getAvePeakTime() - left.getSigmaPeakTime() <
543  right.getAvePeakTime() - right.getSigmaPeakTime();
544  }
float getSigmaPeakTime() const
Definition: Cluster3D.h:162
float getAvePeakTime() const
Definition: Cluster3D.h:160
bool lar_cluster3d::SetPeakHitPairIteratorOrder ( const reco::HitPairList::iterator left,
const reco::HitPairList::iterator right 
)

Definition at line 429 of file SnippetHit3DBuilder_tool.cc.

Referenced by lar_cluster3d::StandardHit3DBuilder::BuildChannelStatusVec().

431  {
432  return (*left).getAvePeakTime() < (*right).getAvePeakTime();
433  }