CMS 3D CMS Logo

Public Member Functions

CmsTrackerLevelBuilder::LessZ Struct Reference

#include <CmsTrackerLevelBuilder.h>

List of all members.

Public Member Functions

bool operator() (const GeometricDet *a, const GeometricDet *b) const

Detailed Description

Definition at line 42 of file CmsTrackerLevelBuilder.h.


Member Function Documentation

bool CmsTrackerLevelBuilder::LessZ::operator() ( const GeometricDet a,
const GeometricDet b 
) const [inline]

Definition at line 43 of file CmsTrackerLevelBuilder.h.

References GeometricDet::translation().

    {
      // NP** change for Phase 2 Tracker
      if (a->translation().z() == b->translation().z())
        {return a->translation().rho() < b->translation().rho();}
      else{
      // Original version
      return a->translation().z() < b->translation().z();}   
    }