Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
DataFormats
GeometrySurface
interface
RectangularPlaneBounds.h
Go to the documentation of this file.
1
#ifndef Geom_RectangularPlaneBounds_H
2
#define Geom_RectangularPlaneBounds_H
3
4
5
#include "
DataFormats/GeometryVector/interface/LocalPoint.h
"
6
#include "
DataFormats/GeometrySurface/interface/Bounds.h
"
7
8
14
class
RectangularPlaneBounds
:
public
Bounds
{
15
public
:
16
19
RectangularPlaneBounds
(
float
w,
float
h
,
float
t
);
20
22
virtual
float
length
()
const
{
return
2*
halfLength
;}
24
virtual
float
width
()
const
{
return
2*
halfWidth
;}
26
virtual
float
thickness
()
const
{
return
2*
halfThickness
;}
27
28
// basic bounds function
29
virtual
bool
inside
(
const
Local2DPoint
&
p
)
const
;
30
31
virtual
bool
inside
(
const
Local3DPoint
&
p
)
const
;
32
33
virtual
bool
inside
(
const
Local3DPoint
&
p
,
const
LocalError
& err,
34
float
scale=1.)
const
;
35
36
virtual
bool
inside
(
const
Local2DPoint
&
p
,
const
LocalError
& err,
float
scale=1.)
const
;
37
38
virtual
Bounds
*
clone
()
const
;
39
40
private
:
41
float
halfWidth
;
42
float
halfLength
;
43
float
halfThickness
;
44
45
};
46
47
#endif
LocalPoint.h
RectangularPlaneBounds::thickness
virtual float thickness() const
Thickness of the volume in local Z.
Definition:
RectangularPlaneBounds.h:26
RectangularPlaneBounds::clone
virtual Bounds * clone() const
Definition:
RectangularPlaneBounds.cc:48
Point2DBase< float, LocalTag >
Bounds.h
RectangularPlaneBounds::RectangularPlaneBounds
RectangularPlaneBounds(float w, float h, float t)
Definition:
RectangularPlaneBounds.cc:5
matplotRender.t
tuple t
Definition:
matplotRender.py:569
RectangularPlaneBounds::width
virtual float width() const
Width along local X.
Definition:
RectangularPlaneBounds.h:24
LocalError
Definition:
LocalError.h:11
RectangularPlaneBounds::inside
virtual bool inside(const Local2DPoint &p) const
Definition:
RectangularPlaneBounds.cc:9
L1TEmulatorMonitor_cff.p
tuple p
Definition:
L1TEmulatorMonitor_cff.py:48
RectangularPlaneBounds::halfLength
float halfLength
Definition:
RectangularPlaneBounds.h:42
Point3DBase< float, LocalTag >
RectangularPlaneBounds::length
virtual float length() const
Lenght along local Y.
Definition:
RectangularPlaneBounds.h:22
RectangularPlaneBounds::halfWidth
float halfWidth
Definition:
RectangularPlaneBounds.h:41
RectangularPlaneBounds
Definition:
RectangularPlaneBounds.h:14
Bounds
Definition:
Bounds.h:18
h
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition:
Activities.doc:4
RectangularPlaneBounds::halfThickness
float halfThickness
Definition:
RectangularPlaneBounds.h:43
Generated for CMSSW Reference Manual by
1.8.5