#include <BoundCylinder.h>
Public Types | |
typedef ReferenceCountingPointer < BoundCylinder > | BoundCylinderPointer |
typedef ConstReferenceCountingPointer < BoundCylinder > | ConstBoundCylinderPointer |
Public Types inherited from Cylinder | |
typedef ConstReferenceCountingPointer < Cylinder > | ConstCylinderPointer |
typedef ReferenceCountingPointer < Cylinder > | CylinderPointer |
Public Types inherited from Surface | |
typedef GloballyPositioned< float > | Base |
typedef SurfaceOrientation::Side | Side |
Public Types inherited from GloballyPositioned< float > | |
typedef Point3DBase< float, GlobalTag > | GlobalPoint |
typedef Vector3DBase< float, GlobalTag > | GlobalVector |
typedef Point3DBase< float, LocalTag > | LocalPoint |
typedef Vector3DBase< float, LocalTag > | LocalVector |
typedef Point3DBase< float, GlobalTag > | PositionType |
typedef TkRotation< float > | RotationType |
typedef float | Scalar |
Public Member Functions | |
BoundCylinder (const PositionType &pos, const RotationType &rot, Scalar radius, const Bounds &bounds) | |
BoundCylinder (const PositionType &pos, const RotationType &rot, Scalar radius, MediumProperties *mp, const Bounds &bounds) | |
BoundCylinder (const PositionType &pos, const RotationType &rot, const Bounds *bounds) | |
Obsolete constructor, radius should be given explicitly. More... | |
BoundCylinder (const PositionType &pos, const RotationType &rot, const Bounds &bounds) | |
Obsolete constructor, radius should be given explicitly. More... | |
virtual | ~BoundCylinder () |
Public Member Functions inherited from Cylinder | |
Cylinder (const PositionType &pos, const RotationType &rot, Scalar radius) | |
Cylinder (const PositionType &pos, const RotationType &rot, Scalar radius, MediumProperties *mp) | |
Plane | fastTangent (const GlobalPoint &aPoint) const |
tangent plane to surface from global point More... | |
Plane | fastTangent (const LocalPoint &aPoint) const |
tangent plane to surface from local point More... | |
Scalar | radius () const |
Radius of the cylinder. More... | |
virtual Side | side (const LocalPoint &p, Scalar toler) const |
virtual ReferenceCountingPointer < TangentPlane > | tangentPlane (const GlobalPoint &) const |
tangent plane to surface from global point More... | |
virtual ReferenceCountingPointer < TangentPlane > | tangentPlane (const LocalPoint &) const |
tangent plane to surface from local point More... | |
Public Member Functions inherited from Surface | |
const MediumProperties * | mediumProperties () const |
void | setMediumProperties (const MediumProperties &mp) |
void | setMediumProperties (MediumProperties *mp) |
virtual Side | side (const GlobalPoint &p, Scalar tolerance=0) const |
Surface (const PositionType &pos, const RotationType &rot) | |
Surface (const PositionType &pos, const RotationType &rot, MediumProperties *mp) | |
Surface (const PositionType &pos, const RotationType &rot, MediumProperties mp) | |
Surface (const Surface &iSurface) | |
GlobalPoint | toGlobal (const Point2DBase< Scalar, LocalTag > lp) const |
virtual | ~Surface ()=0 |
Public Member Functions inherited from GloballyPositioned< float > | |
float | eta () const |
GloballyPositioned (const PositionType &pos, const RotationType &rot) | |
void | move (const GlobalVector &displacement) |
float | phi () const |
const PositionType & | position () const |
void | rotate (const RotationType &rotation) |
const RotationType & | rotation () const |
GlobalPoint | toGlobal (const LocalPoint &lp) const |
Point3DBase< U, GlobalTag > | toGlobal (const Point3DBase< U, LocalTag > &lp) const |
GlobalVector | toGlobal (const LocalVector &lv) const |
Vector3DBase< U, GlobalTag > | toGlobal (const Vector3DBase< U, LocalTag > &lv) const |
LocalPoint | toLocal (const GlobalPoint &gp) const |
Point3DBase< U, LocalTag > | toLocal (const Point3DBase< U, GlobalTag > &gp) const |
LocalVector | toLocal (const GlobalVector &gv) const |
Vector3DBase< U, LocalTag > | toLocal (const Vector3DBase< U, GlobalTag > &gv) const |
virtual | ~GloballyPositioned () |
Public Member Functions inherited from BasicReferenceCounted | |
void | addReference () const |
BasicReferenceCounted () | |
BasicReferenceCounted (const BasicReferenceCounted &iRHS) | |
const BasicReferenceCounted & | operator= (const BasicReferenceCounted &) |
unsigned int | references () const |
void | removeReference () const |
virtual | ~BasicReferenceCounted () |
Public Member Functions inherited from BoundSurface | |
const Bounds & | bounds () const |
BoundSurface (const PositionType &pos, const RotationType &rot, const Bounds *bounds) | |
BoundSurface (const PositionType &pos, const RotationType &rot, const Bounds &bounds) | |
BoundSurface (const PositionType &pos, const RotationType &rot, const Bounds *bounds, MediumProperties *mp) | |
BoundSurface (const PositionType &pos, const RotationType &rot, const Bounds &bounds, MediumProperties *mp) | |
BoundSurface (const BoundSurface &iToCopy) | |
const BoundSurface & | operator= (const BoundSurface &iRHS) |
std::pair< float, float > const & | phiSpan () const |
std::pair< float, float > const & | rSpan () const |
std::pair< float, float > const & | zSpan () const |
Static Public Member Functions | |
static BoundCylinderPointer | build (const PositionType &pos, const RotationType &rot, Scalar radius, const Bounds *bounds, MediumProperties *mp=0) |
static BoundCylinderPointer | build (const PositionType &pos, const RotationType &rot, Scalar radius, const Bounds &bounds, MediumProperties *mp=0) |
Static Public Member Functions inherited from Cylinder | |
static CylinderPointer | build (const PositionType &pos, const RotationType &rot, Scalar radius, MediumProperties *mp=0) |
Static Public Member Functions inherited from GloballyPositioned< float > | |
static float | iniEta () |
static float | iniPhi () |
Protected Member Functions | |
BoundCylinder (const PositionType &pos, const RotationType &rot, Scalar radius, const Bounds *bounds, MediumProperties *mp=0) | |
Protected Member Functions inherited from BoundSurface | |
void | computeSpan () |
Definition at line 21 of file BoundCylinder.h.
Definition at line 24 of file BoundCylinder.h.
Definition at line 25 of file BoundCylinder.h.
|
inlinevirtual |
Definition at line 48 of file BoundCylinder.h.
|
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().
|
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.
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.
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.
|
inlineprotected |
Definition at line 89 of file BoundCylinder.h.
|
inlinestatic |
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().
Referenced by SmartPropagator::initTkVolume().
|
inlinestatic |
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().