BOSS 7.1.2
BESIII Offline Software System
Loading...
Searching...
No Matches
RAWEVENT Class Reference

#include <RAWEVENT.h>

Classes

class  RawEventHeader
 

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 addReEtsDigi (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 BufferHoldergetEtsBuf () const
 
const BufferHoldergetMcParBuf () const
 
const int_vectorgetMdcTruth () const
 
const int_vectorgetEmcTruth () const
 
const int_vectorgetTofTruth () const
 
const int_vectorgetMucTruth () const
 

Detailed Description

Definition at line 8 of file RAWEVENT.h.

Member Typedef Documentation

◆ int_vector

std::vector<uint32_t> RAWEVENT::int_vector

Definition at line 42 of file RAWEVENT.h.

Constructor & Destructor Documentation

◆ RAWEVENT()

RAWEVENT::RAWEVENT ( )

Definition at line 3 of file RAWEVENT.cxx.

3 : m_eventHeader() {
4}

◆ ~RAWEVENT()

virtual RAWEVENT::~RAWEVENT ( )
inlinevirtual

Definition at line 40 of file RAWEVENT.h.

40{}

Member Function Documentation

◆ addMcParticle()

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

Definition at line 82 of file RAWEVENT.h.

82 {
83 m_bufMcPar.addBuffer(buf, size);
84 }
void addBuffer(uint32_t *buffer, uint32_t size)

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

◆ addReEmcDigi()

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

Definition at line 56 of file RAWEVENT.h.

56 {
57 m_bufEmcDigi.addBuffer(digi, size);
58 }

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

◆ addReEtfDigi()

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

Definition at line 74 of file RAWEVENT.h.

74 {
75 m_bufEtfDigi.addBuffer(digi, size);
76 }

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

◆ addReEtsDigi()

void RAWEVENT::addReEtsDigi ( uint32_t * digi,
uint32_t size )
inline

Definition at line 77 of file RAWEVENT.h.

77 {
78 m_bufEtsDigi.addBuffer(digi, size);
79 }

Referenced by RawDataInputSvc::nextEvent().

◆ addReHltRaw()

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

Definition at line 71 of file RAWEVENT.h.

71 {
72 m_bufHltRaw.addBuffer(digi, size);
73 }

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

◆ addReMdcDigi()

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

Definition at line 53 of file RAWEVENT.h.

53 {
54 m_bufMdcDigi.addBuffer(digi, size);
55 }

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

◆ addReMucDigi()

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

Definition at line 62 of file RAWEVENT.h.

62 {
63 m_bufMucDigi.addBuffer(digi, size);
64 }

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

◆ addReTofDigi()

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

Definition at line 59 of file RAWEVENT.h.

59 {
60 m_bufTofDigi.addBuffer(digi, size);
61 }

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

◆ addReTrigGTD()

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

Definition at line 65 of file RAWEVENT.h.

65 {
66 m_bufTrigGTD.addBuffer(digi, size);
67 }

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

◆ addReZddDigi()

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

Definition at line 68 of file RAWEVENT.h.

68 {
69 m_bufZddDigi.addBuffer(digi, size);
70 }

Referenced by RawDataInputSvc::nextEvent().

◆ eventHeader()

const RawEventHeader & RAWEVENT::eventHeader ( ) const
inline

Definition at line 93 of file RAWEVENT.h.

93{ return m_eventHeader; }

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

◆ getEmcBuf()

const BufferHolder & RAWEVENT::getEmcBuf ( ) const
inline

Definition at line 97 of file RAWEVENT.h.

97{ return m_bufEmcDigi; }

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

◆ getEmcTruth()

const int_vector & RAWEVENT::getEmcTruth ( ) const
inline

Definition at line 109 of file RAWEVENT.h.

109{ return m_ReEmcTruth; }

Referenced by RawDataEmcMcHitCnv::createObj().

◆ getEtfBuf()

const BufferHolder & RAWEVENT::getEtfBuf ( ) const
inline

Definition at line 102 of file RAWEVENT.h.

102{ return m_bufEtfDigi; }

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

◆ getEtsBuf()

const BufferHolder & RAWEVENT::getEtsBuf ( ) const
inline

Definition at line 103 of file RAWEVENT.h.

103{ return m_bufEtsDigi; }

Referenced by RawDataEvtHeaderCnv::createObj().

◆ getGTDBuf()

const BufferHolder & RAWEVENT::getGTDBuf ( ) const
inline

Definition at line 99 of file RAWEVENT.h.

99{ return m_bufTrigGTD; }

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

◆ getHltBuf()

const BufferHolder & RAWEVENT::getHltBuf ( ) const
inline

Definition at line 101 of file RAWEVENT.h.

101{ return m_bufHltRaw; }

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

◆ getMcParBuf()

const BufferHolder & RAWEVENT::getMcParBuf ( ) const
inline

Definition at line 105 of file RAWEVENT.h.

105{ return m_bufMcPar; }

Referenced by RawDataMcParticleCnv::createObj().

◆ getMdcBuf()

const BufferHolder & RAWEVENT::getMdcBuf ( ) const
inline

Definition at line 95 of file RAWEVENT.h.

95{ return m_bufMdcDigi; }

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

◆ getMdcTruth()

const int_vector & RAWEVENT::getMdcTruth ( ) const
inline

Definition at line 108 of file RAWEVENT.h.

108{ return m_ReMdcTruth; }

Referenced by RawDataMdcMcHitCnv::createObj().

◆ getMucBuf()

const BufferHolder & RAWEVENT::getMucBuf ( ) const
inline

Definition at line 98 of file RAWEVENT.h.

98{ return m_bufMucDigi; }

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

◆ getMucTruth()

const int_vector & RAWEVENT::getMucTruth ( ) const
inline

Definition at line 111 of file RAWEVENT.h.

111{ return m_ReMucTruth; }

Referenced by RawDataMucMcHitCnv::createObj().

◆ getTofBuf()

const BufferHolder & RAWEVENT::getTofBuf ( ) const
inline

Definition at line 96 of file RAWEVENT.h.

96{ return m_bufTofDigi; }

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

◆ getTofTruth()

const int_vector & RAWEVENT::getTofTruth ( ) const
inline

Definition at line 110 of file RAWEVENT.h.

110{ return m_ReTofTruth; }

Referenced by RawDataTofMcHitCnv::createObj().

◆ getZddBuf()

const BufferHolder & RAWEVENT::getZddBuf ( ) const
inline

Definition at line 100 of file RAWEVENT.h.

100{ return m_bufZddDigi; }

Referenced by RawDataZddEventCnv::createObj().

◆ reset()

void RAWEVENT::reset ( )

Definition at line 6 of file RAWEVENT.cxx.

6 {
7 m_bufMdcDigi.reset();
8 m_bufTofDigi.reset();
9 m_bufEtfDigi.reset();
10 m_bufEmcDigi.reset();
11 m_bufMucDigi.reset();
12 m_bufTrigGTD.reset();
13 m_bufZddDigi.reset();
14 m_bufHltRaw.reset();
15 m_bufEtsDigi.reset();
16 m_bufMcPar.reset();
17}

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

◆ setEventNo()

void RAWEVENT::setEventNo ( uint32_t event_no)
inline

Definition at line 47 of file RAWEVENT.h.

47{ m_eventHeader.setEventNo(event_no); }
void setEventNo(uint32_t eventno)
Definition RAWEVENT.h:17

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

◆ setFlag1()

void RAWEVENT::setFlag1 ( uint32_t flag1)
inline

Definition at line 49 of file RAWEVENT.h.

49{ m_eventHeader.setFlag1(flag1); }
void setFlag1(uint32_t flag1)
Definition RAWEVENT.h:19

Referenced by RawDataInputSvc::nextEvent().

◆ setFlag2()

void RAWEVENT::setFlag2 ( uint32_t flag2)
inline

Definition at line 50 of file RAWEVENT.h.

50{ m_eventHeader.setFlag2(flag2); }
void setFlag2(uint32_t flag2)
Definition RAWEVENT.h:20

◆ setReEmcTruth()

void RAWEVENT::setReEmcTruth ( int_vector & ReEmcTruth)
inline

Definition at line 88 of file RAWEVENT.h.

88{ m_ReEmcTruth = ReEmcTruth; }

◆ setReMdcTruth()

void RAWEVENT::setReMdcTruth ( int_vector & ReMdcTruth)
inline

Definition at line 87 of file RAWEVENT.h.

87{ m_ReMdcTruth = ReMdcTruth; }

◆ setReMucTruth()

void RAWEVENT::setReMucTruth ( int_vector & ReMucTruth)
inline

Definition at line 90 of file RAWEVENT.h.

90{ m_ReMucTruth = ReMucTruth; }

◆ setReTofTruth()

void RAWEVENT::setReTofTruth ( int_vector & ReTofTruth)
inline

Definition at line 89 of file RAWEVENT.h.

89{ m_ReTofTruth = ReTofTruth; }

◆ setRunNo()

void RAWEVENT::setRunNo ( uint32_t run_no)
inline

Definition at line 46 of file RAWEVENT.h.

46{ m_eventHeader.setRunNo(run_no); }
void setRunNo(uint32_t runno)
Definition RAWEVENT.h:16

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

◆ setTime()

void RAWEVENT::setTime ( uint32_t time)
inline

Definition at line 48 of file RAWEVENT.h.

48{ m_eventHeader.setTime(time); }
Double_t time
void setTime(uint32_t time)
Definition RAWEVENT.h:18

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


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