#include <TofData.h>
Inheritance diagram for Tdc:
Public Member Functions | |
int | channel () const |
int | channel () const |
int | clock () const |
int | clock () const |
int | number () const |
int | number () const |
void | setNumber (int number) |
void | setNumber (int number) |
void | setUsed (bool used) |
void | setUsed (bool used) |
void | setValue (int value) |
void | setValue (int value) |
int | times () const |
int | times () const |
void | timesmm () |
void | timesmm () |
void | timespp () |
void | timespp () |
bool | used () const |
bool | used () const |
double | value () const |
double | value () const |
Protected Attributes | |
int | m_channel |
int | m_clock |
double | m_value |
|
00017 { return m_channel; }
|
|
00017 { return m_channel; }
|
|
00020 { return m_clock; }
|
|
00020 { return m_clock; }
|
|
00019 { return m_number; }
|
|
00019 { return m_number; }
|
|
00026 { m_number = number; }
|
|
00026 { m_number = number; }
|
|
00028 { m_used = used; }
|
|
00028 { m_used = used; }
|
|
Implements TofValue. |
|
Implements TofValue. 00048 { 00049 m_clock = ( ( value & 0x7e000 ) >> 13 ); 00050 if( value == 0x7fffffff ) { 00051 m_clock = 100; 00052 m_channel = 10000; 00053 m_value = 10000.0; 00054 } 00055 else if( value == -999 ) { 00056 m_channel = -999; 00057 m_value = -999.0; 00058 } 00059 else { 00060 m_channel = value; 00061 m_value = RawDataUtil::TofTime( value ); 00062 } 00063 00064 return; 00065 }
|
|
00018 { return m_times; }
|
|
00018 { return m_times; }
|
|
|
|
00042 {
00043 m_times = m_times - 1;
00044 return;
00045 }
|
|
|
|
00036 {
00037 m_times = m_times + 1;
00038 return;
00039 }
|
|
00022 { return m_used; }
|
|
00022 { return m_used; }
|
|
00021 { return m_value; }
|
|
00021 { return m_value; }
|
|
|
|
|
|
|