BOSS 8.0.0
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)
 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/3]

TofValue::TofValue ( )

Definition at line 12 of file TofData.cxx.

12 {
13 m_channel = -999;
14 m_value = -999.0;
15 m_times = -1;
16 m_number = 0;
17 m_clock = -999;
18 m_used = false;
19 return;
20}

Referenced by operator=().

◆ ~TofValue() [1/3]

TofValue::~TofValue ( )
virtual

Definition at line 22 of file TofData.cxx.

22{}

◆ TofValue() [2/3]

TofValue::TofValue ( )

◆ ~TofValue() [2/3]

virtual TofValue::~TofValue ( )
virtual

◆ TofValue() [3/3]

TofValue::TofValue ( )

◆ ~TofValue() [3/3]

virtual TofValue::~TofValue ( )
virtual

Member Function Documentation

◆ channel() [1/3]

int TofValue::channel ( ) const
inline

◆ channel() [2/3]

int TofValue::channel ( ) const
inline

◆ channel() [3/3]

int TofValue::channel ( ) const
inline

◆ clock() [1/3]

int TofValue::clock ( ) const
inline

◆ clock() [2/3]

int TofValue::clock ( ) const
inline

◆ clock() [3/3]

int TofValue::clock ( ) const
inline

◆ number() [1/3]

int TofValue::number ( ) const
inline

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

19{ return m_number; }

Referenced by setNumber().

◆ number() [2/3]

int TofValue::number ( ) const
inline

Definition at line 19 of file InstallArea/x86_64-el9-gcc13-dbg/include/RawDataProviderSvc/TofData.h.

19{ return m_number; }

◆ number() [3/3]

int TofValue::number ( ) const
inline

Definition at line 19 of file InstallArea/x86_64-el9-gcc13-opt/include/RawDataProviderSvc/TofData.h.

19{ return m_number; }

◆ operator=() [1/3]

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

Definition at line 24 of file TofData.cxx.

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

◆ operator=() [2/3]

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

◆ operator=() [3/3]

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

◆ setNumber() [1/3]

void TofValue::setNumber ( int number)
inline

◆ setNumber() [2/3]

void TofValue::setNumber ( int number)
inline

◆ setNumber() [3/3]

void TofValue::setNumber ( int number)
inline

◆ setUsed() [1/3]

void TofValue::setUsed ( bool used)
inline

◆ setUsed() [2/3]

void TofValue::setUsed ( bool used)
inline

◆ setUsed() [3/3]

void TofValue::setUsed ( bool used)
inline

◆ times() [1/3]

int TofValue::times ( ) const
inline

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

18{ return m_times; }

◆ times() [2/3]

int TofValue::times ( ) const
inline

Definition at line 18 of file InstallArea/x86_64-el9-gcc13-dbg/include/RawDataProviderSvc/TofData.h.

18{ return m_times; }

◆ times() [3/3]

int TofValue::times ( ) const
inline

Definition at line 18 of file InstallArea/x86_64-el9-gcc13-opt/include/RawDataProviderSvc/TofData.h.

18{ return m_times; }

◆ timesmm() [1/3]

void TofValue::timesmm ( )

Definition at line 39 of file TofData.cxx.

39 {
40 m_times = m_times - 1;
41 return;
42}

◆ timesmm() [2/3]

void TofValue::timesmm ( )

◆ timesmm() [3/3]

void TofValue::timesmm ( )

◆ timespp() [1/3]

void TofValue::timespp ( )

Definition at line 34 of file TofData.cxx.

34 {
35 m_times = m_times + 1;
36 return;
37}

◆ timespp() [2/3]

void TofValue::timespp ( )

◆ timespp() [3/3]

void TofValue::timespp ( )

◆ used() [1/3]

bool TofValue::used ( ) const
inline

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

22{ return m_used; }

Referenced by setUsed().

◆ used() [2/3]

bool TofValue::used ( ) const
inline

Definition at line 22 of file InstallArea/x86_64-el9-gcc13-dbg/include/RawDataProviderSvc/TofData.h.

22{ return m_used; }

◆ used() [3/3]

bool TofValue::used ( ) const
inline

Definition at line 22 of file InstallArea/x86_64-el9-gcc13-opt/include/RawDataProviderSvc/TofData.h.

22{ return m_used; }

◆ value() [1/3]

double TofValue::value ( ) const
inline

Definition at line 21 of file Event/RawDataProviderSvc/include/RawDataProviderSvc/TofData.h.

21{ return m_value; }

Referenced by Adc::setValue(), and Tdc::setValue().

◆ value() [2/3]

double TofValue::value ( ) const
inline

◆ value() [3/3]

double TofValue::value ( ) const
inline

Member Data Documentation

◆ m_channel

int TofValue::m_channel
protected

◆ m_clock

int TofValue::m_clock
protected

◆ m_value

double TofValue::m_value
protected

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