CGEM BOSS 6.6.5.f
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
 
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 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 BufferHoldergetMcParBuf () const
 
const int_vectorgetMdcTruth () const
 
const int_vectorgetEmcTruth () const
 
const int_vectorgetTofTruth () const
 
const int_vectorgetMucTruth () const
 
 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 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 BufferHoldergetMcParBuf () const
 
const int_vectorgetMdcTruth () const
 
const int_vectorgetEmcTruth () const
 
const int_vectorgetTofTruth () const
 
const int_vectorgetMucTruth () const
 

Detailed Description

Member Typedef Documentation

◆ int_vector [1/2]

◆ int_vector [2/2]

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

Constructor & Destructor Documentation

◆ RAWEVENT() [1/2]

RAWEVENT::RAWEVENT ( )

Definition at line 3 of file RAWEVENT.cxx.

3 : m_eventHeader() {
4}

◆ ~RAWEVENT() [1/2]

virtual RAWEVENT::~RAWEVENT ( )
inlinevirtual

◆ RAWEVENT() [2/2]

RAWEVENT::RAWEVENT ( )

◆ ~RAWEVENT() [2/2]

virtual RAWEVENT::~RAWEVENT ( )
inlinevirtual

Member Function Documentation

◆ addMcParticle() [1/2]

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

Definition at line 76 of file Event/RawDataCnv/RawDataCnv-00-04-29-tag/RawDataCnv/EventManagement/RAWEVENT.h.

76 {
77 m_bufMcPar.addBuffer(buf, size);
78 }
void addBuffer(uint32_t *buffer, uint32_t size)

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

◆ addMcParticle() [2/2]

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

Definition at line 76 of file InstallArea/include/RawDataCnv/RawDataCnv/EventManagement/RAWEVENT.h.

76 {
77 m_bufMcPar.addBuffer(buf, size);
78 }

◆ addReEmcDigi() [1/2]

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

◆ addReEmcDigi() [2/2]

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

Definition at line 56 of file InstallArea/include/RawDataCnv/RawDataCnv/EventManagement/RAWEVENT.h.

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

◆ addReHltRaw() [1/2]

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

Definition at line 71 of file Event/RawDataCnv/RawDataCnv-00-04-29-tag/RawDataCnv/EventManagement/RAWEVENT.h.

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

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

◆ addReHltRaw() [2/2]

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

Definition at line 71 of file InstallArea/include/RawDataCnv/RawDataCnv/EventManagement/RAWEVENT.h.

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

◆ addReMdcDigi() [1/2]

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

◆ addReMdcDigi() [2/2]

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

Definition at line 53 of file InstallArea/include/RawDataCnv/RawDataCnv/EventManagement/RAWEVENT.h.

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

◆ addReMucDigi() [1/2]

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

◆ addReMucDigi() [2/2]

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

Definition at line 62 of file InstallArea/include/RawDataCnv/RawDataCnv/EventManagement/RAWEVENT.h.

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

◆ addReTofDigi() [1/2]

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

◆ addReTofDigi() [2/2]

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

Definition at line 59 of file InstallArea/include/RawDataCnv/RawDataCnv/EventManagement/RAWEVENT.h.

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

◆ addReTrigGTD() [1/2]

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

Definition at line 65 of file Event/RawDataCnv/RawDataCnv-00-04-29-tag/RawDataCnv/EventManagement/RAWEVENT.h.

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

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

◆ addReTrigGTD() [2/2]

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

Definition at line 65 of file InstallArea/include/RawDataCnv/RawDataCnv/EventManagement/RAWEVENT.h.

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

◆ addReZddDigi() [1/2]

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

Definition at line 68 of file Event/RawDataCnv/RawDataCnv-00-04-29-tag/RawDataCnv/EventManagement/RAWEVENT.h.

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

Referenced by RawDataInputSvc::nextEvent().

◆ addReZddDigi() [2/2]

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

Definition at line 68 of file InstallArea/include/RawDataCnv/RawDataCnv/EventManagement/RAWEVENT.h.

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

◆ eventHeader() [1/2]

const RawEventHeader & RAWEVENT::eventHeader ( ) const
inline

◆ eventHeader() [2/2]

const RawEventHeader & RAWEVENT::eventHeader ( ) const
inline

Definition at line 87 of file InstallArea/include/RawDataCnv/RawDataCnv/EventManagement/RAWEVENT.h.

87{ return m_eventHeader; }

◆ getEmcBuf() [1/2]

const BufferHolder & RAWEVENT::getEmcBuf ( ) const
inline

◆ getEmcBuf() [2/2]

const BufferHolder & RAWEVENT::getEmcBuf ( ) const
inline

Definition at line 91 of file InstallArea/include/RawDataCnv/RawDataCnv/EventManagement/RAWEVENT.h.

91{ return m_bufEmcDigi; }

◆ getEmcTruth() [1/2]

const int_vector & RAWEVENT::getEmcTruth ( ) const
inline

Definition at line 101 of file Event/RawDataCnv/RawDataCnv-00-04-29-tag/RawDataCnv/EventManagement/RAWEVENT.h.

101{ return m_ReEmcTruth; }

Referenced by RawDataEmcMcHitCnv::createObj().

◆ getEmcTruth() [2/2]

const int_vector & RAWEVENT::getEmcTruth ( ) const
inline

Definition at line 101 of file InstallArea/include/RawDataCnv/RawDataCnv/EventManagement/RAWEVENT.h.

101{ return m_ReEmcTruth; }

◆ getGTDBuf() [1/2]

const BufferHolder & RAWEVENT::getGTDBuf ( ) const
inline

◆ getGTDBuf() [2/2]

const BufferHolder & RAWEVENT::getGTDBuf ( ) const
inline

Definition at line 93 of file InstallArea/include/RawDataCnv/RawDataCnv/EventManagement/RAWEVENT.h.

93{ return m_bufTrigGTD; }

◆ getHltBuf() [1/2]

const BufferHolder & RAWEVENT::getHltBuf ( ) const
inline

◆ getHltBuf() [2/2]

const BufferHolder & RAWEVENT::getHltBuf ( ) const
inline

Definition at line 95 of file InstallArea/include/RawDataCnv/RawDataCnv/EventManagement/RAWEVENT.h.

95{ return m_bufHltRaw; }

◆ getMcParBuf() [1/2]

const BufferHolder & RAWEVENT::getMcParBuf ( ) const
inline

◆ getMcParBuf() [2/2]

const BufferHolder & RAWEVENT::getMcParBuf ( ) const
inline

Definition at line 97 of file InstallArea/include/RawDataCnv/RawDataCnv/EventManagement/RAWEVENT.h.

97{ return m_bufMcPar; }

◆ getMdcBuf() [1/2]

const BufferHolder & RAWEVENT::getMdcBuf ( ) const
inline

◆ getMdcBuf() [2/2]

const BufferHolder & RAWEVENT::getMdcBuf ( ) const
inline

Definition at line 89 of file InstallArea/include/RawDataCnv/RawDataCnv/EventManagement/RAWEVENT.h.

89{ return m_bufMdcDigi; }

◆ getMdcTruth() [1/2]

const int_vector & RAWEVENT::getMdcTruth ( ) const
inline

Definition at line 100 of file Event/RawDataCnv/RawDataCnv-00-04-29-tag/RawDataCnv/EventManagement/RAWEVENT.h.

100{ return m_ReMdcTruth; }

Referenced by RawDataMdcMcHitCnv::createObj().

◆ getMdcTruth() [2/2]

const int_vector & RAWEVENT::getMdcTruth ( ) const
inline

Definition at line 100 of file InstallArea/include/RawDataCnv/RawDataCnv/EventManagement/RAWEVENT.h.

100{ return m_ReMdcTruth; }

◆ getMucBuf() [1/2]

const BufferHolder & RAWEVENT::getMucBuf ( ) const
inline

◆ getMucBuf() [2/2]

const BufferHolder & RAWEVENT::getMucBuf ( ) const
inline

Definition at line 92 of file InstallArea/include/RawDataCnv/RawDataCnv/EventManagement/RAWEVENT.h.

92{ return m_bufMucDigi; }

◆ getMucTruth() [1/2]

const int_vector & RAWEVENT::getMucTruth ( ) const
inline

Definition at line 103 of file Event/RawDataCnv/RawDataCnv-00-04-29-tag/RawDataCnv/EventManagement/RAWEVENT.h.

103{ return m_ReMucTruth; }

Referenced by RawDataMucMcHitCnv::createObj().

◆ getMucTruth() [2/2]

const int_vector & RAWEVENT::getMucTruth ( ) const
inline

Definition at line 103 of file InstallArea/include/RawDataCnv/RawDataCnv/EventManagement/RAWEVENT.h.

103{ return m_ReMucTruth; }

◆ getTofBuf() [1/2]

const BufferHolder & RAWEVENT::getTofBuf ( ) const
inline

◆ getTofBuf() [2/2]

const BufferHolder & RAWEVENT::getTofBuf ( ) const
inline

Definition at line 90 of file InstallArea/include/RawDataCnv/RawDataCnv/EventManagement/RAWEVENT.h.

90{ return m_bufTofDigi; }

◆ getTofTruth() [1/2]

const int_vector & RAWEVENT::getTofTruth ( ) const
inline

Definition at line 102 of file Event/RawDataCnv/RawDataCnv-00-04-29-tag/RawDataCnv/EventManagement/RAWEVENT.h.

102{ return m_ReTofTruth; }

Referenced by RawDataTofMcHitCnv::createObj().

◆ getTofTruth() [2/2]

const int_vector & RAWEVENT::getTofTruth ( ) const
inline

Definition at line 102 of file InstallArea/include/RawDataCnv/RawDataCnv/EventManagement/RAWEVENT.h.

102{ return m_ReTofTruth; }

◆ getZddBuf() [1/2]

const BufferHolder & RAWEVENT::getZddBuf ( ) const
inline

Definition at line 94 of file Event/RawDataCnv/RawDataCnv-00-04-29-tag/RawDataCnv/EventManagement/RAWEVENT.h.

94{ return m_bufZddDigi; }

Referenced by RawDataZddEventCnv::createObj().

◆ getZddBuf() [2/2]

const BufferHolder & RAWEVENT::getZddBuf ( ) const
inline

Definition at line 94 of file InstallArea/include/RawDataCnv/RawDataCnv/EventManagement/RAWEVENT.h.

94{ return m_bufZddDigi; }

◆ reset() [1/2]

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_bufZddDigi.reset();
13 m_bufHltRaw.reset();
14 m_bufMcPar.reset();
15}

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

◆ reset() [2/2]

void RAWEVENT::reset ( )

◆ setEventNo() [1/2]

◆ setEventNo() [2/2]

void RAWEVENT::setEventNo ( uint32_t  event_no)
inline

Definition at line 47 of file InstallArea/include/RawDataCnv/RawDataCnv/EventManagement/RAWEVENT.h.

47{ m_eventHeader.setEventNo(event_no); }

◆ setFlag1() [1/2]

void RAWEVENT::setFlag1 ( uint32_t  flag1)
inline

◆ setFlag1() [2/2]

void RAWEVENT::setFlag1 ( uint32_t  flag1)
inline

Definition at line 49 of file InstallArea/include/RawDataCnv/RawDataCnv/EventManagement/RAWEVENT.h.

49{ m_eventHeader.setFlag1(flag1); }

◆ setFlag2() [1/2]

void RAWEVENT::setFlag2 ( uint32_t  flag2)
inline

◆ setFlag2() [2/2]

void RAWEVENT::setFlag2 ( uint32_t  flag2)
inline

Definition at line 50 of file InstallArea/include/RawDataCnv/RawDataCnv/EventManagement/RAWEVENT.h.

50{ m_eventHeader.setFlag2(flag2); }

◆ setReEmcTruth() [1/2]

void RAWEVENT::setReEmcTruth ( int_vector ReEmcTruth)
inline

Definition at line 82 of file Event/RawDataCnv/RawDataCnv-00-04-29-tag/RawDataCnv/EventManagement/RAWEVENT.h.

82{ m_ReEmcTruth = ReEmcTruth; }

◆ setReEmcTruth() [2/2]

void RAWEVENT::setReEmcTruth ( int_vector ReEmcTruth)
inline

Definition at line 82 of file InstallArea/include/RawDataCnv/RawDataCnv/EventManagement/RAWEVENT.h.

82{ m_ReEmcTruth = ReEmcTruth; }

◆ setReMdcTruth() [1/2]

void RAWEVENT::setReMdcTruth ( int_vector ReMdcTruth)
inline

Definition at line 81 of file Event/RawDataCnv/RawDataCnv-00-04-29-tag/RawDataCnv/EventManagement/RAWEVENT.h.

81{ m_ReMdcTruth = ReMdcTruth; }

◆ setReMdcTruth() [2/2]

void RAWEVENT::setReMdcTruth ( int_vector ReMdcTruth)
inline

Definition at line 81 of file InstallArea/include/RawDataCnv/RawDataCnv/EventManagement/RAWEVENT.h.

81{ m_ReMdcTruth = ReMdcTruth; }

◆ setReMucTruth() [1/2]

void RAWEVENT::setReMucTruth ( int_vector ReMucTruth)
inline

Definition at line 84 of file Event/RawDataCnv/RawDataCnv-00-04-29-tag/RawDataCnv/EventManagement/RAWEVENT.h.

84{ m_ReMucTruth = ReMucTruth; }

◆ setReMucTruth() [2/2]

void RAWEVENT::setReMucTruth ( int_vector ReMucTruth)
inline

Definition at line 84 of file InstallArea/include/RawDataCnv/RawDataCnv/EventManagement/RAWEVENT.h.

84{ m_ReMucTruth = ReMucTruth; }

◆ setReTofTruth() [1/2]

void RAWEVENT::setReTofTruth ( int_vector ReTofTruth)
inline

Definition at line 83 of file Event/RawDataCnv/RawDataCnv-00-04-29-tag/RawDataCnv/EventManagement/RAWEVENT.h.

83{ m_ReTofTruth = ReTofTruth; }

◆ setReTofTruth() [2/2]

void RAWEVENT::setReTofTruth ( int_vector ReTofTruth)
inline

Definition at line 83 of file InstallArea/include/RawDataCnv/RawDataCnv/EventManagement/RAWEVENT.h.

83{ m_ReTofTruth = ReTofTruth; }

◆ setRunNo() [1/2]

◆ setRunNo() [2/2]

void RAWEVENT::setRunNo ( uint32_t  run_no)
inline

Definition at line 46 of file InstallArea/include/RawDataCnv/RawDataCnv/EventManagement/RAWEVENT.h.

46{ m_eventHeader.setRunNo(run_no); }

◆ setTime() [1/2]

void RAWEVENT::setTime ( uint32_t  time)
inline

◆ setTime() [2/2]

void RAWEVENT::setTime ( uint32_t  time)
inline

Definition at line 48 of file InstallArea/include/RawDataCnv/RawDataCnv/EventManagement/RAWEVENT.h.

48{ m_eventHeader.setTime(time); }

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