BOSS 7.0.9
BESIII Offline Software System
Loading...
Searching...
No Matches
TRawData Class Reference

#include <TRawData.h>

+ Inheritance diagram for TRawData:

Public Member Functions

 TRawData ()
 
 ~TRawData ()
 
void initialize (UInt_t id, UInt_t time=0, UInt_t charge=0)
 
void Clear (Option_t *option="")
 
void Print (Option_t *option="") const
 
void setTrackIndex (const int trackIndex)
 
UInt_t getIntId () const
 
UInt_t getTimeChannel () const
 
UInt_t getChargeChannel () const
 
int getTrackIndex () const
 

Detailed Description

Definition at line 7 of file TRawData.h.

Constructor & Destructor Documentation

◆ TRawData()

TRawData::TRawData ( )

◆ ~TRawData()

TRawData::~TRawData ( )

Definition at line 13 of file TRawData.cxx.

13 {
14 Clear();
15 }
void Clear(Option_t *option="")
Definition: TRawData.cxx:18

Member Function Documentation

◆ Clear()

void TRawData::Clear ( Option_t *  option = "")

Definition at line 18 of file TRawData.cxx.

18 {
19 m_intId =0;
20 m_timeChannel =0;
21 m_chargeChannel =0;
22 }

Referenced by ClassImp(), TEmcDigi::~TEmcDigi(), THltRaw::~THltRaw(), TLumiDigi::~TLumiDigi(), TMdcDigi::~TMdcDigi(), TMucDigi::~TMucDigi(), ~TRawData(), and TTofDigi::~TTofDigi().

◆ getChargeChannel()

◆ getIntId()

◆ getTimeChannel()

◆ getTrackIndex()

◆ initialize()

void TRawData::initialize ( UInt_t  id,
UInt_t  time = 0,
UInt_t  charge = 0 
)

Definition at line 34 of file TRawData.cxx.

34 {
35 m_intId = id ;
36 m_timeChannel =time;
37 m_chargeChannel = charge;
38 }
Double_t time
float charge

Referenced by EmcDigiCnv::DataObjectToTObject(), LumiDigiCnv::DataObjectToTObject(), MdcDigiCnv::DataObjectToTObject(), MucDigiCnv::DataObjectToTObject(), TofDigiCnv::DataObjectToTObject(), and HltRawCnv::DataObjectToTObject().

◆ Print()

void TRawData::Print ( Option_t *  option = "") const

Definition at line 25 of file TRawData.cxx.

25 {
26 TObject::Print(option);
27 std::cout.precision(2);
28 std::cout << "Idetifier: " << m_intId << std::endl;
29 std::cout << "TimeChannel: " << m_timeChannel <<std::endl;
30 std::cout << "ChargeChannel:" << m_chargeChannel <<std::endl;
31 }

Referenced by BesEvent::Print().

◆ setTrackIndex()

void TRawData::setTrackIndex ( const int  trackIndex)

The documentation for this class was generated from the following files: