Geant4 Cross Reference |
1 // 1 2 // ******************************************* 3 // * License and Disclaimer 4 // * 5 // * The Geant4 software is copyright of th 6 // * the Geant4 Collaboration. It is provided 7 // * conditions of the Geant4 Software License 8 // * LICENSE and available at http://cern.ch/ 9 // * include a list of copyright holders. 10 // * 11 // * Neither the authors of this software syst 12 // * institutes,nor the agencies providing fin 13 // * work make any representation or warran 14 // * regarding this software system or assum 15 // * use. Please see the license in the file 16 // * for the full disclaimer and the limitatio 17 // * 18 // * This code implementation is the result 19 // * technical work of the GEANT4 collaboratio 20 // * By using, copying, modifying or distri 21 // * any work based on the software) you ag 22 // * use in resulting scientific publicati 23 // * acceptance of all terms of the Geant4 Sof 24 // ******************************************* 25 // 26 // Authors: Susanna Guatelli and Francesco Rom 27 // susanna@uow.edu.au, francesco.romano@ct.inf 28 // 29 // Code based on the hadrontherapy advanced ex 30 31 #ifndef PhysicsList_h 32 #define PhysicsList_h 1 33 34 #include "G4VModularPhysicsList.hh" 35 #include "G4EmConfigurator.hh" 36 #include "globals.hh" 37 38 class G4VPhysicsConstructor; 39 class HadrontherapyStepMax; 40 class PhysicsListMessenger; 41 42 class PhysicsList: public G4VModularPhysicsLis 43 { 44 public: 45 46 PhysicsList(); 47 virtual ~PhysicsList(); 48 49 void ConstructParticle(); 50 51 void SetCutForGamma(G4double); 52 void SetCutForElectron(G4double); 53 void SetCutForPositron(G4double); 54 55 void AddPhysicsList(const G4String& name); 56 void ConstructProcess(); 57 58 void AddStepMax();// At the moment this is n 59 60 void AddPackage(const G4String& name); 61 62 private: 63 64 G4EmConfigurator em_config; 65 66 G4double cutForGamma; 67 G4double cutForElectron; 68 G4double cutForPositron; 69 70 G4bool helIsRegisted; 71 G4bool bicIsRegisted; 72 G4bool biciIsRegisted; 73 G4bool locIonIonInelasticIsRegistered; 74 G4bool radioactiveDecayIsRegisted; 75 76 G4String emName; 77 G4VPhysicsConstructor* emPhysi 78 G4VPhysicsConstructor* decPhys 79 std::vector<G4VPhysicsConstructor*> hadronP 80 81 PhysicsListMessenger* pMessenger; 82 }; 83 84 #endif 85