LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "KHitContainerWireLine.h"
Public Member Functions | |
virtual void | fill (detinfo::DetectorPropertiesData const &clock_data, const art::PtrVector< recob::Hit > &hits, int only_plane)=0 |
const std::list< KHitGroup > & | getSorted () const |
std::list< KHitGroup > & | getSorted () |
Sorted list. More... | |
const std::list< KHitGroup > & | getUnsorted () const |
std::list< KHitGroup > & | getUnsorted () |
Unsorted list. More... | |
const std::list< KHitGroup > & | getUnused () const |
std::list< KHitGroup > & | getUnused () |
Unused list. More... | |
void | clear () |
Clear all lists. More... | |
void | reset () |
Move all objects to unsorted list (from sorted and unused lists). More... | |
void | sort (const KTrack &trk, bool addUnsorted, const Propagator &prop, Propagator::PropDirection dir=Propagator::UNKNOWN) |
(Re)sort objects in unsorted and sorted lists. More... | |
unsigned int | getPreferredPlane () const |
Return the plane with the most KHitGroups in the unsorted list. More... | |
Private Member Functions | |
void | fill (const detinfo::DetectorPropertiesData &detProp, const art::PtrVector< recob::Hit > &hits, int only_plane) override |
Definition at line 25 of file KHitContainerWireLine.h.
|
inherited |
Clear all lists.
Definition at line 20 of file KHitContainer.cxx.
References trkf::KHitContainer::fSorted, trkf::KHitContainer::fUnsorted, and trkf::KHitContainer::fUnused.
|
overrideprivate |
Fill container.
Arguments:
hits - RecoBase/Hit collection. only_plane - Choose hits from this plane if >= 0.
This method converts the hits in the input collection into KHitWireLine objects and inserts them into the base class.
Definition at line 31 of file KHitContainerWireLine.cxx.
References trkf::KHitGroup::addHit(), art::PtrVector< T >::begin(), recob::Hit::Channel(), art::PtrVector< T >::end(), trkf::KHitGroup::getSurface(), trkf::KHitContainer::getUnsorted(), geo::PlaneID::Plane, and recob::Hit::WireID().
|
pure virtualinherited |
|
inherited |
Return the plane with the most KHitGroups in the unsorted list.
Definition at line 94 of file KHitContainer.cxx.
References trkf::KHitContainer::fUnsorted, and trkf::KHitGroup::getPlane().
|
inlineinherited |
Definition at line 69 of file KHitContainer.h.
Referenced by trkf::KalmanFilterAlg::buildTrack(), and trkf::KalmanFilterAlg::extendTrack().
|
inlineinherited |
Sorted list.
Definition at line 75 of file KHitContainer.h.
|
inlineinherited |
Definition at line 70 of file KHitContainer.h.
Referenced by trkf::KalmanFilterAlg::buildTrack(), trkf::KalmanFilterAlg::extendTrack(), fill(), and trkf::KHitContainerWireX::fill().
|
inlineinherited |
Unsorted list.
Definition at line 76 of file KHitContainer.h.
|
inlineinherited |
Definition at line 71 of file KHitContainer.h.
Referenced by trkf::KalmanFilterAlg::buildTrack(), and trkf::KalmanFilterAlg::extendTrack().
|
inlineinherited |
Unused list.
Definition at line 77 of file KHitContainer.h.
References clear(), dir, and lar_content::UNKNOWN.
|
inherited |
Move all objects to unsorted list (from sorted and unused lists).
Definition at line 28 of file KHitContainer.cxx.
References trkf::KHitContainer::fSorted, trkf::KHitContainer::fUnsorted, and trkf::KHitContainer::fUnused.
|
inherited |
(Re)sort objects in unsorted and sorted lists.
(Re)sort objects in unsorted and sorted lists.
Arguments:
trk - Track to be propagated. addUnsorted - If true, include unsorted objects in sort. prop - Propagator. dir - Propagation direction.
Definition at line 43 of file KHitContainer.cxx.
References larg4::dist(), trkf::KHitContainer::fSorted, trkf::KHitContainer::fUnsorted, trkf::KHitGroup::getSurface(), trkf::KHitGroup::setPath(), and trkf::Propagator::vec_prop().
Referenced by trkf::KalmanFilterAlg::buildTrack(), and trkf::KalmanFilterAlg::extendTrack().