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::LessZ Struct Reference

#include <BaseVolumeHandle.h>

Public Member Functions

bool operator() (const BaseVolumeHandle *v1, const BaseVolumeHandle *v2) const
 

Detailed Description

Definition at line 210 of file BaseVolumeHandle.h.

Member Function Documentation

bool magneticfield::LessZ::operator() ( const BaseVolumeHandle v1,
const BaseVolumeHandle v2 
) const
inline

Definition at line 211 of file BaseVolumeHandle.h.

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

211  {
212  if (v1->center().z() < v2->center().z())
213  return true;
214  return false;
215  }