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
3
ClassImp
(
TMdcDigi
);
4
5
//************************************************
6
//
7
TMdcDigi::TMdcDigi
() {
Clear
(); }
8
//************************************************
9
//
10
TMdcDigi::~TMdcDigi
() {
Clear
(); }
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
32
void
TMdcDigi::setOverflow
(
const
UInt_t overflow ) { m_overflow = overflow; }
33
34
// Get
35
UInt_t
TMdcDigi::getOverflow
()
const
{
return
m_overflow; }
ClassImp
ClassImp(TMdcDigi)
TMdcDigi
Definition
Event/RootEventData/include/RootEventData/TMdcDigi.h:6
TMdcDigi::~TMdcDigi
~TMdcDigi()
Definition
TMdcDigi.cxx:10
TMdcDigi::setOverflow
void setOverflow(const UInt_t overflow)
Definition
TMdcDigi.cxx:32
TMdcDigi::getOverflow
UInt_t getOverflow() const
Definition
TMdcDigi.cxx:35
TMdcDigi::TMdcDigi
TMdcDigi()
Definition
TMdcDigi.cxx:7
TRawData::Clear
void Clear(Option_t *option="")
Definition
TRawData.cxx:14
8.0.0
BOSS_Source
Event
RootEventData
src
TMdcDigi.cxx
Generated by
1.16.1