CMS 3D CMS Logo

LinearSearchNavSurfaceImpl.h
Go to the documentation of this file.
1 #ifndef LinearSearchNavSurfaceImpl_H
2 #define LinearSearchNavSurfaceImpl_H
3 
5 #include <vector>
6 
7 class NavVolume;
8 class Bounds;
9 
11 public:
12 
14  SurfaceOrientation::Side side) const;
15 
16  const Bounds* bounds( const NavVolume* vol);
17 
18  void addVolume( const NavVolume* vol, const Bounds* bounds,
20 
21 private:
22 
23  typedef std::pair< const NavVolume*, const Bounds*> VolumeAndBounds;
24  typedef std::vector< VolumeAndBounds> VolumeContainer;
25 
26  VolumeContainer thePosVolumes;
27  VolumeContainer theNegVolumes;
28 
29  const NavVolume* findVolume( const NavSurface::LocalPoint& point,
30  const VolumeContainer& volumes) const;
31 
32 };
33 
34 #endif
std::vector< VolumeAndBounds > VolumeContainer
const Bounds * bounds(const NavVolume *vol)
const NavVolume * nextVolume(const NavSurface::LocalPoint &point, SurfaceOrientation::Side side) const
std::pair< const NavVolume *, const Bounds * > VolumeAndBounds
Definition: Bounds.h:22
const NavVolume * findVolume(const NavSurface::LocalPoint &point, const VolumeContainer &volumes) const
*vegas h *****************************************************used in the default bin number in original ***version of VEGAS is ***a higher bin number might help to derive a more precise ***grade subtle point
Definition: invegas.h:5
void addVolume(const NavVolume *vol, const Bounds *bounds, SurfaceOrientation::Side side)