Geant4  9.6.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HadrontherapyPhysicsList.hh
Go to the documentation of this file.
1 // ********************************************************************
2 // * License and Disclaimer *
3 // * *
4 // * The Geant4 software is copyright of the Copyright Holders of *
5 // * the Geant4 Collaboration. It is provided under the terms and *
6 // * conditions of the Geant4 Software License, included in the file *
7 // * LICENSE and available at http://cern.ch/geant4/license . These *
8 // * include a list of copyright holders. *
9 // * *
10 // * Neither the authors of this software system, nor their employing *
11 // * institutes,nor the agencies providing financial support for this *
12 // * work make any representation or warranty, express or implied, *
13 // * regarding this software system or assume any liability for its *
14 // * use. Please see the license in the file LICENSE and URL above *
15 // * for the full disclaimer and the limitation of liability. *
16 // * *
17 // * This code implementation is the result of the scientific and *
18 // * technical work of the GEANT4 collaboration. *
19 // * By using, copying, modifying or distributing the software (or *
20 // * any work based on the software) you agree to acknowledge its *
21 // * use in resulting scientific publications, and indicate your *
22 // * acceptance of all terms of the Geant4 Software license. *
23 // ********************************************************************
24 //
25 // This is the *BASIC* version of Hadrontherapy, a Geant4-based application
26 // See more at: http://g4advancedexamples.lngs.infn.it/Examples/hadrontherapy
27 //
28 // Visit the Hadrontherapy web site (http://www.lns.infn.it/link/Hadrontherapy) to request
29 // the *COMPLETE* version of this program, together with its documentation;
30 // Hadrontherapy (both basic and full version) are supported by the Italian INFN
31 // Institute in the framework of the MC-INFN Group
32 //
33 
34 #ifndef HadrontherapyPhysicsList_h
35 #define HadrontherapyPhysicsList_h 1
36 
37 #include "G4VModularPhysicsList.hh"
38 #include "G4EmConfigurator.hh"
39 #include "globals.hh"
40 
44 
46 {
47 public:
48 
50  virtual ~HadrontherapyPhysicsList();
51 
52  void ConstructParticle();
53 
54  void SetCuts();
58  void SetDetectorCut(G4double cut);
59  void AddPhysicsList(const G4String& name);
60  void ConstructProcess();
61 
62  void AddStepMax();
63  HadrontherapyStepMax* GetStepMaxProcess() {return stepMaxProcess;};
64  void AddPackage(const G4String& name);
65 
66 private:
67 
68  G4EmConfigurator em_config;
69 
70  G4double cutForGamma;
71  G4double cutForElectron;
72  G4double cutForPositron;
73 
74  G4bool helIsRegistered;
75  G4bool bicIsRegistered;
76  G4bool biciIsRegistered;
77  G4bool locIonIonInelasticIsRegistered;
78  G4bool radioactiveDecayIsRegistered;
79 
80  G4String emName;
81  G4VPhysicsConstructor* emPhysicsList;
82  G4VPhysicsConstructor* decPhysicsList;
83  G4VPhysicsConstructor* raddecayList;
84 
85  std::vector<G4VPhysicsConstructor*> hadronPhys;
86 
87  HadrontherapyStepMax* stepMaxProcess;
88 
90 };
91 
92 #endif