Belle II Software  release-08-01-10
ECLDigitEnergyConstants Class Reference

Energy calibration constants per digit. More...

#include <ECLDigitEnergyConstants.h>

Inheritance diagram for ECLDigitEnergyConstants:
Collaboration diagram for ECLDigitEnergyConstants:

Public Member Functions

 ECLDigitEnergyConstants ()
 Default constructor.
 
 ECLDigitEnergyConstants (int cellid, float amplitude, float energy)
 Constructor.
 
 ~ECLDigitEnergyConstants ()
 Destructor.
 
float getAmplitude () const
 Return calibration amplitude. More...
 
float getEnergy () const
 Return calibration energy. More...
 
int getCellID () const
 Return cell ID. More...
 
void setConstant (float amplitude)
 Set calibration amplitude (measured) More...
 
void setEnergy (float energy)
 Set calibration energy (known from physics, e.g. More...
 
void setCellID (int cellid)
 Set cell ID. More...
 

Private Member Functions

 ClassDef (ECLDigitEnergyConstants, 2)
 ClassDef.
 

Private Attributes

int m_cellID
 ECL cell ID.
 
float m_amplitude
 Calibration amplitude.
 
float m_energy
 Calibration energy.
 

Detailed Description

Energy calibration constants per digit.

Definition at line 22 of file ECLDigitEnergyConstants.h.

Member Function Documentation

◆ getAmplitude()

float getAmplitude ( ) const
inline

Return calibration amplitude.

Returns
calibration amplitude

Definition at line 43 of file ECLDigitEnergyConstants.h.

43 {return m_amplitude; };
float m_amplitude
Calibration amplitude.

◆ getCellID()

int getCellID ( ) const
inline

Return cell ID.

Returns
cell ID

Definition at line 53 of file ECLDigitEnergyConstants.h.

◆ getEnergy()

float getEnergy ( ) const
inline

Return calibration energy.

Returns
calibration energy

Definition at line 48 of file ECLDigitEnergyConstants.h.

◆ setCellID()

void setCellID ( int  cellid)
inline

Set cell ID.

Parameters
cellidcell ID

Definition at line 68 of file ECLDigitEnergyConstants.h.

◆ setConstant()

void setConstant ( float  amplitude)
inline

Set calibration amplitude (measured)

Parameters
amplitudecalibration amplitude

Definition at line 58 of file ECLDigitEnergyConstants.h.

◆ setEnergy()

void setEnergy ( float  energy)
inline

Set calibration energy (known from physics, e.g.

ee->gg kinematics)

Parameters
energycalibration energy

Definition at line 63 of file ECLDigitEnergyConstants.h.


The documentation for this class was generated from the following file: