00001 #ifndef MixerAlg_h 00002 #define MixerAlg_h 00003 00004 #include "GaudiKernel/Algorithm.h" 00005 #include <string> 00006 00007 #include "GaudiKernel/IDataProviderSvc.h" 00008 #include "RawDataCnv/EventManagement/RAWEVENT.h" 00009 00010 class MdcConverter; 00011 class TofConverter; 00012 class EmcConverter; 00013 class MucConverter; 00014 00015 class RawEventReader:public Algorithm { 00016 public: 00017 RawEventReader(const std::string& name, ISvcLocator* pSvcLocator); 00018 virtual ~RawEventReader(); 00019 StatusCode initialize(); 00020 StatusCode execute(); 00021 StatusCode finalize(); 00022 00023 StatusCode readEvent(); 00024 private: 00025 00026 IDataProviderSvc* m_evtSvc; 00027 00028 MdcConverter* m_mdcCnv; 00029 TofConverter* m_tofCnv; 00030 EmcConverter* m_emcCnv; 00031 MucConverter* m_mucCnv; 00032 00033 int m_mdcdigi; 00034 int m_tofdigi; 00035 int m_emcdigi; 00036 int m_mucdigi; 00037 00038 00039 RAWEVENT* m_raw_event; 00040 std::vector<std::string> m_inputFiles; 00041 }; 00042 00043 #endif