Belle II Software development
ECLDigitEnergyConstants Class Reference

Energy calibration constants per digit. More...

#include <ECLDigitEnergyConstants.h>

Inheritance 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.
 
float getEnergy () const
 Return calibration energy.
 
int getCellID () const
 Return cell ID.
 
void setConstant (float amplitude)
 Set calibration amplitude (measured)
 
void setEnergy (float energy)
 Set calibration energy (known from physics, e.g.
 
void setCellID (int cellid)
 Set cell ID.
 

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.

Constructor & Destructor Documentation

◆ ECLDigitEnergyConstants() [1/2]

Default constructor.

Definition at line 28 of file ECLDigitEnergyConstants.h.

28: m_cellID(0), m_amplitude(0), m_energy(0) {};
float m_amplitude
Calibration amplitude.

◆ ECLDigitEnergyConstants() [2/2]

ECLDigitEnergyConstants ( int  cellid,
float  amplitude,
float  energy 
)
inline

Constructor.

Definition at line 33 of file ECLDigitEnergyConstants.h.

33: m_cellID(cellid), m_amplitude(amplitude), m_energy(energy) {};

◆ ~ECLDigitEnergyConstants()

Destructor.

Definition at line 38 of file ECLDigitEnergyConstants.h.

38{};

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; };

◆ getCellID()

int getCellID ( ) const
inline

Return cell ID.

Returns
cell ID

Definition at line 53 of file ECLDigitEnergyConstants.h.

53{return m_cellID; };

◆ getEnergy()

float getEnergy ( ) const
inline

Return calibration energy.

Returns
calibration energy

Definition at line 48 of file ECLDigitEnergyConstants.h.

48{return m_energy; };

◆ setCellID()

void setCellID ( int  cellid)
inline

Set cell ID.

Parameters
cellidcell ID

Definition at line 68 of file ECLDigitEnergyConstants.h.

68{m_cellID = cellid; };

◆ setConstant()

void setConstant ( float  amplitude)
inline

Set calibration amplitude (measured)

Parameters
amplitudecalibration amplitude

Definition at line 58 of file ECLDigitEnergyConstants.h.

58{m_amplitude = amplitude; };

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

63{m_energy = energy; };

Member Data Documentation

◆ m_amplitude

float m_amplitude
private

Calibration amplitude.

Definition at line 72 of file ECLDigitEnergyConstants.h.

◆ m_cellID

int m_cellID
private

ECL cell ID.

Definition at line 71 of file ECLDigitEnergyConstants.h.

◆ m_energy

float m_energy
private

Calibration energy.

Definition at line 73 of file ECLDigitEnergyConstants.h.


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