![]() |
Precalibrated Ion Beam Identification Detector Simulation 1.0
A pilot study detector simulation, written in C++ with Geant4.
|
00001 00002 00018 #ifndef MYPHYSICSLIST 00019 #define MYPHYSICSLIST 1 00020 00021 #include "G4VModularPhysicsList.hh" 00022 #include "globals.hh" 00023 #include "CompileTimeConstraints.hh" 00024 00025 template<class T> 00026 class MyPhysicsList: public T 00027 { 00028 public: 00029 MyPhysicsList(G4int ver = 0 00030 ); 00031 virtual ~MyPhysicsList(); 00032 00033 public: 00034 // SetCuts() 00035 virtual void SetCuts(); 00036 00037 private: 00038 enum {ok = CompileTimeConstraints::IsA<T, G4VModularPhysicsList>::ok }; 00040 }; 00041 00042 #include "../src/MyPhysicsList.icc" 00043 00044 #endif 00045 00046 00047