Belle II Software development
KLMTimeConversion Class Reference

KLM time conversion. More...

#include <KLMTimeConversion.h>

Inheritance diagram for KLMTimeConversion:

Public Member Functions

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

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.

Constructor & Destructor Documentation

◆ KLMTimeConversion()

KLMTimeConversion ( )
inline

Constructor.

Definition at line 30 of file KLMTimeConversion.h.

31 {
32 }

◆ ~KLMTimeConversion()

~KLMTimeConversion ( )
inline

Destructor.

Definition at line 37 of file KLMTimeConversion.h.

38 {
39 }

Member Function Documentation

◆ getCTimeShift()

int getCTimeShift ( ) const
inline

Get CTIME shift.

Definition at line 61 of file KLMTimeConversion.h.

62 {
63 return m_CTimeShift;
64 }
int m_CTimeShift
CTIME shift in bits.

◆ getTimeOffset()

double getTimeOffset ( ) const
inline

Get time offset.

Definition at line 44 of file KLMTimeConversion.h.

45 {
46 return m_TimeOffset;
47 }
double m_TimeOffset
Time offset.

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

◆ setTimeOffset()

void setTimeOffset ( double  offset)
inline

Set time offset.

Parameters
[in]offsetOffset in ns.

Definition at line 53 of file KLMTimeConversion.h.

54 {
55 m_TimeOffset = offset;
56 }

Member Data Documentation

◆ m_CTimeShift

int m_CTimeShift = 0
private

CTIME shift in bits.

Definition at line 81 of file KLMTimeConversion.h.

◆ m_TimeOffset

double m_TimeOffset = 0.0
private

Time offset.

Definition at line 78 of file KLMTimeConversion.h.


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