Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4HadronPhysicsFTFQGSP_BERT.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//---------------------------------------------------------------------------
28// Author: Alberto Ribon
29// Date: October 2017
30//
31// Hadron physics for the new, experimental physics list FTFQGSP_BERT,
32// with QGS fragmentation of strings, instead of the Lund string
33// fragmentation. Note that the string excitation is still done with FTF,
34// exactly as for FTFP_BERT.
35// Given that it is an experimental, and perhaps temporary, new type of
36// hadron physics, corresponding builders are not created and everything
37// is implemented directly in this class.
38//----------------------------------------------------------------------------
39//
40#include <iomanip>
41
43
44#include "globals.hh"
45#include "G4ios.hh"
46#include "G4SystemOfUnits.hh"
48#include "G4ParticleTable.hh"
49
54#include "G4NeutronCaptureXS.hh"
56
60
61#include "G4TheoFSGenerator.hh"
62#include "G4FTFModel.hh"
65#include "G4CascadeInterface.hh"
67
68#include "G4PhysListUtil.hh"
69#include "G4HadParticles.hh"
70#include "G4HadProcesses.hh"
71
73#include "G4HadronicBuilder.hh"
75
76// factory
78//
80
82 : G4HadronPhysicsFTFQGSP_BERT("hInelastic FTFQGSP_BERT", false)
83{}
84
86 : G4HadronPhysicsFTFP_BERT(name, qe)
87{}
88
90{}
91
93{
95 G4cout << " QGS string fragmentation instead of Lund string fragmentation."
96 << G4endl;
97}
98
100{
102 DumpBanner();
103 }
105 G4bool useFactorXS = param->ApplyFactorXS();
106 G4double emax = param->GetMaxEnergy();
108
109 auto theModel = new G4TheoFSGenerator("FTFQGSP");
110 auto theStringModel = new G4FTFModel();
111 theStringModel->SetFragmentationModel(new G4ExcitedStringDecay( new G4QGSMFragmentation() ) );
112 theModel->SetHighEnergyGenerator( theStringModel );
113 theModel->SetTransport( new G4GeneratorPrecompoundInterface() );
114 theModel->SetMinEnergy( param->GetMinEnergyTransitionFTF_Cascade() );
115 theModel->SetMaxEnergy( emax );
116
117 auto theCascade = new G4CascadeInterface();
118 theCascade->SetMaxEnergy( param->GetMaxEnergyTransitionFTF_Cascade() );
119
120 // p
122 G4HadronicProcess* proc =
123 new G4HadronInelasticProcess( particle->GetParticleName()+"Inelastic", particle );
124 proc->AddDataSet(new G4ParticleInelasticXS(particle));
125 proc->RegisterMe(theModel);
126 proc->RegisterMe(theCascade);
127 ph->RegisterProcess(proc, particle);
128 if( useFactorXS ) proc->MultiplyCrossSectionBy( param->XSFactorNucleonInelastic() );
129
130 // n
131 particle = G4Neutron::Neutron();
132 proc = new G4HadronInelasticProcess( particle->GetParticleName()+"Inelastic", particle );
133 proc->AddDataSet(new G4NeutronInelasticXS());
134 proc->RegisterMe(theModel);
135 proc->RegisterMe(theCascade);
136 ph->RegisterProcess(proc, particle);
137 if( useFactorXS ) proc->MultiplyCrossSectionBy( param->XSFactorNucleonInelastic() );
138
139 proc = new G4HadronCaptureProcess("nCapture");
140 proc->RegisterMe(new G4NeutronRadCapture());
141 ph->RegisterProcess(proc, particle);
142
143 // pi+
144 particle = G4PionPlus::PionPlus();
145 proc = new G4HadronInelasticProcess( particle->GetParticleName()+"Inelastic", particle );
146 proc->AddDataSet(new G4BGGPionInelasticXS(particle));
147 proc->RegisterMe(theModel);
148 proc->RegisterMe(theCascade);
149 ph->RegisterProcess(proc, particle);
150 if( useFactorXS ) proc->MultiplyCrossSectionBy( param->XSFactorPionInelastic() );
151
152 // pi-
153 particle = G4PionMinus::PionMinus();
154 proc = new G4HadronInelasticProcess( particle->GetParticleName()+"Inelastic", particle );
155 proc->AddDataSet(new G4BGGPionInelasticXS(particle));
156 proc->RegisterMe(theModel);
157 proc->RegisterMe(theCascade);
158 ph->RegisterProcess(proc, particle);
159 if( useFactorXS ) proc->MultiplyCrossSectionBy( param->XSFactorPionInelastic() );
160
161 // kaons
163
164 // high energy particles
165 if( emax > param->EnergyThresholdForHeavyHadrons() ) {
166
167 // pbar, nbar, anti light ions
169
170 // hyperons
172
173 // b-, c- baryons and mesons
174 if( param->EnableBCParticles() ) {
176 }
177 }
178}
179
#define G4_DECLARE_PHYSCONSTR_FACTORY(physics_constructor)
double G4double
Definition: G4Types.hh:83
bool G4bool
Definition: G4Types.hh:86
int G4int
Definition: G4Types.hh:85
#define G4endl
Definition: G4ios.hh:57
G4GLOB_DLL std::ostream G4cout
static void BuildKaonsFTFQGSP_BERT()
static void BuildBCHadronsFTFQGSP_BERT()
static void BuildHyperonsFTFQGSP_BERT()
static void BuildAntiLightIonsFTFP()
static G4HadronicParameters * Instance()
G4double GetMinEnergyTransitionFTF_Cascade() const
G4double GetMaxEnergyTransitionFTF_Cascade() const
G4bool EnableBCParticles() const
G4double EnergyThresholdForHeavyHadrons() const
G4double XSFactorPionInelastic() const
G4double GetMaxEnergy() const
G4double XSFactorNucleonInelastic() const
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void MultiplyCrossSectionBy(G4double factor)
void RegisterMe(G4HadronicInteraction *a)
static G4Neutron * Neutron()
Definition: G4Neutron.cc:103
const G4String & GetParticleName() const
G4bool RegisterProcess(G4VProcess *process, G4ParticleDefinition *particle)
static G4PhysicsListHelper * GetPhysicsListHelper()
static G4PionMinus * PionMinus()
Definition: G4PionMinus.cc:97
static G4PionPlus * PionPlus()
Definition: G4PionPlus.cc:97
static G4Proton * Proton()
Definition: G4Proton.cc:92
G4bool IsMasterThread()
Definition: G4Threading.cc:124