BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
TMdcDigi.cxx
Go to the documentation of this file.
1#include "RootEventData/TMdcDigi.h"
2
4
5//************************************************
6//
8//************************************************
9//
11/************************************************
12 void TMdcDigi::Clear(Option_t *option) {
13 m_intId =0;
14 m_timeChannel =0;
15 m_chargeChannel =0;
16 }
17 ***********************************************
18 void TMdcDigi::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 TMdcDigi::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
32void TMdcDigi::setOverflow( const UInt_t overflow ) { m_overflow = overflow; }
33
34// Get
35UInt_t TMdcDigi::getOverflow() const { return m_overflow; }
ClassImp(TMdcDigi)
void setOverflow(const UInt_t overflow)
Definition TMdcDigi.cxx:32
UInt_t getOverflow() const
Definition TMdcDigi.cxx:35
void Clear(Option_t *option="")
Definition TRawData.cxx:14