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

KLM time conversion. More...

#include <KLMTimeConversion.h>

Inheritance diagram for KLMTimeConversion:
Collaboration diagram for KLMTimeConversion:

Public Member Functions

 KLMTimeConversion ()
 Constructor.
 
 ~KLMTimeConversion ()
 Destructor.
 
double getTimeOffset () const
 Get time offset.
 
void setTimeOffset (double offset)
 Set time offset. More...
 
int getCTimeShift () const
 Get CTIME shift.
 
void setCTimeShift (int shift)
 Set CTIME shift. More...
 

Private Member Functions

 ClassDef (KLMTimeConversion, 2)
 Class version,.
 

Private Attributes

double m_TimeOffset = 0.0
 Time offset.
 
int m_CTimeShift = 0
 CTIME shift in bits.
 

Detailed Description

KLM time conversion.

Definition at line 23 of file KLMTimeConversion.h.

Member Function Documentation

◆ setCTimeShift()

void setCTimeShift ( int  shift)
inline

Set CTIME shift.

Parameters
[in]shiftShift in bits.

Definition at line 70 of file KLMTimeConversion.h.

71  {
72  m_CTimeShift = shift;
73  }
int m_CTimeShift
CTIME shift in bits.

◆ setTimeOffset()

void setTimeOffset ( double  offset)
inline

Set time offset.

Parameters
[in]offsetOffset in ns.

Definition at line 53 of file KLMTimeConversion.h.


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