HerdSoftware
0.1.1
|
Container of information about the Calorimeter Shower Axis. More...
#include <dataobjects/CaloAxis.h>
Public Member Functions | |
CaloAxis () | |
Default constructor. More... | |
CaloAxis (const CaloHits caloHits, float energyThreshold) | |
Constructor from a collection of hits and threshold. More... | |
virtual | ~CaloAxis ()=default |
Virtual destructor. More... | |
std::array< double, 3 > | AxisSigma (const CaloGeoParams &geoParams) |
Axis Sigma around COG (cm). More... | |
std::array< double, 3 > | AxisSkewness (const CaloGeoParams &geoParams) |
Axis Skewness around COG (adim). More... | |
std::array< double, 3 > | AxisKurtosis (const CaloGeoParams &geoParams) |
Axis Kurtosis around COG (adim). More... | |
CaloAxisAlgoType | AlgoType () const |
Flag provinding the algorithm used for the reconstruction of the CaloAxis object. More... | |
unsigned short | AxisHits () const |
Number of hits used for axis reconstruction. More... | |
Point | COG () const |
Axis Center of Gravity More... | |
std::array< double, 3 > | Eigenvalues () const |
Eigenvalues of Axis Covariance matrix. More... | |
std::array< Point, 3 > | Eigenvectors () const |
Eigenvectors of Axis Covariance matrix. More... | |
Line | Axis () const |
get the shower Axis More... | |
Point | AxisEntryHit (const CaloGeoParams &geoParams) |
Axis Entry point More... | |
Point | AxisExitHit (const CaloGeoParams &geoParams) |
Axis Exit point More... | |
double | AxisPathlengthHit (const CaloGeoParams &geoParams) |
Axis total pathlength inside crystals More... | |
double | LateralEnergy (const CaloGeoParams &geoParams, double radmin=0, double radmax=defaultValue< double >) |
Get Lateral Energy deposit. More... | |
double | LongitudinalEntryEnergy (const CaloGeoParams &geoParams, double dist, double radmin=0, double radmax=defaultValue< double >) |
Get Longitudinal Energy deposit at Calo Axis Entry. More... | |
double | LongitudinalExitEnergy (const CaloGeoParams &geoParams, double dist, double radmin=0, double radmax=defaultValue< double >) |
Get Longitudinal Energy deposit at Calo Axis Exit. More... | |
double | LocalEnergy (const CaloGeoParams &geoParams, Point center, double distneg, double distpos, double radmin=0, double radmax=defaultValue< double >) |
Get Energy deposit around a defined region around the Calo Axis. More... | |
void | SetAlgoType (CaloAxisAlgoType algoType) |
void | SetCOG (Point cog) |
Set the COG. More... | |
void | SetDirection (Vec3D dir) |
Set the direction. More... | |
void | SetEigenvalues (std::array< double, 3 > eig) |
Set the eigenvalues. More... | |
void | SetEigenvectors (std::array< Point, 3 > eig) |
Set the eigenvectors. More... | |
void | Reset () |
Set the members to default values. More... | |
Private Member Functions | |
void | ComputeMomenta (const CaloGeoParams &geoParams) |
void | ComputePathlength (const CaloGeoParams &geoParams) |
Private Attributes | |
CaloAxisAlgoType | m_axisAlgo |
Point | m_axisCOG |
std::array< double, 3 > | m_axisEigenvalues |
std::array< Point, 3 > | m_axisEigenvectors |
Vec3D | m_axisDir |
std::array< double, 3 > | m_axisSigma |
std::array< double, 3 > | m_axisSkewness |
std::array< double, 3 > | m_axisKurtosis |
Point | m_axisEntryHit |
Point | m_axisExitHit |
double | m_axisPathlengthHit |
CaloHits | m_caloHits |
float | m_energyThreshold = 0 |
Container of information about the Calorimeter Shower Axis.
This container contains the information produced by the Calorimeter Shower Axis reconstruction. It identifies the principal axes of the shower and calculates the main momenta of the shower energy distribution in the principal axes reference frame.
|
inline |
Default constructor.
Creates a CaloAxis with standard values
|
inline |
Constructor from a collection of hits and threshold.
Creates a CaloAxis with standard values
|
virtualdefault |
Virtual destructor.
|
inline |
Flag provinding the algorithm used for the reconstruction of the CaloAxis object.
|
inline |
Axis Entry point
Coordinate of intersection with crystal
|
inline |
Axis Exit point
Coordinate of intersection with crystal
|
inline |
Number of hits used for axis reconstruction.
|
inline |
Axis Kurtosis around COG (adim).
The values are sorted from principal axis (largest covariance matrix eigenvalue) to last axis (smallest covariance matrix eigenvalue)
|
inline |
Axis total pathlength inside crystals
Sum of single crystal pathlength
|
inline |
Axis Sigma around COG (cm).
The values are sorted from principal axis (largest covariance matrix eigenvalue) to last axis (smallest covariance matrix eigenvalue)
|
inline |
Axis Skewness around COG (adim).
The values are sorted from principal axis (largest covariance matrix eigenvalue) to last axis (smallest covariance matrix eigenvalue)
|
inline |
Axis Center of Gravity
Expressed in Herd reference frame (cm)
|
private |
|
private |
|
inline |
Eigenvalues of Axis Covariance matrix.
Sorted from largest to lowest
|
inline |
Eigenvectors of Axis Covariance matrix.
Sorted from largest to lowest value of eigenvalue. The vectors define the three principal axes of the shower
double Herd::CaloAxis::LateralEnergy | ( | const CaloGeoParams & | geoParams, |
double | radmin = 0 , |
||
double | radmax = defaultValue<double> |
||
) |
Get Lateral Energy deposit.
Get Energy deposit contained in a cylindrical volume defined by two radii. Only crystals with center contained between the inner and outer cylinder will be used
double Herd::CaloAxis::LocalEnergy | ( | const CaloGeoParams & | geoParams, |
Point | center, | ||
double | distneg, | ||
double | distpos, | ||
double | radmin = 0 , |
||
double | radmax = defaultValue<double> |
||
) |
Get Energy deposit around a defined region around the Calo Axis.
Get Energy deposit contained in a cylindrical volume defined by two radii. Only crystals with center contained between the inner and outer cylinder and with center contained between the distance upstream and downstream along the shower axis around a reference point (in cm) will be used
double Herd::CaloAxis::LongitudinalEntryEnergy | ( | const CaloGeoParams & | geoParams, |
double | dist, | ||
double | radmin = 0 , |
||
double | radmax = defaultValue<double> |
||
) |
Get Longitudinal Energy deposit at Calo Axis Entry.
Get Energy deposit contained in a cylindrical volume defined by two radii. Only crystals with center contained between the inner and outer cylinder and with center contained between the Calo Axis entry point and the distance downstream along the axis (in cm) will be used.
double Herd::CaloAxis::LongitudinalExitEnergy | ( | const CaloGeoParams & | geoParams, |
double | dist, | ||
double | radmin = 0 , |
||
double | radmax = defaultValue<double> |
||
) |
Get Longitudinal Energy deposit at Calo Axis Exit.
Get Energy deposit contained in a cylindrical volume defined by two radii. Only crystals with center contained between the inner and outer cylinder and with center contained between the Calo Axis exit point and the distance upstream along the axis (in cm) will be used.
void Herd::CaloAxis::Reset | ( | ) |
Set the members to default values.
|
inline |
|
inline |
Set the COG.
|
inline |
Set the direction.
|
inline |
Set the eigenvalues.
|
inline |
Set the eigenvectors.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |