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 | // |
---|
27 | // File name: RadmonPhysicsMuonStandard.cc |
---|
28 | // Creation date: Nov 2005 |
---|
29 | // Main author: Riccardo Capra <capra@ge.infn.it> |
---|
30 | // |
---|
31 | // Id: $Id: RadmonPhysicsMuonStandard.cc,v 1.4 2006/06/29 16:19:01 gunter Exp $ |
---|
32 | // Tag: $Name: $ |
---|
33 | // |
---|
34 | |
---|
35 | #include "RadmonPhysicsMuonStandard.hh" |
---|
36 | |
---|
37 | #include "G4Gamma.hh" |
---|
38 | #include "G4Electron.hh" |
---|
39 | #include "G4Positron.hh" |
---|
40 | #include "G4MuonPlus.hh" |
---|
41 | #include "G4MuonMinus.hh" |
---|
42 | #include "G4LeptonConstructor.hh" |
---|
43 | |
---|
44 | #include "G4ProcessManager.hh" |
---|
45 | |
---|
46 | #include "G4MultipleScattering.hh" |
---|
47 | #include "G4MuIonisation.hh" |
---|
48 | #include "G4MuBremsstrahlung.hh" |
---|
49 | #include "G4MuPairProduction.hh" |
---|
50 | #include "G4MuonMinusCaptureAtRest.hh" |
---|
51 | #include "G4StepLimiter.hh" |
---|
52 | |
---|
53 | RadmonVSubPhysicsListWithLabel * RadmonPhysicsMuonStandard :: New(void) const |
---|
54 | { |
---|
55 | return new RadmonPhysicsMuonStandard; |
---|
56 | } |
---|
57 | |
---|
58 | |
---|
59 | |
---|
60 | void RadmonPhysicsMuonStandard :: ConstructParticle(void) |
---|
61 | { |
---|
62 | G4Gamma::GammaDefinition(); |
---|
63 | G4LeptonConstructor::ConstructParticle(); |
---|
64 | } |
---|
65 | |
---|
66 | |
---|
67 | |
---|
68 | void RadmonPhysicsMuonStandard :: ConstructProcess(void) |
---|
69 | { |
---|
70 | G4ProcessManager * manager(G4MuonPlus::MuonPlusDefinition()->GetProcessManager()); |
---|
71 | manager->AddProcess(new G4MultipleScattering, ordInActive, 1, 1); |
---|
72 | manager->AddProcess(new G4MuIonisation, ordInActive, 2, 2); |
---|
73 | manager->AddProcess(new G4MuBremsstrahlung, ordInActive, 3, 3); |
---|
74 | manager->AddProcess(new G4MuPairProduction, ordInActive, 4, 4); |
---|
75 | manager->AddProcess(new G4StepLimiter, ordInActive, ordInActive, 5); |
---|
76 | |
---|
77 | manager=G4MuonMinus::MuonMinusDefinition()->GetProcessManager(); |
---|
78 | manager->AddProcess(new G4MultipleScattering, ordInActive, 1, 1); |
---|
79 | manager->AddProcess(new G4MuIonisation, ordInActive, 2, 2); |
---|
80 | manager->AddProcess(new G4MuBremsstrahlung, ordInActive, 3, 3); |
---|
81 | manager->AddProcess(new G4MuPairProduction, ordInActive, 4, 4); |
---|
82 | manager->AddProcess(new G4MuonMinusCaptureAtRest, 0, ordInActive, ordInActive); |
---|
83 | manager->AddProcess(new G4StepLimiter, ordInActive, ordInActive, 5); |
---|
84 | } |
---|
85 | |
---|
86 | |
---|
87 | |
---|
88 | void RadmonPhysicsMuonStandard :: SetCuts(void) |
---|
89 | { |
---|
90 | } |
---|
91 | |
---|
92 | |
---|
93 | |
---|
94 | |
---|
95 | |
---|
96 | const RadmonPhysicsInfoList & RadmonPhysicsMuonStandard :: Provides(void) const |
---|
97 | { |
---|
98 | if (infoList.GetNPhysicsInfos()==0) |
---|
99 | { |
---|
100 | RadmonPhysicsInfo info; |
---|
101 | |
---|
102 | G4int i(2); |
---|
103 | |
---|
104 | info.SetParticleDefinition(G4MuonPlus::MuonPlusDefinition()); |
---|
105 | while (i>0) |
---|
106 | { |
---|
107 | i--; |
---|
108 | info.SetProcessName("MultipleScattering"); |
---|
109 | info.SetMinEnergy(0.1*keV); |
---|
110 | info.SetMaxEnergy(100.*GeV); |
---|
111 | infoList.InsertPhysicsInfo(info); |
---|
112 | |
---|
113 | info.SetProcessName("Ionisation"); |
---|
114 | infoList.InsertPhysicsInfo(info); |
---|
115 | |
---|
116 | info.SetProcessName("Bremsstrahlung"); |
---|
117 | infoList.InsertPhysicsInfo(info); |
---|
118 | |
---|
119 | info.SetProcessName("MuPairProduction"); |
---|
120 | infoList.InsertPhysicsInfo(info); |
---|
121 | |
---|
122 | info.SetProcessName("StepLimiter"); |
---|
123 | info.SetMinEnergy(0.*eV); |
---|
124 | info.SetMaxEnergy(DBL_MAX); |
---|
125 | infoList.InsertPhysicsInfo(info); |
---|
126 | |
---|
127 | info.SetParticleDefinition(G4MuonMinus::MuonMinusDefinition()); |
---|
128 | } |
---|
129 | |
---|
130 | info.SetProcessName("CaptureAtRest"); |
---|
131 | info.SetMinEnergy(0.*eV); |
---|
132 | info.SetMaxEnergy(0.*eV); |
---|
133 | infoList.InsertPhysicsInfo(info); |
---|
134 | } |
---|
135 | |
---|
136 | return infoList; |
---|
137 | } |
---|