1 | // |
---|
2 | // ******************************************************************** |
---|
3 | // * License and Disclaimer * |
---|
4 | // * * |
---|
5 | // * The Geant4 software is copyright of the Copyright Holders of * |
---|
6 | // * the Geant4 Collaboration. It is provided under the terms and * |
---|
7 | // * conditions of the Geant4 Software License, included in the file * |
---|
8 | // * LICENSE and available at http://cern.ch/geant4/license . These * |
---|
9 | // * include a list of copyright holders. * |
---|
10 | // * * |
---|
11 | // * Neither the authors of this software system, nor their employing * |
---|
12 | // * institutes,nor the agencies providing financial support for this * |
---|
13 | // * work make any representation or warranty, express or implied, * |
---|
14 | // * regarding this software system or assume any liability for its * |
---|
15 | // * use. Please see the license in the file LICENSE and URL above * |
---|
16 | // * for the full disclaimer and the limitation of liability. * |
---|
17 | // * * |
---|
18 | // * This code implementation is the result of the scientific and * |
---|
19 | // * technical work of the GEANT4 collaboration. * |
---|
20 | // * By using, copying, modifying or distributing the software (or * |
---|
21 | // * any work based on the software) you agree to acknowledge its * |
---|
22 | // * use in resulting scientific publications, and indicate your * |
---|
23 | // * acceptance of all terms of the Geant4 Software license. * |
---|
24 | // ******************************************************************** |
---|
25 | // |
---|
26 | // Code developed by: |
---|
27 | // S.Larsson |
---|
28 | // |
---|
29 | // ******************************** |
---|
30 | // * * |
---|
31 | // * PurgMagPhysicsList.hh * |
---|
32 | // * * |
---|
33 | // ******************************** |
---|
34 | // |
---|
35 | // |
---|
36 | // $Id: PurgMagPhysicsList.hh,v 1.4 2006/06/29 16:05:55 gunter Exp $ |
---|
37 | // GEANT4 tag $Name: $ |
---|
38 | // |
---|
39 | //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... |
---|
40 | |
---|
41 | #ifndef PurgMagPhysicsList_h |
---|
42 | #define PurgMagPhysicsList_h 1 |
---|
43 | |
---|
44 | #include "G4VUserPhysicsList.hh" |
---|
45 | #include "globals.hh" |
---|
46 | |
---|
47 | //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... |
---|
48 | |
---|
49 | class G4GammaConversion; |
---|
50 | class G4ComptonScattering; |
---|
51 | class G4PhotoElectricEffect; |
---|
52 | |
---|
53 | class G4eIonisation; |
---|
54 | class G4eBremsstrahlung; |
---|
55 | |
---|
56 | |
---|
57 | class PurgMagPhysicsList: public G4VUserPhysicsList |
---|
58 | { |
---|
59 | public: |
---|
60 | PurgMagPhysicsList(); |
---|
61 | ~PurgMagPhysicsList(); |
---|
62 | |
---|
63 | protected: |
---|
64 | // Construct particle and physics |
---|
65 | void ConstructParticle(); |
---|
66 | void ConstructProcess(); |
---|
67 | |
---|
68 | void SetCuts(); |
---|
69 | |
---|
70 | public: |
---|
71 | // Set Cuts |
---|
72 | void SetGammaCut(G4double); |
---|
73 | void SetElectronCut(G4double); |
---|
74 | void SetPositronCut(G4double); |
---|
75 | void SetProtonCut(G4double); |
---|
76 | |
---|
77 | void SetGammaLowLimit(G4double); |
---|
78 | void SetElectronLowLimit(G4double); |
---|
79 | void SetPositronLowLimit(G4double); |
---|
80 | void SetProtonLowLimit(G4double); |
---|
81 | void SetGEPLowLimit(G4double); |
---|
82 | |
---|
83 | void SetGELowLimit(G4double); |
---|
84 | |
---|
85 | private: |
---|
86 | |
---|
87 | G4double cutForGamma; |
---|
88 | G4double cutForElectron; |
---|
89 | G4double cutForPositron; |
---|
90 | G4double cutForProton; |
---|
91 | |
---|
92 | protected: |
---|
93 | // these methods Construct particles |
---|
94 | void ConstructBosons(); |
---|
95 | void ConstructLeptons(); |
---|
96 | void ConstructBarions(); |
---|
97 | |
---|
98 | protected: |
---|
99 | // these methods Construct physics processes and register them |
---|
100 | void ConstructGeneral(); |
---|
101 | void ConstructEM(); |
---|
102 | |
---|
103 | private: |
---|
104 | |
---|
105 | }; |
---|
106 | #endif |
---|
107 | |
---|
108 | |
---|
109 | |
---|