![]() |
Precalibrated Ion Beam Identification Detector Simulation 1.0
A pilot study detector simulation, written in C++ with Geant4.
|
Customized physics list class. More...
#include <MyPhysicsList.hh>
Public Member Functions | |
MyPhysicsList (G4int ver=0) | |
Constructor, constructs the physics list. | |
virtual | ~MyPhysicsList () |
Destructor, destroys the object. | |
virtual void | SetCuts () |
Sets the cuts. | |
Private Types | |
enum | { ok = CompileTimeConstraints::IsA<T, ok = CompileTimeConstraints::IsA<T } |
Customized physics list class.
Definition at line 26 of file MyPhysicsList.hh.
MyPhysicsList< T >::MyPhysicsList | ( | G4int | ver = 0 | ) |
Constructor, constructs the physics list.
ver | Sets the verbosity level. Default is 0. |
Definition at line 28 of file MyPhysicsList.icc.
: T() { G4DataQuestionaire it(photon); G4cout << "APAAPAAPA"<<G4endl; G4cout <<G4endl; this->defaultCutValue = 0.7*mm; this->SetVerboseLevel(ver); // EM Physics this->RegisterPhysics( new G4EmStandardPhysics(ver)); // Synchroton Radiation & GN Physics this->RegisterPhysics( new G4EmExtraPhysics("extra EM")); // Decays this->RegisterPhysics( new G4DecayPhysics("decay",ver) ); // Hadron Elastic scattering this-> RegisterPhysics( new G4HadronElasticPhysics("elastic",ver,false)); // Hadron Physics G4bool quasiElastic; this->RegisterPhysics( new HadronPhysicsQGSP_BERT("hadron",quasiElastic=true)); // Stopping Physics this->RegisterPhysics( new G4QStoppingPhysics("stopping")); // Ion Physics this->RegisterPhysics( new G4IonPhysics("ion")); // Neutron tracking cut this->RegisterPhysics( new G4NeutronTrackingCut("Neutron tracking cut", ver)); // Radioactive decay physics this->RegisterPhysics(new G4RadioactiveDecayPhysics(5)); }