HerdSoftware
0.3.2
|
Parameters of the ellipsoidal CALO envelope. More...
#include <CaloGeoParams.h>
Public Member Functions | |
EllipsoidalEnvelope () | |
The half sizes of the truncated ellipsoid along each axis (cm). More... | |
bool | operator== (const EllipsoidalEnvelope &rhs) |
float | Volume () const |
Public Attributes | |
Point | center |
AxesArray< float > | halfAxes |
The center of the ellipsoid (cm). More... | |
AxesArray< float > | halfSizes |
The half axes of the full ellipsoid along each axis (cm). More... | |
Parameters of the ellipsoidal CALO envelope.
An ellipsoidal envelope can be defined for the spherical CALO. The envelope consists of an ellipsoidal surface defined by the equation:
((x-x0)/px)^2 + ((y-y0)/py)^2 + ((z-z0)/pz)^2 = 1
where x0, y0 and z0 are the coordinates of the center of the ellipsoid and px, py and pz are the lengths of the three half-axes. The envelope is truncated along the three axes to better adapt to a spherical CALo with a maximum number of cubes along each axis. The half sizes define the truncation of the full ellipsoid.
Herd::CaloGeoParams::EllipsoidalEnvelope::EllipsoidalEnvelope | ( | ) |
The half sizes of the truncated ellipsoid along each axis (cm).
bool Herd::CaloGeoParams::EllipsoidalEnvelope::operator== | ( | const EllipsoidalEnvelope & | rhs | ) |
float Herd::CaloGeoParams::EllipsoidalEnvelope::Volume | ( | ) | const |
Point Herd::CaloGeoParams::EllipsoidalEnvelope::center |
AxesArray<float> Herd::CaloGeoParams::EllipsoidalEnvelope::halfAxes |
The center of the ellipsoid (cm).
AxesArray<float> Herd::CaloGeoParams::EllipsoidalEnvelope::halfSizes |
The half axes of the full ellipsoid along each axis (cm).