CMS 3D CMS Logo

Classes | Typedefs
geomsort Namespace Reference

Classes

class  ExtractAbsZ
 
class  ExtractPhi
 
class  ExtractR
 
class  ExtractZ
 

Typedefs

typedef ExtractPhi< GeomDet, float > DetPhi
 
typedef ExtractR< GeomDet, float > DetR
 
typedef ExtractZ< GeomDet, float > DetZ
 

Typedef Documentation

functor to sort in phi (from -pi to pi) using precomputed_value_sort.

Note that sorting in phi is done within the phi range of (-pi, pi]. It may NOT be what you expect if the elements cluster around the pi discontinuity.

Use:

precomputed_value_sort(v.begin(), v.end(), DetPhi());

Author
N. Amapane - CERN

Definition at line 39 of file DetSorting.h.

functor to sort in R using precomputed_value_sort.

Use:

precomputed_value_sort(v.begin(), v.end(), DetR());

Author
N. Amapane - CERN

Definition at line 21 of file DetSorting.h.

functor to sort in Z using precomputed_value_sort.

Use:

precomputed_value_sort(v.begin(), v.end(), DetZ());

Author
N. Amapane - CERN

Definition at line 53 of file DetSorting.h.