00001 //---------------------------------------------------------------------------// 00006 00012 00013 #ifndef BesTDSWriter_h 00014 #define BesTDSWriter_h 1 00015 00016 class G4Event; 00017 class BesRawDataWriter; 00018 class BesMcTruthWriter; 00019 00020 00021 class BesTDSWriter 00022 { 00023 public: 00024 BesTDSWriter() ; 00025 ~BesTDSWriter(); 00026 00027 public: 00028 00029 //save event head, McTruth, and raw data 00030 void SaveAll(const G4Event*, int); 00031 00032 private: 00033 00034 BesRawDataWriter* m_rawWriter; 00035 BesMcTruthWriter* m_mcWriter; 00036 00037 }; 00038 00039 #endif