LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "KHitContainerWireLine.h"
Public Member Functions | |
KHitContainerWireLine () | |
Default constructor. More... | |
virtual | ~KHitContainerWireLine () |
Destructor. More... | |
void | fill (const art::PtrVector< recob::Hit > &hits, int only_plane) override |
Fill container. More... | |
const std::list< KHitGroup > & | getSorted () const |
Sorted list. More... | |
std::list< KHitGroup > & | getSorted () |
Sorted list. More... | |
const std::list< KHitGroup > & | getUnsorted () const |
Unsorted list. More... | |
std::list< KHitGroup > & | getUnsorted () |
Unsorted list. More... | |
const std::list< KHitGroup > & | getUnused () const |
Unused list. More... | |
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... | |
Definition at line 25 of file KHitContainerWireLine.h.
trkf::KHitContainerWireLine::KHitContainerWireLine | ( | ) |
|
virtual |
|
inherited |
Clear all lists.
Definition at line 29 of file KHitContainer.cxx.
References trkf::KHitContainer::fSorted, trkf::KHitContainer::fUnsorted, and trkf::KHitContainer::fUnused.
Referenced by trkf::KHitContainer::getUnused().
|
overridevirtual |
Fill container.
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.
Implements trkf::KHitContainer.
Definition at line 40 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().
|
inherited |
Return the plane with the most KHitGroups in the unsorted list.
Definition at line 107 of file KHitContainer.cxx.
References trkf::KHitContainer::fUnsorted, and trkf::KHitGroup::getPlane().
Referenced by trkf::KHitContainer::getUnused().
|
inlineinherited |
Sorted list.
Definition at line 71 of file KHitContainer.h.
References trkf::KHitContainer::fSorted.
Referenced by trkf::KalmanFilterAlg::buildTrack(), and trkf::KalmanFilterAlg::extendTrack().
|
inlineinherited |
Sorted list.
Definition at line 77 of file KHitContainer.h.
References trkf::KHitContainer::fSorted.
|
inlineinherited |
Unsorted list.
Definition at line 72 of file KHitContainer.h.
References trkf::KHitContainer::fUnsorted.
Referenced by trkf::KalmanFilterAlg::buildTrack(), trkf::KalmanFilterAlg::extendTrack(), fill(), and trkf::KHitContainerWireX::fill().
|
inlineinherited |
Unsorted list.
Definition at line 78 of file KHitContainer.h.
References trkf::KHitContainer::fUnsorted.
|
inlineinherited |
Unused list.
Definition at line 73 of file KHitContainer.h.
References trkf::KHitContainer::fUnused.
Referenced by trkf::KalmanFilterAlg::buildTrack(), and trkf::KalmanFilterAlg::extendTrack().
|
inlineinherited |
Unused list.
Definition at line 79 of file KHitContainer.h.
References trkf::KHitContainer::clear(), dir, trkf::KHitContainer::fUnused, trkf::KHitContainer::getPreferredPlane(), trkf::KHitContainer::reset(), trkf::KHitContainer::sort(), and trkf::Propagator::UNKNOWN.
|
inherited |
Move all objects to unsorted list (from sorted and unused lists).
Definition at line 37 of file KHitContainer.cxx.
References trkf::KHitContainer::fSorted, trkf::KHitContainer::fUnsorted, and trkf::KHitContainer::fUnused.
Referenced by trkf::KHitContainer::getUnused().
|
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 52 of file KHitContainer.cxx.
References trkf::KHitContainer::fSorted, trkf::KHitContainer::fUnsorted, trkf::KHitGroup::getSurface(), trkf::KHitGroup::setPath(), and trkf::Propagator::vec_prop().
Referenced by trkf::KalmanFilterAlg::buildTrack(), trkf::KalmanFilterAlg::extendTrack(), and trkf::KHitContainer::getUnused().