BOSS 6.6.4.p03
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 addReHltRaw (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 BufferHoldergetHltBuf () 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

typedef 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 73 of file RAWEVENT.h.

73 {
74 m_bufMcPar.addBuffer(buf, size);
75 }
void addBuffer(uint32_t *buffer, uint32_t size)

Referenced by RawDataInputSvc::nextEvent(), and MixerAlg::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(), RawDataInputSvc::nextEvent(), and MixerAlg::nextEvent().

◆ addReHltRaw()

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

Definition at line 68 of file RAWEVENT.h.

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

Referenced by RawDataInputSvc::nextEvent(), and MixerAlg::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(), RawDataInputSvc::nextEvent(), and MixerAlg::nextEvent().

◆ 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(), RawDataInputSvc::nextEvent(), and MixerAlg::nextEvent().

◆ 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(), RawDataInputSvc::nextEvent(), and MixerAlg::nextEvent().

◆ 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 RawDataInputSvc::nextEvent(), and MixerAlg::nextEvent().

◆ eventHeader()

const RawEventHeader & RAWEVENT::eventHeader ( ) const
inline

Definition at line 84 of file RAWEVENT.h.

84{ return m_eventHeader; }

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

◆ getEmcBuf()

const BufferHolder & RAWEVENT::getEmcBuf ( ) const
inline

Definition at line 88 of file RAWEVENT.h.

88{ return m_bufEmcDigi; }

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

◆ getEmcTruth()

const int_vector & RAWEVENT::getEmcTruth ( ) const
inline

Definition at line 97 of file RAWEVENT.h.

97{ return m_ReEmcTruth; }

Referenced by RawDataEmcMcHitCnv::createObj().

◆ getGTDBuf()

const BufferHolder & RAWEVENT::getGTDBuf ( ) const
inline

Definition at line 90 of file RAWEVENT.h.

90{ return m_bufTrigGTD; }

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

◆ getHltBuf()

const BufferHolder & RAWEVENT::getHltBuf ( ) const
inline

Definition at line 91 of file RAWEVENT.h.

91{ return m_bufHltRaw; }

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

◆ getMcParBuf()

const BufferHolder & RAWEVENT::getMcParBuf ( ) const
inline

Definition at line 93 of file RAWEVENT.h.

93{ return m_bufMcPar; }

Referenced by RawDataMcParticleCnv::createObj().

◆ getMdcBuf()

const BufferHolder & RAWEVENT::getMdcBuf ( ) const
inline

Definition at line 86 of file RAWEVENT.h.

86{ return m_bufMdcDigi; }

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

◆ getMdcTruth()

const int_vector & RAWEVENT::getMdcTruth ( ) const
inline

Definition at line 96 of file RAWEVENT.h.

96{ return m_ReMdcTruth; }

Referenced by RawDataMdcMcHitCnv::createObj().

◆ getMucBuf()

const BufferHolder & RAWEVENT::getMucBuf ( ) const
inline

Definition at line 89 of file RAWEVENT.h.

89{ return m_bufMucDigi; }

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

◆ getMucTruth()

const int_vector & RAWEVENT::getMucTruth ( ) const
inline

Definition at line 99 of file RAWEVENT.h.

99{ return m_ReMucTruth; }

Referenced by RawDataMucMcHitCnv::createObj().

◆ getTofBuf()

const BufferHolder & RAWEVENT::getTofBuf ( ) const
inline

Definition at line 87 of file RAWEVENT.h.

87{ return m_bufTofDigi; }

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

◆ getTofTruth()

const int_vector & RAWEVENT::getTofTruth ( ) const
inline

Definition at line 98 of file RAWEVENT.h.

98{ return m_ReTofTruth; }

Referenced by RawDataTofMcHitCnv::createObj().

◆ reset()

void RAWEVENT::reset ( )

Definition at line 6 of file RAWEVENT.cxx.

6 {
7 m_bufMdcDigi.reset();
8 m_bufTofDigi.reset();
9 m_bufEmcDigi.reset();
10 m_bufMucDigi.reset();
11 m_bufTrigGTD.reset();
12 m_bufHltRaw.reset();
13 m_bufMcPar.reset();
14}

Referenced by MixerAlg::execute(), EFEventLoopMgr::executeEvent(), RawDataInputSvc::nextEvent(), and MixerAlg::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(), RawDataInputSvc::nextEvent(), and MixerAlg::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 79 of file RAWEVENT.h.

79{ m_ReEmcTruth = ReEmcTruth; }

◆ setReMdcTruth()

void RAWEVENT::setReMdcTruth ( int_vector ReMdcTruth)
inline

Definition at line 78 of file RAWEVENT.h.

78{ m_ReMdcTruth = ReMdcTruth; }

◆ setReMucTruth()

void RAWEVENT::setReMucTruth ( int_vector ReMucTruth)
inline

Definition at line 81 of file RAWEVENT.h.

81{ m_ReMucTruth = ReMucTruth; }

◆ setReTofTruth()

void RAWEVENT::setReTofTruth ( int_vector ReTofTruth)
inline

Definition at line 80 of file RAWEVENT.h.

80{ 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(), RawDataInputSvc::nextEvent(), and MixerAlg::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: