BOSS
8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
TTofDigi.cxx
Go to the documentation of this file.
1
#include "RootEventData/TTofDigi.h"
2
3
ClassImp
(
TTofDigi
);
4
5
//************************************************
6
//
7
TTofDigi::TTofDigi
() {
Clear
(); }
8
//************************************************
9
//
10
TTofDigi::~TTofDigi
() {
Clear
(); }
11
/************************************************
12
void TTofDigi::Clear(Option_t *option) {
13
m_intId =0;
14
m_timeChannel =0;
15
m_chargeChannel =0;
16
}
17
***********************************************
18
void TTofDigi::Print(Option_t *option) const {
19
TObject::Print(option);
20
std::cout.precision(2);
21
std::cout << "Idetifier: " << m_intId << std::endl;
22
std::cout << "TimeChannel: " << m_timeChannel <<std::endl;
23
std::cout << "ChargeChannel:" << m_chargeChannel <<std::endl;
24
}
25
void TTofDigi::initialize(UInt_t id, UInt_t time, UInt_t charge){
26
m_intId = id ;
27
m_timeChannel =time;
28
m_chargeChannel = charge;
29
}
30
***********************************************/
31
32
void
TTofDigi::setOverflow
(
const
UInt_t overflow ) { m_overflow = overflow; }
33
34
// Get
35
UInt_t
TTofDigi::getOverflow
()
const
{
return
m_overflow; }
ClassImp
ClassImp(TTofDigi)
TRawData::Clear
void Clear(Option_t *option="")
Definition
TRawData.cxx:14
TTofDigi
Definition
Event/RootEventData/include/RootEventData/TTofDigi.h:6
TTofDigi::TTofDigi
TTofDigi()
Definition
TTofDigi.cxx:7
TTofDigi::getOverflow
UInt_t getOverflow() const
Definition
TTofDigi.cxx:35
TTofDigi::setOverflow
void setOverflow(const UInt_t overflow)
Definition
TTofDigi.cxx:32
TTofDigi::~TTofDigi
~TTofDigi()
Definition
TTofDigi.cxx:10
8.0.0
BOSS_Source
Event
RootEventData
src
TTofDigi.cxx
Generated by
1.16.1