| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

IPVolume_isInside Class Reference

This predicate allows search from a sequence of IPVolume for a IPVolume, which contains the given point (container)<IPVolume*> volumes = . More...

#include <IPVolume_predicates.h>

List of all members.


Public Member Functions

 IPVolume_isInside (const Gaudi::XYZPoint &PointInMotherFrame)
 explict constructor
bool operator() (const IPVolume *pv) const
 check for the point

Private Attributes

const Gaudi::XYZPoint m_point
 point to be checked

Detailed Description

This predicate allows search from a sequence of IPVolume for a IPVolume, which contains the given point (container)<IPVolume*> volumes = .

.. (container)<IPvolume*>const_ietartor ci = std::find_if( volumes.begin() , volumes.end() , IPVolume_isInside(Point) );

Author:
Vanya Belyaev Ivan.Belyaev@itep.ru

Definition at line 30 of file IPVolume_predicates.h.


Constructor & Destructor Documentation

IPVolume_isInside::IPVolume_isInside ( const Gaudi::XYZPoint PointInMotherFrame  )  [inline, explicit]

explict constructor

Parameters:
PointInMotherFrame point in mother reference system

Definition at line 37 of file IPVolume_predicates.h.

00038     : m_point( PointInMotherFrame ){};


Member Function Documentation

bool IPVolume_isInside::operator() ( const IPVolume pv  )  const [inline]

check for the point

Parameters:
pv pointer to Physical volume
Returns:
true if point is inside the physical volume

Definition at line 43 of file IPVolume_predicates.h.

00044   { return ( ( 0 == pv ) ? false : pv->isInside( m_point ) ) ; }


Member Data Documentation

const Gaudi::XYZPoint IPVolume_isInside::m_point [private]

point to be checked

Definition at line 47 of file IPVolume_predicates.h.


The documentation for this class was generated from the following file:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 20:00:18 2011 for DetDesc by doxygen 1.4.7