HerdSoftware  0.3.2
Public Member Functions | Public Attributes | List of all members
Herd::CaloGeoParams::EllipsoidalEnvelope Struct Reference

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...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ EllipsoidalEnvelope()

Herd::CaloGeoParams::EllipsoidalEnvelope::EllipsoidalEnvelope ( )

The half sizes of the truncated ellipsoid along each axis (cm).

Member Function Documentation

◆ operator==()

bool Herd::CaloGeoParams::EllipsoidalEnvelope::operator== ( const EllipsoidalEnvelope rhs)

◆ Volume()

float Herd::CaloGeoParams::EllipsoidalEnvelope::Volume ( ) const

Member Data Documentation

◆ center

Point Herd::CaloGeoParams::EllipsoidalEnvelope::center

◆ halfAxes

AxesArray<float> Herd::CaloGeoParams::EllipsoidalEnvelope::halfAxes

The center of the ellipsoid (cm).

◆ halfSizes

AxesArray<float> Herd::CaloGeoParams::EllipsoidalEnvelope::halfSizes

The half axes of the full ellipsoid along each axis (cm).


The documentation for this struct was generated from the following files: