Geant4  9.6.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GammaRayTelHadronPhysics.cc
Go to the documentation of this file.
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 // $Id$
28 //
29 
30 #include <iomanip>
31 
33 #include "globals.hh"
34 #include "G4ios.hh"
35 #include "G4SystemOfUnits.hh"
37 
38 
40  : G4VPhysicsConstructor(name)
41 {
42 
43 
44 }
45 
47 {
48  delete theStringDecay;
49 }
50 
51 
52 #include "G4ProcessManager.hh"
53 
54 
56 {
57 
58  G4ProcessManager * pManager = 0;
59  /*
60  G4cout << "" << G4endl;
61  G4cout << "You are using the GammaRayTelHadronPhysics" << G4endl;
62  G4cout << " - Note that this hadronic physics list is not optimized for any particular usage" << G4endl;
63  G4cout << " - If you wish to have a starting point tailored for a particular area of work," << G4endl;
64  G4cout << " please use one of the available physics lists by use-case." << G4endl;
65  G4cout << "" << G4endl;
66  */
67 
68  // Elastic Process
71 
72  // pi+ and pi-
73 
76  theCascade -> SetDeExcitation(thePreEquilib);
77 
80  theStringModel -> SetFragmentationModel(theStringDecay);
81 
83  theModel -> SetTransport(theCascade);
84  theModel -> SetHighEnergyGenerator(theStringModel);
85  theModel -> SetMinEnergy(15*GeV);
86  theModel -> SetMaxEnergy(100*TeV);
87 
88  // PionPlus
90  pManager = pion ->GetProcessManager();
91  // add process
93 
98 
100 
101  pManager->AddProcess(&thePionPlusMult);
104 
105  // PionMinus
107  pManager = pionMinus -> GetProcessManager();
108  // add process
110 
115 
117 
118  pManager->AddProcess(&thePionMinusMult);
121 
123 
124  // KaonPlus
126  pManager = kaonPlus->GetProcessManager();
127  // add process
129 
135 
136  pManager->AddProcess(&theKaonPlusIonisation, ordInActive,2, 2);
137 
138  pManager->AddProcess(&theKaonPlusMult);
141 
142  // KaonMinus
144  pManager = kaonMinus->GetProcessManager();
145  // add process
147 
153 
155 
156  pManager->AddProcess(&theKaonMinusMult);
159 
161 
162  // KaonZeroL
164  // add process
166 
172 
173  // KaonZeroS
175  // add process
177 
183 
184  // Proton
185  pManager = G4Proton::Proton()->GetProcessManager();
186  // add process
188 
194 
195  pManager->AddProcess(&theProtonIonisation, ordInActive,2, 2);
196 
197  pManager->AddProcess(&theProtonMult);
200 
201  // anti-Proton
203  // add process
205 
211 
213 
214  pManager->AddProcess(&theAntiProtonMult);
217 
219 
220  // Neutron
221  pManager = G4Neutron::Neutron()->GetProcessManager();
222  // add process
224 
230 
234 
238 
239  // AntiNeutron
241  // add process
243 
249 
251 
252  // Lambda
253  pManager = G4Lambda::Lambda()->GetProcessManager();
254  // add process
256 
262 
263  // AntiLambda
265  // add process
267 
273 
274  // SigmaMinus
276  // add process
278 
284 
286 
287  pManager->AddProcess(&theSigmaMinusMult);
290 
291  // anti-SigmaMinus
293  // add process
295 
301 
303 
304  pManager->AddProcess(&theAntiSigmaMinusMult);
307 
308  // SigmaPlus
310  // add process
312 
318 
320 
321  pManager->AddProcess(&theSigmaPlusMult);
324 
325  // anti-SigmaPlus
327  // add process
329 
335 
337 
338  pManager->AddProcess(&theAntiSigmaPlusMult);
341 
342  // XiMinus
343  pManager = G4XiMinus::XiMinus()->GetProcessManager();
344  // add process
346 
352 
353  pManager->AddProcess(&theXiMinusIonisation, ordInActive,2, 2);
354 
355  pManager->AddProcess(&theXiMinusMult);
358 
359  // anti-XiMinus
361  // add process
363 
369 
371 
372  pManager->AddProcess(&theAntiXiMinusMult);
375 
376  // XiZero
377  pManager = G4XiZero::XiZero()->GetProcessManager();
378  // add process
380 
386 
387  // anti-XiZero
389  // add process
391 
397 
398  // OmegaMinus
400  // add process
402 
408 
410 
411  pManager->AddProcess(&theOmegaMinusMult);
414 
415  // anti-OmegaMinus
417  // add process
419 
425 
427 
428  pManager->AddProcess(&theAntiOmegaMinusMult);
431 
432 }