00001 00010 // Begin description of class here 00017 // End class description 00018 // 00023 // 00024 // 00025 // 11-08-2004 Created, but still not working (work in progress), Luciano 00026 // 00027 // --------------------------------------------------------------------------// 00028 00029 #ifndef _MAGEOUTPUTAIDA_HH 00030 #define _MAGEOUTPUTAIDA_HH 1 00031 00032 //---------------------------------------------------------------------------// 00033 00034 //CLHEP 00035 #include <CLHEP/Units/SystemOfUnits.h> 00036 00037 // AIDA 00038 00039 00040 // Geant 4 00041 #include "globals.hh" 00042 #include "G4ios.hh" 00043 #include "G4Event.hh" 00044 #include "G4Step.hh" 00045 00046 //base class 00047 #include "io/MJVOutputManager.hh" 00048 00049 //---------------------------------------------------------------------------// 00050 00051 class MaGeOutputAIDA : public MJVOutputManager 00052 { 00053 public: 00054 00055 //default constructor 00056 MaGeOutputAIDA(); 00057 00058 //copy constructor 00059 MaGeOutputAIDA(const MaGeOutputAIDA &); 00060 00061 //destructor 00062 virtual ~MaGeOutputAIDA(); 00063 00064 void OpenFile(const char* fileName); 00065 void CloseFile(); 00066 00071 virtual void DefineSchema() = 0; 00072 00078 virtual void BeginOfEventAction(const G4Event *event) {;} 00079 virtual void BeginOfRunAction() {;} 00080 virtual void EndOfEventAction(const G4Event *event) {;} 00081 virtual void EndOfRunAction() {;} 00082 virtual void SteppingAction(const G4Step* step){;} 00083 00084 00085 protected: 00086 00087 00088 private: 00089 00090 }; 00091 00092 #endif 00093 00094 00095 00096 00097 00098 00099 00100 00101 00102 00103 00104 00105