CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions
RecHitSorter Class Reference

#include <RecHitSorter.h>

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

Definition at line 19 of file RecHitSorter.h.

Constructor & Destructor Documentation

RecHitSorter::RecHitSorter ( )
inline

Definition at line 21 of file RecHitSorter.h.

21 {}
RecHitSorter::~RecHitSorter ( )
inline

Definition at line 23 of file RecHitSorter.h.

23 {}

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().

7  {
8 
9  RecHitContainer myHits(hits);
10 
11  sort( myHits.begin(), myHits.end(), RecHitLessByDet(dir));
12 
13  return myHits;
14 
15 }
dbl *** dir
Definition: mlp_gen.cc:35
TransientTrackingRecHit::ConstRecHitContainer RecHitContainer
Definition: RecHitSorter.h:19