BOSS 6.6.4.p03
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 StatusCode convert(TofDigiCol* src, WriteRawEvent*& des);
21
22
23 private:
24
25 // private methods
26 TofConverter(); //get its instance via the static interface!
28
29 // private data members
30 TofBuilder m_builder;
31
32 // static data methods
33 static TofConverter* s_instance;
34};
35
36#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:5