Main Page | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

MyEventAction_ASCII.hh

Go to the documentation of this file.
00001 /**@file
00002    Provides user EventAction class specialized for ASCII file output.
00003 
00004    Original concept by H. Ikeda (Tohoku).
00005    Adapted to new GLG4sim code structure by G. Horton-Smith (Kansas State).
00006    
00007    @author H. Ikeda (Tohoku University)
00008    @author G. Horton-Smith (Tohoku, Caltech, Kansas State)
00009 */
00010    
00011 class MyEventAction : public GLG4VEventAction {
00012 private:
00013     G4std::ofstream* fofs;
00014     G4String fFileName;
00015 public:
00016     MyEventAction(): GLG4VEventAction() {
00017         fFileCmd->SetGuidance("This will be an ASCII Format File;");
00018         fofs= 0;
00019     }
00020     
00021     ~MyEventAction(){}
00022     
00023     virtual void OpenFile(const G4String filename,G4bool outputMode);
00024     virtual void CloseFile();
00025     virtual void FillData(const G4Event*);
00026     virtual void Clear(){;}
00027 
00028 };

Generated on Fri Jul 6 13:31:46 2007 for GLG4sim by  doxygen 1.3.9.1