#include <KHitContainer.h>
Public Member Functions | |
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... | |
Private Attributes | |
std::list< KHitGroup > | fSorted |
Sorted KHitGroup objects. More... | |
std::list< KHitGroup > | fUnsorted |
Unsorted KHitGroup objects. More... | |
std::list< KHitGroup > | fUnused |
Unused KHitGroup objects. More... | |
Definition at line 61 of file KHitContainer.h.
|
virtualdefault |
void trkf::KHitContainer::clear | ( | ) |
Clear all lists.
Definition at line 23 of file KHitContainer.cxx.
|
pure virtual |
unsigned int trkf::KHitContainer::getPreferredPlane | ( | ) | const |
Return the plane with the most KHitGroups in the unsorted list.
Definition at line 100 of file KHitContainer.cxx.
|
inline |
Definition at line 70 of file KHitContainer.h.
|
inline |
Sorted list.
Definition at line 88 of file KHitContainer.h.
|
inline |
Definition at line 75 of file KHitContainer.h.
|
inline |
Unsorted list.
Definition at line 93 of file KHitContainer.h.
|
inline |
Definition at line 80 of file KHitContainer.h.
|
inline |
Unused list.
Definition at line 98 of file KHitContainer.h.
void trkf::KHitContainer::reset | ( | ) |
Move all objects to unsorted list (from sorted and unused lists).
Definition at line 32 of file KHitContainer.cxx.
void trkf::KHitContainer::sort | ( | const KTrack & | trk, |
bool | addUnsorted, | ||
const Propagator & | prop, | ||
Propagator::PropDirection | dir = Propagator::UNKNOWN |
||
) |
(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 48 of file KHitContainer.cxx.
|
private |
Sorted KHitGroup objects.
Definition at line 121 of file KHitContainer.h.
|
private |
Unsorted KHitGroup objects.
Definition at line 122 of file KHitContainer.h.
|
private |
Unused KHitGroup objects.
Definition at line 123 of file KHitContainer.h.