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
GCC11_FINAL
:
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
Local2DPoint
&
p
,
float
tollerance)
const
;
34
35
36
virtual
bool
inside(
const
Local3DPoint
&
p
,
const
LocalError
& err,
37
float
scale
=1.
f
)
const
;
38
39
virtual
bool
inside(
const
Local2DPoint
&
p
,
const
LocalError
& err,
float
scale
=1.
f
)
const
;
40
41
// compatible of being inside or outside...
42
std::pair<bool,bool> inout(
const
Local3DPoint
&
p
,
const
LocalError
& err,
float
scale
=1.
f
)
const
;
43
44
45
virtual
Bounds
*
clone
()
const
;
46
47
private
:
48
float
halfWidth
;
49
float
halfLength
;
50
float
halfThickness
;
51
52
};
53
54
#endif
GCC11_FINAL::thickness
virtual float thickness() const
Thickness of the volume in local Z.
Definition:
RectangularPlaneBounds.h:26
LocalPoint.h
GCC11_FINAL::halfLength
float halfLength
Definition:
RectangularPlaneBounds.h:49
lumiQTWidget.t
tuple t
Definition:
lumiQTWidget.py:50
GCC11_FINAL::halfWidth
float halfWidth
Definition:
RectangularPlaneBounds.h:48
Point2DBase< float, LocalTag >
Bounds.h
GCC11_FINAL::length
virtual float length() const
Lenght along local Y.
Definition:
RectangularPlaneBounds.h:22
pileupReCalc_HLTpaths.scale
int scale
Definition:
pileupReCalc_HLTpaths.py:111
f
double f[11][100]
Definition:
MuScleFitUtils.cc:77
GCC11_FINAL::halfThickness
float halfThickness
Definition:
RectangularPlaneBounds.h:50
h
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition:
Activities.doc:4
LocalError
Definition:
LocalError.h:12
AlCaHLTBitMon_ParallelJobs.p
tuple p
Definition:
AlCaHLTBitMon_ParallelJobs.py:152
Point3DBase< float, LocalTag >
statics.clone
tuple clone
Definition:
statics.py:58
RectangularPlaneBounds
Bounds
Definition:
Bounds.h:22
w
T w() const
Definition:
extBasic3DVector.h:245
GCC11_FINAL::width
virtual float width() const
Width along local X.
Definition:
RectangularPlaneBounds.h:24
GCC11_FINAL
Unlimited (trivial) bounds.
Definition:
BeamSpotTransientTrackingRecHit.h:27
Generated for CMSSW Reference Manual by
1.8.5