CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
DetBelowZ Class Reference

#include <DetBelowZ.h>

Inheritance diagram for DetBelowZ:

Public Member Functions

 DetBelowZ (double v)
 
bool operator() (const Det *a) const
 

Private Attributes

double val
 

Detailed Description

Definition at line 11 of file DetBelowZ.h.

Constructor & Destructor Documentation

DetBelowZ::DetBelowZ ( double  v)
inline

Definition at line 13 of file DetBelowZ.h.

13 : val(v) {}
double val
Definition: DetBelowZ.h:16

Member Function Documentation

bool DetBelowZ::operator() ( const Det a) const
inline

Definition at line 14 of file DetBelowZ.h.

References GeometricSearchDet::position(), val, and PV3DBase< T, PVType, FrameType >::z().

14 { return a->position().z() < val;}
T z() const
Definition: PV3DBase.h:64
virtual const Surface::PositionType & position() const
Returns position of the surface.
double val
Definition: DetBelowZ.h:16

Member Data Documentation

double DetBelowZ::val
private

Definition at line 16 of file DetBelowZ.h.

Referenced by operator()().