BOSS
7.0.6
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
() {
8
Clear
();
9
}
10
//************************************************
11
//
12
TTofDigi::~TTofDigi
(){
13
Clear
();
14
}
15
/************************************************
16
void TTofDigi::Clear(Option_t *option) {
17
m_intId =0;
18
m_timeChannel =0;
19
m_chargeChannel =0;
20
}
21
***********************************************
22
void TTofDigi::Print(Option_t *option) const {
23
TObject::Print(option);
24
std::cout.precision(2);
25
std::cout << "Idetifier: " << m_intId << std::endl;
26
std::cout << "TimeChannel: " << m_timeChannel <<std::endl;
27
std::cout << "ChargeChannel:" << m_chargeChannel <<std::endl;
28
}
29
void TTofDigi::initialize(UInt_t id, UInt_t time, UInt_t charge){
30
m_intId = id ;
31
m_timeChannel =time;
32
m_chargeChannel = charge;
33
}
34
***********************************************/
35
36
void
TTofDigi::setOverflow
(
const
UInt_t overflow) {
37
m_overflow = overflow;
38
}
39
40
41
//Get
42
UInt_t
TTofDigi::getOverflow
()
const
{
43
return
m_overflow;
44
}
45
ClassImp
ClassImp(TTofDigi) TTofDigi
Definition:
TTofDigi.cxx:3
TTofDigi.h
TRawData::Clear
void Clear(Option_t *option="")
Definition:
TRawData.cxx:18
TTofDigi
Definition:
TTofDigi.h:7
TTofDigi::TTofDigi
TTofDigi()
TTofDigi::getOverflow
UInt_t getOverflow() const
Definition:
TTofDigi.cxx:42
TTofDigi::setOverflow
void setOverflow(const UInt_t overflow)
Definition:
TTofDigi.cxx:36
TTofDigi::~TTofDigi
~TTofDigi()
Definition:
TTofDigi.cxx:12
source
Event
RootEventData
RootEventData-00-03-81
src
TTofDigi.cxx
Generated by
1.9.6