BOSS
7.0.2
BESIII Offline Software System
Loading...
Searching...
No Matches
Event/RawDataCnv/RawDataCnv-00-04-35/RawDataCnv/Util/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
LumiDigiCol
ObjectVector< LumiDigi > LumiDigiCol
Definition:
Event/LumiDigi/LumiDigi-00-00-02/LumiDigi/LumiDigi.h:36
TofDigiCol
ObjectVector< TofDigi > TofDigiCol
Definition:
InstallArea/include/TofRawEvent/TofRawEvent/TofDigi.h:41
BufferHolder
Definition:
Event/RawDataCnv/RawDataCnv-00-04-35/RawDataCnv/Util/BufferHolder.h:8
TofBuilder
Definition:
Event/RawDataCnv/RawDataCnv-00-04-35/RawDataCnv/EventManagement/TofBuilder.h:10
TofConverter
Definition:
Event/RawDataCnv/RawDataCnv-00-04-35/RawDataCnv/Util/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:
Event/eformat/eformat-00-00-04/eformat/write/FullEventFragment.h:26
source
Event
RawDataCnv
RawDataCnv-00-04-35
RawDataCnv
Util
TofConverter.h
Generated by
1.9.6