#include <KHitContainerWireX.h>
Public Member Functions | |
void | fill (const detinfo::DetectorPropertiesData &clock_data, const art::PtrVector< recob::Hit > &hits, int only_plane) override |
Public Member Functions inherited from trkf::KHitContainer | |
virtual | ~KHitContainer ()=default |
const std::list< KHitGroup > & | getSorted () const |
const std::list< KHitGroup > & | getUnsorted () const |
const std::list< KHitGroup > & | getUnused () const |
std::list< KHitGroup > & | getSorted () |
Sorted list. More... | |
std::list< KHitGroup > & | getUnsorted () |
Unsorted 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 KHitContainerWireX.h.
|
overridevirtual |
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 KHitWireX objects and inserts them into the base class. Hits corresponding to the same readout wire are grouped together as KHitGroup objects.
Implements trkf::KHitContainer.
Definition at line 35 of file KHitContainerWireX.cxx.