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