ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4HyperonFTFPBuilder.cc
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file G4HyperonFTFPBuilder.cc
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 //---------------------------------------------------------------------------
28 //
29 // ClassName: G4HyperonFTFPBuilder
30 //
31 // Author: 2012 G.Folger
32 // Implementation started from G4HyperonLHEPBuilder.
33 //
34 // Modified:
35 //----------------------------------------------------------------------------
36 //
37 #include "G4HyperonFTFPBuilder.hh"
38 
39 #include "G4SystemOfUnits.hh"
40 #include "G4ParticleDefinition.hh"
41 #include "G4ParticleTable.hh"
42 #include "G4ProcessManager.hh"
45 #include "G4HadronicParameters.hh"
46 
47 
49  theLambdaInelastic(0),
50  theAntiLambdaInelastic(0),
51  theSigmaMinusInelastic(0),
52  theAntiSigmaMinusInelastic(0),
53  theSigmaPlusInelastic(0),
54  theAntiSigmaPlusInelastic(0),
55  theXiZeroInelastic(0),
56  theAntiXiZeroInelastic(0),
57  theXiMinusInelastic(0),
58  theAntiXiMinusInelastic(0),
59  theOmegaMinusInelastic(0),
60  theAntiOmegaMinusInelastic(0),
61  wasActivated(false)
62 {
63 
64  // Hyperon : Bertini at low energies, then FTFP
65 
66  HyperonFTFP = new G4TheoFSGenerator("FTFP");
67 
68  HyperonFTFP->SetMinEnergy( G4HadronicParameters::Instance()->GetMinEnergyTransitionFTF_Cascade() );
70 
74 
76 
79 
81  theBertini->SetMinEnergy( 0.0 );
82  theBertini->SetMaxEnergy( G4HadronicParameters::Instance()->GetMaxEnergyTransitionFTF_Cascade() );
83 
84  // AntiHyperons: Use FTFP for full energy range, starting at 0.
85 
86  AntiHyperonFTFP = new G4TheoFSGenerator("FTFP");
91 
92  // use Glauber-Gribov cross sections
94 }
95 
97 {
98  delete theStringDecay;
99  delete theLund;
100 }
101 
103 {
104  G4ProcessManager * aProcMan = 0;
105  wasActivated = true;
106 
107  // Lambda
112  aProcMan = G4Lambda::Lambda()->GetProcessManager();
114 
115  // AntiLambda
119 
122 
123  // SigmaMinus
128 
131 
132  // anti-SigmaMinus
136 
139 
140  // SigmaPlus
145 
148 
149  // anti-SigmaPlus
153 
156 
157  // XiMinus
162 
163  aProcMan = G4XiMinus::XiMinus()->GetProcessManager();
165 
166  // anti-XiMinus
170 
173 
174  // XiZero
179 
180  aProcMan = G4XiZero::XiZero()->GetProcessManager();
182 
183  // anti-XiZero
187 
190 
191  // OmegaMinus
196 
199 
200  // anti-OmegaMinus
204 
207 }
208