00001 #include "GaudiKernel/Algorithm.h" 00002 #include "McTruth/McParticle.h" 00003 00004 class EventNavigator; 00005 00006 enum EvtNavigatorState {SIMU, RECO, ANA}; 00007 00008 class BesNavigatorInit:public Algorithm { 00009 public: 00010 BesNavigatorInit (const std::string& name, ISvcLocator* pSvcLocator); 00011 StatusCode initialize(); 00012 StatusCode execute(); 00013 StatusCode finalize(); 00014 00015 void fillMdcInfo(); 00016 void fillEmcInfo(); 00017 void fillTofInfo(); 00018 void fillMucInfo(); 00019 00020 private: 00021 EventNavigator* m_navigator; 00022 EvtNavigatorState state; 00023 00024 bool b_fillMdc; 00025 bool b_fillTof; 00026 bool b_fillEmc; 00027 bool b_fillMuc; 00028 00029 bool b_fillHitMaps; 00030 00031 int m_mdcCut; 00032 }; 00033 00034