#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 |
virtual void | fill (detinfo::DetectorPropertiesData const &clock_data, const art::PtrVector< recob::Hit > &hits, int only_plane)=0 |
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.
|
override |
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.
Definition at line 34 of file KHitContainerWireX.cxx.