BOSS
7.0.8
BESIII Offline Software System
Loading...
Searching...
No Matches
EmcConverter.h
Go to the documentation of this file.
1
#ifndef EMC_CONVERTER_H
2
#define EMC_CONVERTER_H
3
4
#include "GaudiKernel/StatusCode.h"
5
#include "
RawDataCnv/EventManagement/EmcBuilder.h
"
6
#include "
RawDataCnv/Util/BufferHolder.h
"
7
#include "
EmcRawEvent/EmcDigi.h
"
8
9
class
EmcRawDataProvider
;
10
11
class
EmcConverter
{
12
13
public
:
14
15
// static interfaces
16
static
EmcConverter
*
instance
(
int
runMode = 2);
//default OfflineMode
17
static
void
destroy
();
18
19
// public interfaces
20
StatusCode
convert
(
const
BufferHolder
& src,
EmcDigiCol
* des);
21
StatusCode
convert
(
EmcDigiCol
* src,
WriteRawEvent
*& des);
22
23
24
private
:
25
26
// private methods
27
EmcConverter
(
int
runMode);
//get its intance via the static interface!
28
~EmcConverter
();
29
30
EmcConverter
();
//stop default
31
32
// private data members
33
int
m_runMode;
//reference to the RunMode of RawDataInputSvc
34
35
/// pointer of EmcRawDataProvider, only OnlineMode //fucd
36
EmcRawDataProvider
* m_EmcProvider;
37
38
EmcBuilder
m_builder;
39
40
// static data members
41
static
EmcConverter
* s_instance;
42
};
43
44
#endif
BufferHolder.h
EmcBuilder.h
EmcDigi.h
EmcDigiCol
ObjectVector< EmcDigi > EmcDigiCol
Definition:
EmcDigi.h:43
BufferHolder
Definition:
BufferHolder.h:8
EmcBuilder
Definition:
EmcBuilder.h:10
EmcConverter
Definition:
EmcConverter.h:11
EmcConverter::instance
static EmcConverter * instance(int runMode=2)
Definition:
EmcConverter.cxx:9
EmcConverter::destroy
static void destroy()
Definition:
EmcConverter.cxx:18
EmcConverter::convert
StatusCode convert(const BufferHolder &src, EmcDigiCol *des)
Definition:
EmcConverter.cxx:26
EmcRawDataProvider
Definition:
EmcRawDataProvider.h:17
eformat::write::FullEventFragment
Definition:
write/FullEventFragment.h:26
source
Event
RawDataCnv
RawDataCnv-00-05-11
RawDataCnv
Util
EmcConverter.h
Generated by
1.9.6