CMS 3D CMS Logo

List of all members | Public Member Functions
MagGeoBuilderFromDDD::LessDPhi Struct Reference

#include <volumeHandle.h>

Public Member Functions

bool operator() (double phi1, double phi2) const
 

Detailed Description

Definition at line 227 of file volumeHandle.h.

Member Function Documentation

bool MagGeoBuilderFromDDD::LessDPhi::operator() ( double  phi1,
double  phi2 
) const
inline

Definition at line 228 of file volumeHandle.h.

228  {
229  // handle periodicity
230  return ((Geom::Phi<float>(phi2)-Geom::Phi<float>(phi1))>0.);
231  }