CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions
magneticfield::ExtractPhi Struct Reference

#include <BaseVolumeHandle.h>

Public Member Functions

double operator() (const BaseVolumeHandle *v) const
 

Detailed Description

Definition at line 169 of file BaseVolumeHandle.h.

Member Function Documentation

double magneticfield::ExtractPhi::operator() ( const BaseVolumeHandle v) const
inline

Definition at line 170 of file BaseVolumeHandle.h.

References magneticfield::BaseVolumeHandle::center(), and PV3DBase< T, PVType, FrameType >::phi().

170  {
171  // note that Geom::Phi is implicitly converted to double.
172  // Periodicity is guaranteed.
173  return v->center().phi();
174  }