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

TofValue Class Reference

#include <TofData.h>

Inheritance diagram for TofValue:

Adc Adc Tdc Tdc 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
TofValueoperator= (const TofValue &source)
TofValueoperator= (const TofValue &source)
void setNumber (int number)
void setNumber (int number)
void setUsed (bool used)
void setUsed (bool used)
virtual void setValue (int value)=0
virtual void setValue (int value)=0
int times () const
int times () const
void timesmm ()
void timesmm ()
void timespp ()
void timespp ()
 TofValue ()
 TofValue ()
bool used () const
bool used () const
double value () const
double value () const
virtual ~TofValue ()
virtual ~TofValue ()

Protected Attributes

int m_channel
int m_clock
double m_value

Private Attributes

int m_number
int m_times
bool m_used

Constructor & Destructor Documentation

TofValue::TofValue  ) 
 

00011                    {
00012   m_channel = -999;
00013   m_value  = -999.0;
00014   m_times  = -1;
00015   m_number = 0;
00016   m_clock  = -999;
00017   m_used   = false;
00018   return;
00019 }

TofValue::~TofValue  )  [virtual]
 

00022 {}

TofValue::TofValue  ) 
 

virtual TofValue::~TofValue  )  [virtual]
 


Member Function Documentation

int TofValue::channel  )  const [inline]
 

00017 { return  m_channel;     }

int TofValue::channel  )  const [inline]
 

00017 { return  m_channel;     }

int TofValue::clock  )  const [inline]
 

00020 { return  m_clock;       }

int TofValue::clock  )  const [inline]
 

00020 { return  m_clock;       }

int TofValue::number void   )  const [inline]
 

00019 { return  m_number;      }

int TofValue::number void   )  const [inline]
 

00019 { return  m_number;      }

TofValue& TofValue::operator= const TofValue source  ) 
 

TofValue & TofValue::operator= const TofValue source  ) 
 

00025                                                    {
00026   m_channel = source.m_channel;
00027   m_value  = source.m_value;
00028   m_times  = source.m_times;
00029   m_number = source.m_number;
00030   m_clock  = source.m_clock;
00031   m_used   = source.m_used;
00032   return *this;
00033 }

void TofValue::setNumber int  number  )  [inline]
 

00026 { m_number = number;     }

void TofValue::setNumber int  number  )  [inline]
 

00026 { m_number = number;     }

void TofValue::setUsed bool  used  )  [inline]
 

00028 { m_used   = used;       }

void TofValue::setUsed bool  used  )  [inline]
 

00028 { m_used   = used;       }

virtual void TofValue::setValue int  value  )  [pure virtual]
 

Implemented in Adc, Tdc, Adc, and Tdc.

virtual void TofValue::setValue int  value  )  [pure virtual]
 

Implemented in Adc, Tdc, Adc, and Tdc.

int TofValue::times  )  const [inline]
 

00018 { return  m_times;       }

int TofValue::times  )  const [inline]
 

00018 { return  m_times;       }

void TofValue::timesmm  ) 
 

void TofValue::timesmm  ) 
 

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

void TofValue::timespp  ) 
 

void TofValue::timespp  ) 
 

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

bool TofValue::used  )  const [inline]
 

00022 { return  m_used;        }

bool TofValue::used  )  const [inline]
 

00022 { return  m_used;        }

double TofValue::value  )  const [inline]
 

00021 { return  m_value;       }

double TofValue::value  )  const [inline]
 

00021 { return  m_value;       }


Member Data Documentation

int TofValue::m_channel [protected]
 

int TofValue::m_clock [protected]
 

int TofValue::m_number [private]
 

int TofValue::m_times [private]
 

bool TofValue::m_used [private]
 

double TofValue::m_value [protected]
 


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