CGEM BOSS
6.6.5.h
BESIII Offline Software System
Loading...
Searching...
No Matches
TMdcDigi.cxx
Go to the documentation of this file.
1
#include "
RootEventData/TMdcDigi.h
"
2
3
ClassImp
(
TMdcDigi
)
4
5
//************************************************
6
//
7
TMdcDigi::TMdcDigi
() {
8
Clear
();
9
}
10
//************************************************
11
//
12
TMdcDigi::~TMdcDigi
(){
13
Clear
();
14
}
15
/************************************************
16
void TMdcDigi::Clear(Option_t *option) {
17
m_intId =0;
18
m_timeChannel =0;
19
m_chargeChannel =0;
20
}
21
***********************************************
22
void TMdcDigi::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 TMdcDigi::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
TMdcDigi::setOverflow
(
const
UInt_t overflow) {
37
m_overflow = overflow;
38
}
39
40
41
//Get
42
UInt_t
TMdcDigi::getOverflow
()
const
{
43
return
m_overflow;
44
}
ClassImp
ClassImp(TMdcDigi) TMdcDigi
Definition
TMdcDigi.cxx:3
TMdcDigi.h
TMdcDigi
Definition
TMdcDigi.h:7
TMdcDigi::~TMdcDigi
~TMdcDigi()
Definition
TMdcDigi.cxx:12
TMdcDigi::setOverflow
void setOverflow(const UInt_t overflow)
Definition
TMdcDigi.cxx:36
TMdcDigi::getOverflow
UInt_t getOverflow() const
Definition
TMdcDigi.cxx:42
TMdcDigi::TMdcDigi
TMdcDigi()
TRawData::Clear
void Clear(Option_t *option="")
Definition
TRawData.cxx:18
6.6.5.h
Event
RootEventData
RootEventData-00-05-16
src
TMdcDigi.cxx
Generated by
1.12.0