CMS 3D CMS Logo

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

#include <BaseVolumeHandle.h>

Public Member Functions

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

Detailed Description

Definition at line 200 of file BaseVolumeHandle.h.

Member Function Documentation

◆ operator()()

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

Definition at line 201 of file BaseVolumeHandle.h.

201  {
202  // handle periodicity
203  return ((Geom::Phi<float>(phi2) - Geom::Phi<float>(phi1)) > 0.);
204  }