CMS 3D CMS Logo

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

#include <TrackingRecHitLess.h>

Public Member Functions

bool operator() (const TrackingRecHit &a, const TrackingRecHit &b) const
 
 TrackingRecHitLess (const TrackingGeometry *geometry_, PropagationDirection dir=alongMomentum)
 

Private Attributes

const TrackingGeometryg_
 
GeomDetLessless_
 

Detailed Description

Defines order of layers in the Tracker as seen by straight tracks coming from the interaction region.

Definition at line 18 of file TrackingRecHitLess.h.

Constructor & Destructor Documentation

TrackingRecHitLess::TrackingRecHitLess ( const TrackingGeometry geometry_,
PropagationDirection  dir = alongMomentum 
)
inline

Definition at line 21 of file TrackingRecHitLess.h.

References dir, and less_.

21  :
22  g_(geometry_){
23  less_ = new GeomDetLess(dir);
24  }
const TrackingGeometry * g_
dbl *** dir
Definition: mlp_gen.cc:35

Member Function Documentation

bool TrackingRecHitLess::operator() ( const TrackingRecHit a,
const TrackingRecHit b 
) const
inline

Definition at line 27 of file TrackingRecHitLess.h.

References g_, TrackingRecHit::geographicalId(), TrackingGeometry::idToDet(), and less_.

27  {
28 
29  return less_->operator()(
31  }
virtual const GeomDet * idToDet(DetId) const =0
const TrackingGeometry * g_
DetId geographicalId() const

Member Data Documentation

const TrackingGeometry* TrackingRecHitLess::g_
private

Definition at line 34 of file TrackingRecHitLess.h.

Referenced by operator()().

GeomDetLess* TrackingRecHitLess::less_
private

Definition at line 35 of file TrackingRecHitLess.h.

Referenced by operator()(), and TrackingRecHitLess().