RAWEVENT Class Reference

#include <RAWEVENT.h>

List of all members.

Public Types

typedef std::vector< uint32_t > int_vector

Public Member Functions

 RAWEVENT ()
virtual ~RAWEVENT ()
void reset ()
void setRunNo (uint32_t run_no)
void setEventNo (uint32_t event_no)
void setTime (uint32_t time)
void setFlag1 (uint32_t flag1)
void setFlag2 (uint32_t flag2)
void addReMdcDigi (uint32_t *digi, uint32_t size)
void addReEmcDigi (uint32_t *digi, uint32_t size)
void addReTofDigi (uint32_t *digi, uint32_t size)
void addReMucDigi (uint32_t *digi, uint32_t size)
void addReTrigGTD (uint32_t *digi, uint32_t size)
void addReZddDigi (uint32_t *digi, uint32_t size)
void addReHltRaw (uint32_t *digi, uint32_t size)
void addReEtfDigi (uint32_t *digi, uint32_t size)
void addMcParticle (uint32_t *buf, uint32_t size)
void setReMdcTruth (int_vector &ReMdcTruth)
void setReEmcTruth (int_vector &ReEmcTruth)
void setReTofTruth (int_vector &ReTofTruth)
void setReMucTruth (int_vector &ReMucTruth)
const RawEventHeadereventHeader () const
const BufferHoldergetMdcBuf () const
const BufferHoldergetTofBuf () const
const BufferHoldergetEmcBuf () const
const BufferHoldergetMucBuf () const
const BufferHoldergetGTDBuf () const
const BufferHoldergetZddBuf () const
const BufferHoldergetHltBuf () const
const BufferHoldergetEtfBuf () const
const BufferHoldergetMcParBuf () const
const int_vectorgetMdcTruth () const
const int_vectorgetEmcTruth () const
const int_vectorgetTofTruth () const
const int_vectorgetMucTruth () const

Private Attributes

RawEventHeader m_eventHeader
BufferHolder m_bufMdcDigi
BufferHolder m_bufTofDigi
BufferHolder m_bufEmcDigi
BufferHolder m_bufMucDigi
BufferHolder m_bufTrigGTD
BufferHolder m_bufZddDigi
BufferHolder m_bufHltRaw
BufferHolder m_bufEtfDigi
BufferHolder m_bufMcPar
int_vector m_ReMdcTruth
int_vector m_ReEmcTruth
int_vector m_ReTofTruth
int_vector m_ReMucTruth

Classes

class  RawEventHeader


Detailed Description

Definition at line 8 of file RAWEVENT.h.


Member Typedef Documentation

typedef std::vector<uint32_t> RAWEVENT::int_vector

Definition at line 42 of file RAWEVENT.h.


Constructor & Destructor Documentation

RAWEVENT::RAWEVENT (  ) 

Definition at line 3 of file RAWEVENT.cxx.

00003                    : m_eventHeader() {
00004 }

virtual RAWEVENT::~RAWEVENT (  )  [inline, virtual]

Definition at line 40 of file RAWEVENT.h.

00040 {}


Member Function Documentation

void RAWEVENT::addMcParticle ( uint32_t *  buf,
uint32_t  size 
) [inline]

Definition at line 79 of file RAWEVENT.h.

References BufferHolder::addBuffer(), and m_bufMcPar.

Referenced by MixerAlg::nextEvent(), and RawDataInputSvc::nextEvent().

00079                                                    {
00080     m_bufMcPar.addBuffer(buf, size);
00081   }

void RAWEVENT::addReEmcDigi ( uint32_t *  digi,
uint32_t  size 
) [inline]

Definition at line 56 of file RAWEVENT.h.

References BufferHolder::addBuffer(), and m_bufEmcDigi.

Referenced by EFEventLoopMgr::executeEvent(), MixerAlg::nextEvent(), RawDataInputSvc::nextEvent(), and RawEventReader::readEvent().

00056                                                    {
00057     m_bufEmcDigi.addBuffer(digi, size);
00058   }

void RAWEVENT::addReEtfDigi ( uint32_t *  digi,
uint32_t  size 
) [inline]

Definition at line 74 of file RAWEVENT.h.

References BufferHolder::addBuffer(), and m_bufEtfDigi.

Referenced by MixerAlg::nextEvent(), and RawDataInputSvc::nextEvent().

00074                                                    {
00075       m_bufEtfDigi.addBuffer(digi, size);
00076   }

void RAWEVENT::addReHltRaw ( uint32_t *  digi,
uint32_t  size 
) [inline]

Definition at line 71 of file RAWEVENT.h.

References BufferHolder::addBuffer(), and m_bufHltRaw.

Referenced by MixerAlg::nextEvent(), and RawDataInputSvc::nextEvent().

00071                                                   {
00072     m_bufHltRaw.addBuffer(digi, size);
00073   }

void RAWEVENT::addReMdcDigi ( uint32_t *  digi,
uint32_t  size 
) [inline]

Definition at line 53 of file RAWEVENT.h.

References BufferHolder::addBuffer(), and m_bufMdcDigi.

Referenced by EFEventLoopMgr::executeEvent(), MixerAlg::nextEvent(), RawDataInputSvc::nextEvent(), and RawEventReader::readEvent().

00053                                                    {
00054     m_bufMdcDigi.addBuffer(digi, size);
00055   }

void RAWEVENT::addReMucDigi ( uint32_t *  digi,
uint32_t  size 
) [inline]

Definition at line 62 of file RAWEVENT.h.

References BufferHolder::addBuffer(), and m_bufMucDigi.

Referenced by EFEventLoopMgr::executeEvent(), MixerAlg::nextEvent(), RawDataInputSvc::nextEvent(), and RawEventReader::readEvent().

00062                                                    {
00063     m_bufMucDigi.addBuffer(digi, size);
00064   }

void RAWEVENT::addReTofDigi ( uint32_t *  digi,
uint32_t  size 
) [inline]

Definition at line 59 of file RAWEVENT.h.

References BufferHolder::addBuffer(), and m_bufTofDigi.

Referenced by EFEventLoopMgr::executeEvent(), MixerAlg::nextEvent(), RawDataInputSvc::nextEvent(), and RawEventReader::readEvent().

00059                                                    {
00060     m_bufTofDigi.addBuffer(digi, size);
00061   }

void RAWEVENT::addReTrigGTD ( uint32_t *  digi,
uint32_t  size 
) [inline]

Definition at line 65 of file RAWEVENT.h.

References BufferHolder::addBuffer(), and m_bufTrigGTD.

Referenced by MixerAlg::nextEvent(), and RawDataInputSvc::nextEvent().

00065                                                    {
00066     m_bufTrigGTD.addBuffer(digi, size);
00067   }

void RAWEVENT::addReZddDigi ( uint32_t *  digi,
uint32_t  size 
) [inline]

Definition at line 68 of file RAWEVENT.h.

References BufferHolder::addBuffer(), and m_bufZddDigi.

Referenced by RawDataInputSvc::nextEvent().

00068                                                    {
00069     m_bufZddDigi.addBuffer(digi, size);
00070   }

const RawEventHeader& RAWEVENT::eventHeader (  )  const [inline]

Definition at line 90 of file RAWEVENT.h.

References m_eventHeader.

Referenced by RawDataMdcDigiCnv::createObj(), and RawDataEvtHeaderCnv::createObj().

00090 { return m_eventHeader; }

const BufferHolder& RAWEVENT::getEmcBuf (  )  const [inline]

Definition at line 94 of file RAWEVENT.h.

References m_bufEmcDigi.

Referenced by RawDataEmcDigiCnv::createObj(), MixerAlg::decodeEmc(), and RawEventReader::execute().

00094 { return m_bufEmcDigi; }

const int_vector& RAWEVENT::getEmcTruth (  )  const [inline]

Definition at line 105 of file RAWEVENT.h.

References m_ReEmcTruth.

Referenced by RawDataEmcMcHitCnv::createObj().

00105 { return m_ReEmcTruth; }

const BufferHolder& RAWEVENT::getEtfBuf (  )  const [inline]

Definition at line 99 of file RAWEVENT.h.

References m_bufEtfDigi.

Referenced by MixerAlg::decodeTof().

00099 { return m_bufEtfDigi; }

const BufferHolder& RAWEVENT::getGTDBuf (  )  const [inline]

Definition at line 96 of file RAWEVENT.h.

References m_bufTrigGTD.

Referenced by RawDataTrigGTDCnv::createObj(), and MixerAlg::getTiming().

00096 { return m_bufTrigGTD; }

const BufferHolder& RAWEVENT::getHltBuf (  )  const [inline]

Definition at line 98 of file RAWEVENT.h.

References m_bufHltRaw.

Referenced by RawDataHltRawCnv::createObj(), and MixerAlg::eventType().

00098 { return m_bufHltRaw; }

const BufferHolder& RAWEVENT::getMcParBuf (  )  const [inline]

Definition at line 101 of file RAWEVENT.h.

References m_bufMcPar.

Referenced by RawDataMcParticleCnv::createObj().

00101 { return m_bufMcPar; }

const BufferHolder& RAWEVENT::getMdcBuf (  )  const [inline]

Definition at line 92 of file RAWEVENT.h.

References m_bufMdcDigi.

Referenced by RawDataMdcDigiCnv::createObj(), MixerAlg::decodeMdc(), and RawEventReader::execute().

00092 { return m_bufMdcDigi; }

const int_vector& RAWEVENT::getMdcTruth (  )  const [inline]

Definition at line 104 of file RAWEVENT.h.

References m_ReMdcTruth.

Referenced by RawDataMdcMcHitCnv::createObj().

00104 { return m_ReMdcTruth; }

const BufferHolder& RAWEVENT::getMucBuf (  )  const [inline]

Definition at line 95 of file RAWEVENT.h.

References m_bufMucDigi.

Referenced by RawDataMucDigiCnv::createObj(), MixerAlg::decodeMuc(), and RawEventReader::execute().

00095 { return m_bufMucDigi; }

const int_vector& RAWEVENT::getMucTruth (  )  const [inline]

Definition at line 107 of file RAWEVENT.h.

References m_ReMucTruth.

Referenced by RawDataMucMcHitCnv::createObj().

00107 { return m_ReMucTruth; }

const BufferHolder& RAWEVENT::getTofBuf (  )  const [inline]

Definition at line 93 of file RAWEVENT.h.

References m_bufTofDigi.

Referenced by RawDataTofDigiCnv::createObj(), MixerAlg::decodeTof(), and RawEventReader::execute().

00093 { return m_bufTofDigi; }

const int_vector& RAWEVENT::getTofTruth (  )  const [inline]

Definition at line 106 of file RAWEVENT.h.

References m_ReTofTruth.

Referenced by RawDataTofMcHitCnv::createObj().

00106 { return m_ReTofTruth; }

const BufferHolder& RAWEVENT::getZddBuf (  )  const [inline]

Definition at line 97 of file RAWEVENT.h.

References m_bufZddDigi.

Referenced by RawDataZddEventCnv::createObj().

00097 { return m_bufZddDigi; }

void RAWEVENT::reset (  ) 

Definition at line 6 of file RAWEVENT.cxx.

References m_bufEmcDigi, m_bufEtfDigi, m_bufHltRaw, m_bufMcPar, m_bufMdcDigi, m_bufMucDigi, m_bufTofDigi, m_bufTrigGTD, m_bufZddDigi, and BufferHolder::reset().

Referenced by MixerAlg::execute(), RawEventReader::execute(), EFEventLoopMgr::executeEvent(), MixerAlg::nextEvent(), and RawDataInputSvc::nextEvent().

00006                      {
00007   m_bufMdcDigi.reset();
00008   m_bufTofDigi.reset();
00009   m_bufEtfDigi.reset();
00010   m_bufEmcDigi.reset();
00011   m_bufMucDigi.reset();
00012   m_bufTrigGTD.reset();
00013   m_bufZddDigi.reset();
00014   m_bufHltRaw.reset();
00015   m_bufMcPar.reset();
00016 }

void RAWEVENT::setEventNo ( uint32_t  event_no  )  [inline]

Definition at line 47 of file RAWEVENT.h.

References m_eventHeader, and RAWEVENT::RawEventHeader::setEventNo().

Referenced by EFEventLoopMgr::executeEvent(), MixerAlg::nextEvent(), and RawDataInputSvc::nextEvent().

00047 { m_eventHeader.setEventNo(event_no); }

void RAWEVENT::setFlag1 ( uint32_t  flag1  )  [inline]

Definition at line 49 of file RAWEVENT.h.

References m_eventHeader, and RAWEVENT::RawEventHeader::setFlag1().

Referenced by RawDataInputSvc::nextEvent().

00049 { m_eventHeader.setFlag1(flag1); }

void RAWEVENT::setFlag2 ( uint32_t  flag2  )  [inline]

Definition at line 50 of file RAWEVENT.h.

References m_eventHeader, and RAWEVENT::RawEventHeader::setFlag2().

00050 { m_eventHeader.setFlag2(flag2); }

void RAWEVENT::setReEmcTruth ( int_vector ReEmcTruth  )  [inline]

Definition at line 85 of file RAWEVENT.h.

References m_ReEmcTruth.

00085 { m_ReEmcTruth = ReEmcTruth; }

void RAWEVENT::setReMdcTruth ( int_vector ReMdcTruth  )  [inline]

Definition at line 84 of file RAWEVENT.h.

References m_ReMdcTruth.

00084 { m_ReMdcTruth = ReMdcTruth; }

void RAWEVENT::setReMucTruth ( int_vector ReMucTruth  )  [inline]

Definition at line 87 of file RAWEVENT.h.

References m_ReMucTruth.

00087 { m_ReMucTruth = ReMucTruth; }

void RAWEVENT::setReTofTruth ( int_vector ReTofTruth  )  [inline]

Definition at line 86 of file RAWEVENT.h.

References m_ReTofTruth.

00086 { m_ReTofTruth = ReTofTruth; }

void RAWEVENT::setRunNo ( uint32_t  run_no  )  [inline]

Definition at line 46 of file RAWEVENT.h.

References m_eventHeader, and RAWEVENT::RawEventHeader::setRunNo().

Referenced by EFEventLoopMgr::executeEvent(), MixerAlg::nextEvent(), and RawDataInputSvc::nextEvent().

00046 { m_eventHeader.setRunNo(run_no); }

void RAWEVENT::setTime ( uint32_t  time  )  [inline]

Definition at line 48 of file RAWEVENT.h.

References m_eventHeader, and RAWEVENT::RawEventHeader::setTime().

Referenced by EFEventLoopMgr::executeEvent(), and RawDataInputSvc::nextEvent().

00048 { m_eventHeader.setTime(time); }


Member Data Documentation

BufferHolder RAWEVENT::m_bufEmcDigi [private]

Definition at line 115 of file RAWEVENT.h.

Referenced by addReEmcDigi(), getEmcBuf(), and reset().

BufferHolder RAWEVENT::m_bufEtfDigi [private]

Definition at line 120 of file RAWEVENT.h.

Referenced by addReEtfDigi(), getEtfBuf(), and reset().

BufferHolder RAWEVENT::m_bufHltRaw [private]

Definition at line 119 of file RAWEVENT.h.

Referenced by addReHltRaw(), getHltBuf(), and reset().

BufferHolder RAWEVENT::m_bufMcPar [private]

Definition at line 123 of file RAWEVENT.h.

Referenced by addMcParticle(), getMcParBuf(), and reset().

BufferHolder RAWEVENT::m_bufMdcDigi [private]

Definition at line 113 of file RAWEVENT.h.

Referenced by addReMdcDigi(), getMdcBuf(), and reset().

BufferHolder RAWEVENT::m_bufMucDigi [private]

Definition at line 116 of file RAWEVENT.h.

Referenced by addReMucDigi(), getMucBuf(), and reset().

BufferHolder RAWEVENT::m_bufTofDigi [private]

Definition at line 114 of file RAWEVENT.h.

Referenced by addReTofDigi(), getTofBuf(), and reset().

BufferHolder RAWEVENT::m_bufTrigGTD [private]

Definition at line 117 of file RAWEVENT.h.

Referenced by addReTrigGTD(), getGTDBuf(), and reset().

BufferHolder RAWEVENT::m_bufZddDigi [private]

Definition at line 118 of file RAWEVENT.h.

Referenced by addReZddDigi(), getZddBuf(), and reset().

RawEventHeader RAWEVENT::m_eventHeader [private]

Definition at line 110 of file RAWEVENT.h.

Referenced by eventHeader(), setEventNo(), setFlag1(), setFlag2(), setRunNo(), and setTime().

int_vector RAWEVENT::m_ReEmcTruth [private]

Definition at line 127 of file RAWEVENT.h.

Referenced by getEmcTruth(), and setReEmcTruth().

int_vector RAWEVENT::m_ReMdcTruth [private]

Definition at line 126 of file RAWEVENT.h.

Referenced by getMdcTruth(), and setReMdcTruth().

int_vector RAWEVENT::m_ReMucTruth [private]

Definition at line 129 of file RAWEVENT.h.

Referenced by getMucTruth(), and setReMucTruth().

int_vector RAWEVENT::m_ReTofTruth [private]

Definition at line 128 of file RAWEVENT.h.

Referenced by getTofTruth(), and setReTofTruth().


Generated on Tue Nov 29 23:20:47 2016 for BOSS_7.0.2 by  doxygen 1.4.7