#include <DataFormats/GeometrySurface/interface/BoundCylinder.h>
Public Types | |
typedef ReferenceCountingPointer < BoundCylinder > | BoundCylinderPointer |
typedef ConstReferenceCountingPointer < BoundCylinder > | ConstBoundCylinderPointer |
Public Member Functions | |
BoundCylinder (const PositionType &pos, const RotationType &rot, const Bounds &bounds) | |
Obsolete constructor, radius should be given explicitly. | |
BoundCylinder (const PositionType &pos, const RotationType &rot, const Bounds *bounds) | |
Obsolete constructor, radius should be given explicitly. | |
BoundCylinder (const PositionType &pos, const RotationType &rot, Scalar radius, MediumProperties *mp, const Bounds &bounds) | |
Do not use this constructor directly; use the static build method, which returns a ReferenceCountingPointer. | |
BoundCylinder (const PositionType &pos, const RotationType &rot, Scalar radius, const Bounds &bounds) | |
Do not use this constructor directly; use the static build method, which returns a ReferenceCountingPointer. | |
virtual | ~BoundCylinder () |
Static Public Member Functions | |
static BoundCylinderPointer | build (const PositionType &pos, const RotationType &rot, Scalar radius, const Bounds &bounds, MediumProperties *mp=0) |
Construct a cylinder with origin at pos and with rotation matrix rot, with bounds. | |
static BoundCylinderPointer | build (const PositionType &pos, const RotationType &rot, Scalar radius, const Bounds *bounds, MediumProperties *mp=0) |
Construct a cylinder with origin at pos and with rotation matrix rot, with bounds. | |
Protected Member Functions | |
BoundCylinder (const PositionType &pos, const RotationType &rot, Scalar radius, const Bounds *bounds, MediumProperties *mp=0) |
Definition at line 21 of file BoundCylinder.h.
Definition at line 24 of file BoundCylinder.h.
Definition at line 25 of file BoundCylinder.h.
virtual BoundCylinder::~BoundCylinder | ( | ) | [inline, virtual] |
BoundCylinder::BoundCylinder | ( | const PositionType & | pos, | |
const RotationType & | rot, | |||
Scalar | radius, | |||
const Bounds & | bounds | |||
) | [inline] |
Do not use this constructor directly; use the static build method, which returns a ReferenceCountingPointer.
This constructor will soon become private
Definition at line 55 of file BoundCylinder.h.
Referenced by build().
00058 : 00059 Surface( pos,rot ), 00060 Cylinder( pos, rot, radius), 00061 BoundSurface(pos, rot, bounds) 00062 { }
BoundCylinder::BoundCylinder | ( | const PositionType & | pos, | |
const RotationType & | rot, | |||
Scalar | radius, | |||
MediumProperties * | mp, | |||
const Bounds & | bounds | |||
) | [inline] |
Do not use this constructor directly; use the static build method, which returns a ReferenceCountingPointer.
This constructor will soon become private
Definition at line 67 of file BoundCylinder.h.
00071 : 00072 Surface( pos,rot ), 00073 Cylinder( pos, rot, radius, mp ), 00074 BoundSurface( pos, rot, bounds ) 00075 { }
BoundCylinder::BoundCylinder | ( | const PositionType & | pos, | |
const RotationType & | rot, | |||
const Bounds * | bounds | |||
) |
Obsolete constructor, radius should be given explicitly.
Definition at line 3 of file BoundCylinder.cc.
00005 : 00006 Surface( pos,rot ), 00007 Cylinder( pos, rot, bounds->width()/2. - bounds->thickness()/2.), 00008 BoundSurface( pos, rot, bounds ) 00009 { }
BoundCylinder::BoundCylinder | ( | const PositionType & | pos, | |
const RotationType & | rot, | |||
const Bounds & | bounds | |||
) |
Obsolete constructor, radius should be given explicitly.
Definition at line 11 of file BoundCylinder.cc.
00013 : 00014 Surface( pos,rot ), 00015 Cylinder( pos, rot, bounds.width()/2. - bounds.thickness()/2.), 00016 BoundSurface( pos, rot, bounds ) 00017 { } { }
BoundCylinder::BoundCylinder | ( | const PositionType & | pos, | |
const RotationType & | rot, | |||
Scalar | radius, | |||
const Bounds * | bounds, | |||
MediumProperties * | mp = 0 | |||
) | [inline, protected] |
Definition at line 89 of file BoundCylinder.h.
00093 : 00094 Surface( pos,rot ), 00095 Cylinder(pos, rot, radius, mp), 00096 BoundSurface(pos, rot, bounds, mp) 00097 { }
static BoundCylinderPointer BoundCylinder::build | ( | const PositionType & | pos, | |
const RotationType & | rot, | |||
Scalar | radius, | |||
const Bounds & | bounds, | |||
MediumProperties * | mp = 0 | |||
) | [inline, static] |
Construct a cylinder with origin at pos and with rotation matrix rot, with bounds.
The bounds you provide are cloned.
Definition at line 40 of file BoundCylinder.h.
References BoundCylinder(), and mp.
00044 { 00045 return BoundCylinderPointer(new BoundCylinder(pos, rot, radius, &bounds, mp)); 00046 }
static BoundCylinderPointer BoundCylinder::build | ( | const PositionType & | pos, | |
const RotationType & | rot, | |||
Scalar | radius, | |||
const Bounds * | bounds, | |||
MediumProperties * | mp = 0 | |||
) | [inline, static] |
Construct a cylinder with origin at pos and with rotation matrix rot, with bounds.
The bounds you provide are cloned.
Definition at line 29 of file BoundCylinder.h.
References BoundCylinder(), and mp.
Referenced by SmartPropagator::initTkVolume().
00033 { 00034 return BoundCylinderPointer(new BoundCylinder(pos, rot, radius, bounds, mp)); 00035 }