#include <RecHitSorter.h>
Public Types | |
typedef TransientTrackingRecHit::ConstRecHitContainer | RecHitContainer |
Public Member Functions | |
RecHitSorter () | |
RecHitContainer | sortHits (const RecHitContainer &hits, const PropagationDirection &dir) const |
~RecHitSorter () |
Sorts the RecHits along the PropagationDirection. Ported from ORCA
Definition at line 15 of file RecHitSorter.h.
Definition at line 19 of file RecHitSorter.h.
RecHitSorter::RecHitSorter | ( | ) | [inline] |
Definition at line 21 of file RecHitSorter.h.
{}
RecHitSorter::~RecHitSorter | ( | ) | [inline] |
Definition at line 23 of file RecHitSorter.h.
{}
RecHitSorter::RecHitContainer RecHitSorter::sortHits | ( | const RecHitContainer & | hits, |
const PropagationDirection & | dir | ||
) | const |
Definition at line 6 of file RecHitSorter.cc.
References python::multivaluedict::sort().
Referenced by KFSplittingFitter::fit().
{ RecHitContainer myHits(hits); sort( myHits.begin(), myHits.end(), RecHitLessByDet(dir)); return myHits; }