/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Event/RawDataCnv/RawDataCnv-00-04-35/RawDataCnv/Util/MucConverter.h

Go to the documentation of this file.
00001 #ifndef MUC_CONVERTER_H
00002 #define MUC_CONVERTER_H
00003 
00004 #include "GaudiKernel/StatusCode.h"
00005 #include "RawDataCnv/EventManagement/MucBuilder.h"
00006 #include "RawDataCnv/Util/BufferHolder.h"
00007 #include "MucRawEvent/MucDigi.h"
00008 
00009 class MucConverter {
00010 
00011    public:
00012 
00013       // static interfaces
00014       static MucConverter* instance();
00015       static void destroy();
00016 
00017       // public interfaces
00018       StatusCode convert(const BufferHolder& src, MucDigiCol* des);
00019       StatusCode convert(MucDigiCol* src, WriteRawEvent*& des);
00020 
00021 
00022    private:
00023 
00024       // private methods
00025       MucConverter();  //get its intance via the static interface!
00026       ~MucConverter();
00027 
00028       // private data members
00029       MucBuilder m_builder;
00030 
00031       // static data members
00032       static MucConverter* s_instance;
00033 };
00034 
00035 #endif

Generated on Tue Nov 29 22:58:31 2016 for BOSS_7.0.2 by  doxygen 1.4.7