Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Tdc Class Reference

#include <TofData.h>

Inheritance diagram for Tdc:

TofValue TofValue List of all members.

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

Member Function Documentation

int TofValue::channel  )  const [inline, inherited]
 

00017 { return  m_channel;     }

int TofValue::channel  )  const [inline, inherited]
 

00017 { return  m_channel;     }

int TofValue::clock  )  const [inline, inherited]
 

00020 { return  m_clock;       }

int TofValue::clock  )  const [inline, inherited]
 

00020 { return  m_clock;       }

int TofValue::number void   )  const [inline, inherited]
 

00019 { return  m_number;      }

int TofValue::number void   )  const [inline, inherited]
 

00019 { return  m_number;      }

void TofValue::setNumber int  number  )  [inline, inherited]
 

00026 { m_number = number;     }

void TofValue::setNumber int  number  )  [inline, inherited]
 

00026 { m_number = number;     }

void TofValue::setUsed bool  used  )  [inline, inherited]
 

00028 { m_used   = used;       }

void TofValue::setUsed bool  used  )  [inline, inherited]
 

00028 { m_used   = used;       }

void Tdc::setValue int  value  )  [virtual]
 

Implements TofValue.

void Tdc::setValue int  value  )  [virtual]
 

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 }

int TofValue::times  )  const [inline, inherited]
 

00018 { return  m_times;       }

int TofValue::times  )  const [inline, inherited]
 

00018 { return  m_times;       }

void TofValue::timesmm  )  [inherited]
 

void TofValue::timesmm  )  [inherited]
 

00042                        {
00043   m_times = m_times - 1;
00044   return;
00045 }

void TofValue::timespp  )  [inherited]
 

void TofValue::timespp  )  [inherited]
 

00036                        {
00037   m_times = m_times + 1;
00038   return;
00039 }

bool TofValue::used  )  const [inline, inherited]
 

00022 { return  m_used;        }

bool TofValue::used  )  const [inline, inherited]
 

00022 { return  m_used;        }

double TofValue::value  )  const [inline, inherited]
 

00021 { return  m_value;       }

double TofValue::value  )  const [inline, inherited]
 

00021 { return  m_value;       }


Member Data Documentation

int TofValue::m_channel [protected, inherited]
 

int TofValue::m_clock [protected, inherited]
 

double TofValue::m_value [protected, inherited]
 


The documentation for this class was generated from the following files:
Generated on Wed Feb 2 18:51:31 2011 for BOSS6.5.5 by  doxygen 1.3.9.1