CMS 3D CMS Logo

OpenBounds.h
Go to the documentation of this file.
1 #ifndef Geom_OpenBounds_H
2 #define Geom_OpenBounds_H
3 
6 
8 
9 class OpenBounds final : public Bounds {
10 public:
11  float length() const override { return 1000000.; }
12  float width() const override { return 1000000.; }
13  float thickness() const override { return 1000000.; }
14 
15  // basic bounds function
16 
17  using Bounds::inside;
18 
19  bool inside(const Local3DPoint& p) const override { return true; }
20 
21  bool inside(const Local3DPoint& p, const LocalError& err, float scale) const override { return true; }
22 
23  bool inside(const Local2DPoint& p, const LocalError& err, float scale) const override { return true; }
24 
25  Bounds* clone() const override { return new OpenBounds(); }
26 };
27 
28 #endif // Geom_OpenBounds_H
Point2DBase< float, LocalTag >
OpenBounds::width
float width() const override
Definition: OpenBounds.h:12
HLT_FULL_cff.scale
scale
Definition: HLT_FULL_cff.py:6637
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
Bounds
Definition: Bounds.h:18
OpenBounds::length
float length() const override
Definition: OpenBounds.h:11
OpenBounds::clone
Bounds * clone() const override
Definition: OpenBounds.h:25
Bounds::inside
virtual bool inside(const Local3DPoint &) const =0
Determine if the point is inside the bounds.
OpenBounds::thickness
float thickness() const override
Definition: OpenBounds.h:13
Bounds.h
Point3DBase< float, LocalTag >
OpenBounds::inside
bool inside(const Local3DPoint &p) const override
Determine if the point is inside the bounds.
Definition: OpenBounds.h:19
OpenBounds::inside
bool inside(const Local2DPoint &p, const LocalError &err, float scale) const override
Determine if a 2D point is inside the bounds, taking error into account.
Definition: OpenBounds.h:23
LocalError
Definition: LocalError.h:12
submitPVResolutionJobs.err
err
Definition: submitPVResolutionJobs.py:85
OpenBounds
Unlimited (trivial) bounds.
Definition: OpenBounds.h:9
LocalPoint.h
OpenBounds::inside
bool inside(const Local3DPoint &p, const LocalError &err, float scale) const override
Determine if a point is inside the bounds, taking error into account.
Definition: OpenBounds.h:21