CMS 3D CMS Logo

RecHitSorter Class Reference

Sorts the RecHits along the PropagationDirection. More...

#include <TrackingTools/TrackFitters/interface/RecHitSorter.h>

List of all members.

Public Types

typedef
TransientTrackingRecHit::ConstRecHitContainer 
RecHitContainer

Public Member Functions

 RecHitSorter ()
RecHitContainer sortHits (const RecHitContainer &hits, const PropagationDirection &dir) const
 ~RecHitSorter ()


Detailed Description

Sorts the RecHits along the PropagationDirection.

Ported from ORCA

Date
2007/05/09 14:17:57
Revision
1.5
Author:
todorov, cerati

Definition at line 15 of file RecHitSorter.h.


Member Typedef Documentation

typedef TransientTrackingRecHit::ConstRecHitContainer RecHitSorter::RecHitContainer

Definition at line 19 of file RecHitSorter.h.


Constructor & Destructor Documentation

RecHitSorter::RecHitSorter (  )  [inline]

Definition at line 21 of file RecHitSorter.h.

00021 {}

RecHitSorter::~RecHitSorter (  )  [inline]

Definition at line 23 of file RecHitSorter.h.

00023 {}


Member Function Documentation

RecHitSorter::RecHitContainer RecHitSorter::sortHits ( const RecHitContainer hits,
const PropagationDirection dir 
) const

Definition at line 6 of file RecHitSorter.cc.

References python::multivaluedict::sort().

00007                                                                                             {
00008 
00009   RecHitContainer myHits(hits);
00010 
00011   sort( myHits.begin(), myHits.end(), RecHitLessByDet(dir));
00012 
00013   return myHits;
00014 
00015 }


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:30:40 2009 for CMSSW by  doxygen 1.5.4