#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 |
Private Attributes | |
UInt_t | m_intId |
UInt_t | m_timeChannel |
UInt_t | m_chargeChannel |
Int_t | m_trackIndex |
Definition at line 7 of file TRawData.h.
TRawData::TRawData | ( | ) |
TRawData::~TRawData | ( | ) |
void TRawData::Clear | ( | Option_t * | option = "" |
) |
Definition at line 18 of file TRawData.cxx.
References m_chargeChannel, m_intId, and m_timeChannel.
Referenced by TEmcDigi::~TEmcDigi(), THltRaw::~THltRaw(), TLumiDigi::~TLumiDigi(), TMdcDigi::~TMdcDigi(), TMucDigi::~TMucDigi(), ~TRawData(), and TTofDigi::~TTofDigi().
00018 { 00019 m_intId =0; 00020 m_timeChannel =0; 00021 m_chargeChannel =0; 00022 }
UInt_t TRawData::getChargeChannel | ( | ) | const |
Definition at line 60 of file TRawData.cxx.
References m_chargeChannel.
Referenced by RootRawEvtReader::readEmc(), RootRawEvtReader::readMdc(), RootRawEvtReader::readMuc(), RootRawEvtReader::readTof(), HltRawCnv::TObjectToDataObject(), TofDigiCnv::TObjectToDataObject(), MucDigiCnv::TObjectToDataObject(), MdcDigiCnv::TObjectToDataObject(), LumiDigiCnv::TObjectToDataObject(), and EmcDigiCnv::TObjectToDataObject().
00060 { 00061 return m_chargeChannel; 00062 }
UInt_t TRawData::getIntId | ( | ) | const |
Definition at line 50 of file TRawData.cxx.
References m_intId.
Referenced by RootRawEvtReader::readEmc(), RootRawEvtReader::readMdc(), RootRawEvtReader::readMuc(), RootRawEvtReader::readTof(), HltRawCnv::TObjectToDataObject(), TofDigiCnv::TObjectToDataObject(), MucDigiCnv::TObjectToDataObject(), MdcDigiCnv::TObjectToDataObject(), LumiDigiCnv::TObjectToDataObject(), and EmcDigiCnv::TObjectToDataObject().
00050 { 00051 return m_intId; 00052 }
UInt_t TRawData::getTimeChannel | ( | ) | const |
Definition at line 55 of file TRawData.cxx.
References m_timeChannel.
Referenced by RootRawEvtReader::readEmc(), RootRawEvtReader::readMdc(), RootRawEvtReader::readMuc(), RootRawEvtReader::readTof(), HltRawCnv::TObjectToDataObject(), TofDigiCnv::TObjectToDataObject(), MucDigiCnv::TObjectToDataObject(), MdcDigiCnv::TObjectToDataObject(), LumiDigiCnv::TObjectToDataObject(), and EmcDigiCnv::TObjectToDataObject().
00055 { 00056 return m_timeChannel; 00057 }
int TRawData::getTrackIndex | ( | ) | const |
Definition at line 45 of file TRawData.cxx.
References m_trackIndex.
Referenced by RootRawEvtReader::readEmc(), RootRawEvtReader::readMdc(), RootRawEvtReader::readMuc(), RootRawEvtReader::readTof(), TofDigiCnv::TObjectToDataObject(), MucDigiCnv::TObjectToDataObject(), MdcDigiCnv::TObjectToDataObject(), and EmcDigiCnv::TObjectToDataObject().
00045 { 00046 return m_trackIndex; 00047 }
void TRawData::initialize | ( | UInt_t | id, | |
UInt_t | time = 0 , |
|||
UInt_t | charge = 0 | |||
) |
Definition at line 34 of file TRawData.cxx.
References m_chargeChannel, m_intId, and m_timeChannel.
Referenced by HltRawCnv::DataObjectToTObject(), TofDigiCnv::DataObjectToTObject(), MucDigiCnv::DataObjectToTObject(), MdcDigiCnv::DataObjectToTObject(), EmcDigiCnv::DataObjectToTObject(), and digiRootWriterAlg::writeMdcDigi().
00034 { 00035 m_intId = id ; 00036 m_timeChannel =time; 00037 m_chargeChannel = charge; 00038 }
void TRawData::Print | ( | Option_t * | option = "" |
) | const |
Definition at line 25 of file TRawData.cxx.
References m_chargeChannel, m_intId, and m_timeChannel.
Referenced by BesEvent::Print(), and digiRootReaderAlg::readMdcDigi().
00025 { 00026 TObject::Print(option); 00027 std::cout.precision(2); 00028 std::cout << "Idetifier: " << m_intId << std::endl; 00029 std::cout << "TimeChannel: " << m_timeChannel <<std::endl; 00030 std::cout << "ChargeChannel:" << m_chargeChannel <<std::endl; 00031 }
void TRawData::setTrackIndex | ( | const int | trackIndex | ) |
Definition at line 41 of file TRawData.cxx.
References m_trackIndex.
Referenced by TofDigiCnv::DataObjectToTObject(), MucDigiCnv::DataObjectToTObject(), MdcDigiCnv::DataObjectToTObject(), and EmcDigiCnv::DataObjectToTObject().
00041 { 00042 m_trackIndex = trackIndex; 00043 }
UInt_t TRawData::m_chargeChannel [private] |
Definition at line 41 of file TRawData.h.
Referenced by Clear(), getChargeChannel(), initialize(), and Print().
UInt_t TRawData::m_intId [private] |
Definition at line 39 of file TRawData.h.
Referenced by Clear(), getIntId(), initialize(), and Print().
UInt_t TRawData::m_timeChannel [private] |
Definition at line 40 of file TRawData.h.
Referenced by Clear(), getTimeChannel(), initialize(), and Print().
Int_t TRawData::m_trackIndex [private] |