BOSS 7.0.6
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"
8#include "LumiDigi/LumiDigi.h"
9
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!
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
ObjectVector< LumiDigi > LumiDigiCol
Definition: LumiDigi.h:36
ObjectVector< TofDigi > TofDigiCol
Definition: TofDigi.h:41
static void destroy()
StatusCode convert(const BufferHolder &src, TofDigiCol *des, LumiDigiCol *des2=0)
static TofConverter * instance()
Definition: TofConverter.cxx:6