![]() |
Precalibrated Ion Beam Identification Detector Simulation 1.0
A pilot study detector simulation, written in C++ with Geant4.
|
00001 00012 #ifndef SteppingAction_h 00013 #define SteppingAction_h 1 //!<Inclusion guard. 00014 00015 #include "G4UserSteppingAction.hh" 00016 00017 #include "DetectorConstruction.hh" 00018 #include "EventAction.hh" 00019 #include "G4UnitsTable.hh" 00020 00021 #include "G4Step.hh" 00022 00023 00024 00025 #ifndef STDIO_H 00026 #define STDIO_H //!<Inclusion guard. 00027 #include <stdio.h> 00028 #endif 00029 00030 #ifndef SSTREAM 00031 #define SSTREAM 00032 #include <sstream> 00033 #endif 00034 00035 class DetectorConstruction; 00036 class EventAction; 00037 class G4VTouchable; 00038 00046 class SteppingAction : public G4UserSteppingAction 00047 { 00048 public: 00049 SteppingAction(DetectorConstruction* 00050 , EventAction* 00051 ); 00052 00053 virtual ~SteppingAction(); 00054 00055 void UserSteppingAction(const G4Step* 00056 ); 00057 00058 private: 00059 DetectorConstruction* detector; 00060 EventAction* eventaction; 00061 }; 00062 00063 #endif