BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Tdc Class Reference

#include <TofData.h>

Inheritance diagram for Tdc:

Public Member Functions

void setValue (int value)
void setValue (int value)
void setValue (int value)
Public Member Functions inherited from TofValue
 TofValue ()
virtual ~TofValue ()
TofValueoperator= (const TofValue &source)
int channel () const
int times () const
int number () const
int clock () const
double value () const
bool used () const
void timespp ()
void timesmm ()
void setNumber (int number)
void setUsed (bool used)
 TofValue ()
virtual ~TofValue ()
TofValueoperator= (const TofValue &source)
int channel () const
int times () const
int number () const
int clock () const
double value () const
bool used () const
void timespp ()
void timesmm ()
void setNumber (int number)
void setUsed (bool used)
 TofValue ()
virtual ~TofValue ()
TofValueoperator= (const TofValue &source)
int channel () const
int times () const
int number () const
int clock () const
double value () const
bool used () const
void timespp ()
void timesmm ()
void setNumber (int number)
void setUsed (bool used)

Additional Inherited Members

Protected Attributes inherited from TofValue
int m_clock
int m_channel
double m_value

Detailed Description

Member Function Documentation

◆ setValue() [1/3]

void Tdc::setValue ( int value)

Definition at line 44 of file TofData.cxx.

44 {
45 m_clock = ( ( value & 0x7e000 ) >> 13 );
46 if ( value == 0x7fffffff )
47 {
48 m_clock = 100;
49 m_channel = 10000;
50 m_value = 10000.0;
51 }
52 else if ( value == -999 )
53 {
54 m_channel = -999;
55 m_value = -999.0;
56 }
57 else
58 {
61 }
62
63 return;
64}
static double TofTime(unsigned int timeChannel)

Referenced by TofRawDataProvider::tofDataMapFull(), and TofRawDataProvider::tofDataMapOnlineMode().

◆ setValue() [2/3]

void Tdc::setValue ( int value)

◆ setValue() [3/3]

void Tdc::setValue ( int value)

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