TTofDigi Class Reference

#include <TTofDigi.h>

Inheritance diagram for TTofDigi:

TRawData List of all members.

Public Member Functions

 TTofDigi ()
 ~TTofDigi ()
void setOverflow (const UInt_t overflow)
UInt_t getOverflow () const
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_overflow

Detailed Description

Definition at line 7 of file TTofDigi.h.


Constructor & Destructor Documentation

TTofDigi::TTofDigi (  ) 

TTofDigi::~TTofDigi (  ) 

Definition at line 12 of file TTofDigi.cxx.

References TRawData::Clear().

00012                      {
00013     Clear();
00014  }


Member Function Documentation

void TRawData::Clear ( Option_t *  option = ""  )  [inherited]

Definition at line 18 of file TRawData.cxx.

References TRawData::m_chargeChannel, TRawData::m_intId, and TRawData::m_timeChannel.

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

00018                                       {
00019      m_intId =0;
00020      m_timeChannel =0;
00021      m_chargeChannel =0;
00022  }

UInt_t TRawData::getChargeChannel (  )  const [inherited]

Definition at line 60 of file TRawData.cxx.

References TRawData::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 [inherited]

Definition at line 50 of file TRawData.cxx.

References TRawData::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 TTofDigi::getOverflow (  )  const

Definition at line 42 of file TTofDigi.cxx.

References m_overflow.

Referenced by RootRawEvtReader::readTof(), and TofDigiCnv::TObjectToDataObject().

00042                                         {
00043         return m_overflow;
00044     }

UInt_t TRawData::getTimeChannel (  )  const [inherited]

Definition at line 55 of file TRawData.cxx.

References TRawData::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 [inherited]

Definition at line 45 of file TRawData.cxx.

References TRawData::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 
) [inherited]

Definition at line 34 of file TRawData.cxx.

References TRawData::m_chargeChannel, TRawData::m_intId, and TRawData::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 [inherited]

Definition at line 25 of file TRawData.cxx.

References TRawData::m_chargeChannel, TRawData::m_intId, and TRawData::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 TTofDigi::setOverflow ( const UInt_t  overflow  ) 

Definition at line 36 of file TTofDigi.cxx.

References m_overflow.

Referenced by TofDigiCnv::DataObjectToTObject().

00036                                                    {
00037         m_overflow = overflow;
00038   }

void TRawData::setTrackIndex ( const int  trackIndex  )  [inherited]

Definition at line 41 of file TRawData.cxx.

References TRawData::m_trackIndex.

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

00041                                                     {
00042       m_trackIndex = trackIndex;
00043     }


Member Data Documentation

UInt_t TTofDigi::m_overflow [private]

Definition at line 27 of file TTofDigi.h.

Referenced by getOverflow(), and setOverflow().


Generated on Tue Nov 29 23:36:18 2016 for BOSS_7.0.2 by  doxygen 1.4.7