CMS 3D CMS Logo

Public Member Functions

MagGeoBuilderFromDDD::ExtractPhi Struct Reference

#include <volumeHandle.h>

List of all members.

Public Member Functions

double operator() (const volumeHandle *v) const

Detailed Description

Definition at line 191 of file volumeHandle.h.


Member Function Documentation

double MagGeoBuilderFromDDD::ExtractPhi::operator() ( const volumeHandle v) const [inline]

Definition at line 192 of file volumeHandle.h.

References MagGeoBuilderFromDDD::volumeHandle::center(), and PV3DBase< T, PVType, FrameType >::phi().

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