Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
DataFormats
GeometrySurface
interface
SimpleCylinderBounds.h
Go to the documentation of this file.
1
#ifndef Geom_SimpleCylinderBounds_H
2
#define Geom_SimpleCylinderBounds_H
3
14
#include "
DataFormats/GeometryVector/interface/LocalPoint.h
"
15
#include "
DataFormats/GeometrySurface/interface/Bounds.h
"
16
#include <cmath>
17
#include <algorithm>
18
19
20
class
SimpleCylinderBounds
GCC11_FINAL
:
public
Bounds
{
21
public
:
22
23
SimpleCylinderBounds
(
float
rmin,
float
rmax,
float
zmin
,
float
zmax
);
24
26
virtual
float
length
()
const
{
return
theZmax - theZmin;}
28
virtual
float
width
()
const
{
return
2*theRmax;}
30
virtual
float
thickness
()
const
{
return
theRmax-theRmin;}
31
32
virtual
bool
inside(
const
Local3DPoint
&
p
)
const
;
33
34
35
virtual
bool
inside(
const
Local3DPoint
&
p
,
const
LocalError
& err,
float
scale
)
const
;
36
37
virtual
bool
inside(
const
Local2DPoint
&
p
,
const
LocalError
& err)
const
;
38
39
40
virtual
Bounds
*
clone
()
const
;
41
42
private
:
43
float
theRmin
;
44
float
theRmax
;
45
float
theZmin;
46
float
theZmax;
47
};
48
49
#endif // Geom_SimpleCylinderBounds_H
GCC11_FINAL::thickness
virtual float thickness() const
Thikness of the "pipe", i.e. difference between outer and inner radius.
Definition:
SimpleCylinderBounds.h:30
LocalPoint.h
GCC11_FINAL::theRmax
float theRmax
Definition:
SimpleCylinderBounds.h:44
Point2DBase< float, LocalTag >
Bounds.h
GCC11_FINAL::length
virtual float length() const
Lenght of the cylinder.
Definition:
SimpleCylinderBounds.h:26
pileupReCalc_HLTpaths.scale
int scale
Definition:
pileupReCalc_HLTpaths.py:111
GCC11_FINAL::theRmin
float theRmin
Definition:
SimpleCylinderBounds.h:43
LocalError
Definition:
LocalError.h:12
SiStripMonitorClusterAlca_cfi.zmin
tuple zmin
Definition:
SiStripMonitorClusterAlca_cfi.py:180
AlCaHLTBitMon_ParallelJobs.p
tuple p
Definition:
AlCaHLTBitMon_ParallelJobs.py:152
Point3DBase< float, LocalTag >
SimpleCylinderBounds
statics.clone
tuple clone
Definition:
statics.py:58
Bounds
Definition:
Bounds.h:22
GCC11_FINAL::width
virtual float width() const
Outer diameter of the cylinder.
Definition:
SimpleCylinderBounds.h:28
SiStripMonitorClusterAlca_cfi.zmax
tuple zmax
Definition:
SiStripMonitorClusterAlca_cfi.py:181
GCC11_FINAL
Unlimited (trivial) bounds.
Definition:
BeamSpotTransientTrackingRecHit.h:27
Generated for CMSSW Reference Manual by
1.8.5