BOSS
7.0.8
BESIII Offline Software System
Loading...
Searching...
No Matches
TofConverter.h
Go to the documentation of this file.
1
#ifndef TOF_CONVERTER_H
2
#define TOF_CONVERTER_H
3
4
#include "GaudiKernel/StatusCode.h"
5
#include "
RawDataCnv/EventManagement/TofBuilder.h
"
6
#include "
RawDataCnv/Util/BufferHolder.h
"
7
#include "
TofRawEvent/TofDigi.h
"
8
#include "
LumiDigi/LumiDigi.h
"
9
10
class
TofConverter
{
11
12
public
:
13
14
// static interfaces
15
static
TofConverter
*
instance
();
16
static
void
destroy
();
17
18
// public interfaces
19
StatusCode
convert
(
const
BufferHolder
& src,
TofDigiCol
* des,
LumiDigiCol
* des2 = 0);
20
21
StatusCode
convert
(
const
BufferHolder
& tof,
22
const
BufferHolder
& etf,
23
TofDigiCol
* des,
24
LumiDigiCol
* des2 = 0);
25
26
StatusCode
convert
(
TofDigiCol
* src,
WriteRawEvent
*& des);
27
28
29
private
:
30
31
// private methods
32
TofConverter
();
//get its instance via the static interface!
33
~TofConverter
();
34
35
void
unPackETF(uint32_t reDigi, uint32_t& TEId, uint32_t& TEData,
36
uint32_t& TEOverflow, uint32_t& TETorQ);
37
38
// private data members
39
TofBuilder
m_builder;
40
41
// static data methods
42
static
TofConverter
* s_instance;
43
};
44
45
#endif
BufferHolder.h
LumiDigi.h
LumiDigiCol
ObjectVector< LumiDigi > LumiDigiCol
Definition:
LumiDigi.h:36
TofBuilder.h
TofDigi.h
TofDigiCol
ObjectVector< TofDigi > TofDigiCol
Definition:
TofDigi.h:41
BufferHolder
Definition:
BufferHolder.h:8
TofBuilder
Definition:
TofBuilder.h:10
TofConverter
Definition:
TofConverter.h:10
TofConverter::destroy
static void destroy()
Definition:
TofConverter.cxx:15
TofConverter::convert
StatusCode convert(const BufferHolder &src, TofDigiCol *des, LumiDigiCol *des2=0)
Definition:
TofConverter.cxx:23
TofConverter::instance
static TofConverter * instance()
Definition:
TofConverter.cxx:6
eformat::write::FullEventFragment
Definition:
write/FullEventFragment.h:26
source
Event
RawDataCnv
RawDataCnv-00-05-11
RawDataCnv
Util
TofConverter.h
Generated by
1.9.6