BOSS 7.1.2
BESIII Offline Software System
Loading...
Searching...
No Matches
TMdcDigi.cxx
Go to the documentation of this file.
2
4
5//************************************************
6 //
8 Clear();
9 }
10//************************************************
11//
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(TMdcDigi) TMdcDigi
Definition TMdcDigi.cxx:3
void setOverflow(const UInt_t overflow)
Definition TMdcDigi.cxx:36
UInt_t getOverflow() const
Definition TMdcDigi.cxx:42
void Clear(Option_t *option="")
Definition TRawData.cxx:18