BOSS 7.0.3
BESIII Offline Software System
Loading...
Searching...
No Matches
TofValue Class Reference

#include <TofData.h>

+ Inheritance diagram for TofValue:

Public Member Functions

 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)
 

Protected Attributes

int m_clock
 
int m_channel
 
double m_value
 

Detailed Description

Constructor & Destructor Documentation

◆ TofValue() [1/2]

TofValue::TofValue ( )

◆ ~TofValue() [1/2]

TofValue::~TofValue ( )
virtual

Definition at line 23 of file TofData.cxx.

23{}

◆ TofValue() [2/2]

TofValue::TofValue ( )

◆ ~TofValue() [2/2]

virtual TofValue::~TofValue ( )
virtual

Member Function Documentation

◆ channel() [1/2]

int TofValue::channel ( ) const
inline

◆ channel() [2/2]

int TofValue::channel ( ) const
inline

◆ clock() [1/2]

int TofValue::clock ( ) const
inline

◆ clock() [2/2]

int TofValue::clock ( ) const
inline

◆ number() [1/2]

int TofValue::number ( ) const
inline

◆ number() [2/2]

int TofValue::number ( ) const
inline

Definition at line 19 of file InstallArea/include/RawDataProviderSvc/RawDataProviderSvc/TofData.h.

19{ return m_number; }

◆ operator=() [1/2]

TofValue & TofValue::operator= ( const TofValue source)

Definition at line 26 of file TofData.cxx.

26 {
27 m_channel = source.m_channel;
28 m_value = source.m_value;
29 m_times = source.m_times;
30 m_number = source.m_number;
31 m_clock = source.m_clock;
32 m_used = source.m_used;
33 return *this;
34}

◆ operator=() [2/2]

TofValue & TofValue::operator= ( const TofValue source)

◆ setNumber() [1/2]

◆ setNumber() [2/2]

void TofValue::setNumber ( int  number)
inline

Definition at line 26 of file InstallArea/include/RawDataProviderSvc/RawDataProviderSvc/TofData.h.

26{ m_number = number; }

◆ setUsed() [1/2]

◆ setUsed() [2/2]

void TofValue::setUsed ( bool  used)
inline

◆ times() [1/2]

int TofValue::times ( ) const
inline

◆ times() [2/2]

int TofValue::times ( ) const
inline

Definition at line 18 of file InstallArea/include/RawDataProviderSvc/RawDataProviderSvc/TofData.h.

18{ return m_times; }

◆ timesmm() [1/2]

void TofValue::timesmm ( )

Definition at line 43 of file TofData.cxx.

43 {
44 m_times = m_times - 1;
45 return;
46}

Referenced by PmtData::clear(), PmtData::qtimesmm(), and PmtData::ttimesmm().

◆ timesmm() [2/2]

void TofValue::timesmm ( )

◆ timespp() [1/2]

void TofValue::timespp ( )

Definition at line 37 of file TofData.cxx.

37 {
38 m_times = m_times + 1;
39 return;
40}

Referenced by PmtData::qtimespp(), PmtData::setAdc(), PmtData::setTdc(), and PmtData::ttimespp().

◆ timespp() [2/2]

void TofValue::timespp ( )

◆ used() [1/2]

bool TofValue::used ( ) const
inline

◆ used() [2/2]

bool TofValue::used ( ) const
inline

Definition at line 22 of file InstallArea/include/RawDataProviderSvc/RawDataProviderSvc/TofData.h.

22{ return m_used; }

◆ value() [1/2]

double TofValue::value ( ) const
inline

◆ value() [2/2]

double TofValue::value ( ) const
inline

Member Data Documentation

◆ m_channel

◆ m_clock

◆ m_value

double TofValue::m_value
protected

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