BOSS 7.1.1
BESIII Offline Software System
|
Cylinder is an Element whose shape is a cylinder. More...
#include <RkFitCylinder.h>
Public Member Functions | |
RkFitCylinder (const RkFitMaterial *material, double radius, double thick, double length, double z0) | |
Constructor. | |
double | intersect (TRunge &track, HepPoint3D &x) const |
Find intersection with Helix. | |
double | intersect (TRunge &track, HepPoint3D &x, const HepPoint3D &point) const |
void | updateTrack (TRunge &track, double y[6]) const |
bool | isInside (const HepPoint3D &x) const |
Check if the position x is inside the current cylinder. | |
bool | isInside2 (const HepPoint3D &x) const |
virtual double | radius (void) const |
Extract radius of the cylinder. | |
Public Attributes | |
const RkFitMaterial * | material_ |
Protected Attributes | |
double | ro_ |
double | ri_ |
double | zf_ |
double | zb_ |
Cylinder is an Element whose shape is a cylinder.
Definition at line 21 of file RkFitCylinder.h.
|
inline |
Constructor.
Definition at line 30 of file RkFitCylinder.h.
double RkFitCylinder::intersect | ( | TRunge & | track, |
HepPoint3D & | x ) const |
Find intersection with Helix.
Definition at line 21 of file RkFitCylinder.cxx.
Referenced by updateTrack().
double RkFitCylinder::intersect | ( | TRunge & | track, |
HepPoint3D & | x, | ||
const HepPoint3D & | point ) const |
Definition at line 51 of file RkFitCylinder.cxx.
bool RkFitCylinder::isInside | ( | const HepPoint3D & | x | ) | const |
Check if the position x is inside the current cylinder.
Definition at line 102 of file RkFitCylinder.cxx.
Referenced by intersect(), and intersect().
bool RkFitCylinder::isInside2 | ( | const HepPoint3D & | x | ) | const |
Definition at line 115 of file RkFitCylinder.cxx.
|
inlinevirtual |
Extract radius of the cylinder.
Definition at line 54 of file RkFitCylinder.h.
Referenced by RkFitCylinder().
void RkFitCylinder::updateTrack | ( | TRunge & | track, |
double | y[6] ) const |
Definition at line 87 of file RkFitCylinder.cxx.
const RkFitMaterial* RkFitCylinder::material_ |
Definition at line 28 of file RkFitCylinder.h.
Referenced by RkFitCylinder(), and updateTrack().
|
protected |
Definition at line 24 of file RkFitCylinder.h.
Referenced by intersect(), intersect(), isInside(), and RkFitCylinder().
|
protected |
Definition at line 23 of file RkFitCylinder.h.
Referenced by intersect(), isInside(), isInside2(), radius(), and RkFitCylinder().
|
protected |
Definition at line 26 of file RkFitCylinder.h.
Referenced by intersect(), intersect(), isInside(), isInside2(), and RkFitCylinder().
|
protected |
Definition at line 25 of file RkFitCylinder.h.
Referenced by intersect(), intersect(), isInside(), isInside2(), and RkFitCylinder().