Belle II Software development
ECLDigitTimeConstants Class Reference

Time and time resolution calibration constants per digit. More...

#include <ECLDigitTimeConstants.h>

Inheritance diagram for ECLDigitTimeConstants:

Public Member Functions

 ECLDigitTimeConstants ()
 Default constructor.
 
 ECLDigitTimeConstants (int cellid, float offset)
 Constructor.
 
 ~ECLDigitTimeConstants ()
 Destructor.
 
float getOffset () const
 Return calibration offset.
 
int getCellID () const
 Return cell ID.
 
void setOffset (float offset)
 Set calibration offset.
 
void setCellID (int cellid)
 Set cell ID.
 

Private Member Functions

 ClassDef (ECLDigitTimeConstants, 2)
 ClassDef.
 

Private Attributes

int m_cellID
 ECL cell ID.
 
float m_offset
 time offset 'a'
 

Detailed Description

Time and time resolution calibration constants per digit.

Definition at line 24 of file ECLDigitTimeConstants.h.

Constructor & Destructor Documentation

◆ ECLDigitTimeConstants() [1/2]

Default constructor.

Definition at line 30 of file ECLDigitTimeConstants.h.

◆ ECLDigitTimeConstants() [2/2]

ECLDigitTimeConstants ( int  cellid,
float  offset 
)
inline

Constructor.

Definition at line 35 of file ECLDigitTimeConstants.h.

35: m_cellID(cellid), m_offset(offset) {};

◆ ~ECLDigitTimeConstants()

~ECLDigitTimeConstants ( )
inline

Destructor.

Definition at line 40 of file ECLDigitTimeConstants.h.

40{};

Member Function Documentation

◆ getCellID()

int getCellID ( ) const
inline

Return cell ID.

Returns
cell ID

Definition at line 50 of file ECLDigitTimeConstants.h.

50{return m_cellID; };

◆ getOffset()

float getOffset ( ) const
inline

Return calibration offset.

Returns
calibration offset

Definition at line 45 of file ECLDigitTimeConstants.h.

45{return m_offset; };

◆ setCellID()

void setCellID ( int  cellid)
inline

Set cell ID.

Parameters
cellidcell ID

Definition at line 60 of file ECLDigitTimeConstants.h.

60{m_cellID = cellid; };

◆ setOffset()

void setOffset ( float  offset)
inline

Set calibration offset.

Parameters
offsetcalibration offset

Definition at line 55 of file ECLDigitTimeConstants.h.

55{m_offset = offset; };

Member Data Documentation

◆ m_cellID

int m_cellID
private

ECL cell ID.

Definition at line 63 of file ECLDigitTimeConstants.h.

◆ m_offset

float m_offset
private

time offset 'a'

Definition at line 64 of file ECLDigitTimeConstants.h.


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