BOSS
7.0.4
BESIII Offline Software System
Loading...
Searching...
No Matches
Event/RawDataCnv/RawDataCnv-00-04-37/RawDataCnv/Util/MdcConverter.h
Go to the documentation of this file.
1
#ifndef MDC_CONVERTER_H
2
#define MDC_CONVERTER_H
3
4
#include "GaudiKernel/StatusCode.h"
5
#include "RawDataCnv/EventManagement/MdcBuilder.h"
6
#include "RawDataCnv/Util/BufferHolder.h"
7
#include "MdcRawEvent/MdcDigi.h"
8
9
class
MdcConverter
{
10
11
public
:
12
13
// static interfaces
14
static
MdcConverter
*
instance
(
int
runMode = 2);
//default OfflineMode
15
static
void
destroy
();
16
17
// public interfaces
18
void
init
(
int
runFrom,
int
runTo);
19
void
setRunId
(
int
runId) { m_runId = runId; }
20
StatusCode
convert
(
const
BufferHolder
& src,
MdcDigiCol
* des);
21
StatusCode
convert
(
MdcDigiCol
* src,
WriteRawEvent
*& des);
22
23
24
private
:
25
26
// private methods
27
MdcConverter
(
int
runMode);
//get its intance via the static interface!
28
~MdcConverter
();
29
30
MdcConverter
();
//stop default
31
32
// private data members
33
int
m_runMode;
//reference to the RunMode of RawDataInputSvc
34
35
int
m_runId;
36
int
m_runFrom;
37
int
m_runTo;
38
39
uint32_t m_mdcTag[16384][4];
40
41
MdcBuilder
m_builder;
42
43
// static data members
44
static
MdcConverter
* s_instance;
45
};
46
47
#endif
MdcDigiCol
ObjectVector< MdcDigi > MdcDigiCol
Definition:
InstallArea/include/MdcRawEvent/MdcRawEvent/MdcDigi.h:39
BufferHolder
Definition:
Event/RawDataCnv/RawDataCnv-00-04-37/RawDataCnv/Util/BufferHolder.h:8
MdcBuilder
Definition:
Event/RawDataCnv/RawDataCnv-00-04-37/RawDataCnv/EventManagement/MdcBuilder.h:10
MdcConverter
Definition:
Event/RawDataCnv/RawDataCnv-00-04-37/RawDataCnv/Util/MdcConverter.h:9
MdcConverter::instance
static MdcConverter * instance(int runMode=2)
Definition:
MdcConverter.cxx:6
MdcConverter::destroy
static void destroy()
Definition:
MdcConverter.cxx:15
MdcConverter::init
void init(int runFrom, int runTo)
Definition:
MdcConverter.cxx:23
MdcConverter::convert
StatusCode convert(const BufferHolder &src, MdcDigiCol *des)
Definition:
MdcConverter.cxx:31
MdcConverter::setRunId
void setRunId(int runId)
Definition:
Event/RawDataCnv/RawDataCnv-00-04-37/RawDataCnv/Util/MdcConverter.h:19
eformat::write::FullEventFragment
Definition:
Event/eformat/eformat-00-00-04/eformat/write/FullEventFragment.h:26
source
Event
RawDataCnv
RawDataCnv-00-04-37
RawDataCnv
Util
MdcConverter.h
Generated by
1.9.6