BOSS
7.0.1
BESIII Offline Software System
Loading...
Searching...
No Matches
Event/RawDataCnv/RawDataCnv-00-04-35/RawDataCnv/Util/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
EmcDigiCol
ObjectVector< EmcDigi > EmcDigiCol
Definition:
Emc/EmcRawEvent/EmcRawEvent-00-02-06/EmcRawEvent/EmcDigi.h:43
BufferHolder
Definition:
Event/RawDataCnv/RawDataCnv-00-04-35/RawDataCnv/Util/BufferHolder.h:8
EmcBuilder
Definition:
Event/RawDataCnv/RawDataCnv-00-04-35/RawDataCnv/EventManagement/EmcBuilder.h:10
EmcConverter
Definition:
Event/RawDataCnv/RawDataCnv-00-04-35/RawDataCnv/Util/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:
Event/RawDataProviderSvc/RawDataProviderSvc-00-03-46/RawDataProviderSvc/EmcRawDataProvider.h:17
eformat::write::FullEventFragment
Definition:
Event/eformat/eformat-00-00-04/eformat/write/FullEventFragment.h:26
source
Event
RawDataCnv
RawDataCnv-00-04-35
RawDataCnv
Util
EmcConverter.h
Generated by
1.9.6