Geant4-11
G4HadronInelasticQBBC.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//
29// ClassName: G4HadronInelasticQBBC
30//
31// Author: 2 October 2009 V. Ivanchenko
32//
33// Modified:
34//
35//----------------------------------------------------------------------------
36//
37
39
40#include "G4SystemOfUnits.hh"
41
45
47
48#include "G4TheoFSGenerator.hh"
49#include "G4FTFModel.hh"
52
55
58#include "G4NeutronCaptureXS.hh"
59
61
62#include "G4CascadeInterface.hh"
63#include "G4BinaryCascade.hh"
65
66#include "G4PreCompoundModel.hh"
68
70#include "G4HadronicBuilder.hh"
71#include "G4HadParticles.hh"
72#include "G4HadProcesses.hh"
73#include "G4BuilderType.hh"
74
75// factory
77//
79
81 : G4VHadronPhysics("hInelasticQBBC")
82{
86}
87
90{}
91
93{}
94
96{
98 G4bool useFactorXS = param->ApplyFactorXS();
100
101 // configure models
102 const G4double eminFtf = param->GetMinEnergyTransitionFTF_Cascade();
103 const G4double eminBert = 1.0*CLHEP::GeV;
104 const G4double emaxBic = 1.5*CLHEP::GeV;
105 const G4double emaxBert = param->GetMaxEnergyTransitionFTF_Cascade();
106 const G4double emaxBertPions = 12.*CLHEP::GeV;
107 const G4double emax = param->GetMaxEnergy();
108
109 if(G4Threading::IsMasterThread() && param->GetVerboseLevel() > 0) {
110 G4cout << "### HadronInelasticQBBC Construct Process:\n"
111 << " Emin(FTFP)= " << eminFtf/CLHEP::GeV
112 << " GeV; Emax(FTFP)= " << emax/CLHEP::GeV << " GeV\n"
113 << " Emin(BERT)= " << eminBert/CLHEP::GeV
114 << " GeV; Emax(BERT)= " << emaxBert/CLHEP::GeV
115 << " GeV; Emax(BERTpions)= " << emaxBertPions/CLHEP::GeV
116 << " GeV;\n" << " Emin(BIC) = 0 GeV; Emax(BIC)= "
117 << emaxBic/CLHEP::GeV << " GeV." << G4endl;
118 }
119
120 // PreCompound and Evaporation models are instantiated here
121 G4PreCompoundModel* thePreCompound = nullptr;
124 thePreCompound = static_cast<G4PreCompoundModel*>(p);
125 if(!thePreCompound) { thePreCompound = new G4PreCompoundModel(); }
126
127 auto theFTFP = new G4TheoFSGenerator("FTFP");
128 auto theStringModel = new G4FTFModel();
129 theStringModel->SetFragmentationModel(new G4ExcitedStringDecay());
130 theFTFP->SetHighEnergyGenerator( theStringModel );
131 theFTFP->SetTransport( new G4GeneratorPrecompoundInterface() );
132 theFTFP->SetMinEnergy( eminFtf );
133 theFTFP->SetMaxEnergy( emax );
134
135 auto theBERT = new G4CascadeInterface();
136 theBERT->SetMinEnergy( eminBert );
137 theBERT->SetMaxEnergy( emaxBert );
138 theBERT->usePreCompoundDeexcitation();
139
140 auto theBERT1 = new G4CascadeInterface();
141 theBERT1->SetMinEnergy( eminBert );
142 theBERT1->SetMaxEnergy( emaxBertPions );
143 theBERT1->usePreCompoundDeexcitation();
144
145 auto theBIC = new G4BinaryCascade(thePreCompound);
146 theBIC->SetMaxEnergy( emaxBic );
147
148 // p
150 G4HadronicProcess* hp =
151 new G4HadronInelasticProcess( particle->GetParticleName()+"Inelastic", particle );
152 hp->AddDataSet(new G4ParticleInelasticXS(particle));
153 hp->RegisterMe(theFTFP);
154 hp->RegisterMe(theBERT);
155 hp->RegisterMe(theBIC);
156 ph->RegisterProcess(hp, particle);
157 if( useFactorXS ) hp->MultiplyCrossSectionBy( param->XSFactorNucleonInelastic() );
158
159 // n
160 particle = G4Neutron::Neutron();
161 hp = new G4HadronInelasticProcess( particle->GetParticleName()+"Inelastic", particle );
163 hp->RegisterMe(theFTFP);
164 hp->RegisterMe(theBERT);
165 hp->RegisterMe(theBIC);
166 ph->RegisterProcess(hp, particle);
167 if( useFactorXS ) hp->MultiplyCrossSectionBy( param->XSFactorNucleonInelastic() );
168
169 hp = new G4NeutronCaptureProcess("nCapture");
171 ph->RegisterProcess(hp, particle);
172
173 // pi+
174 particle = G4PionPlus::PionPlus();
175 hp = new G4HadronInelasticProcess( particle->GetParticleName()+"Inelastic", particle );
176 hp->AddDataSet(new G4BGGPionInelasticXS(particle));
177 hp->RegisterMe(theFTFP);
178 hp->RegisterMe(theBERT1);
179 hp->RegisterMe(theBIC);
180 ph->RegisterProcess(hp, particle);
181 if( useFactorXS ) hp->MultiplyCrossSectionBy( param->XSFactorPionInelastic() );
182
183 // pi-
184 particle = G4PionMinus::PionMinus();
185 hp = new G4HadronInelasticProcess( particle->GetParticleName()+"Inelastic", particle );
186 hp->AddDataSet(new G4BGGPionInelasticXS(particle));
187 hp->RegisterMe(theFTFP);
188 hp->RegisterMe(theBERT1);
189 hp->RegisterMe(theBIC);
190 ph->RegisterProcess(hp, particle);
191 if( useFactorXS ) hp->MultiplyCrossSectionBy( param->XSFactorPionInelastic() );
192
193 // kaons
195
196 // high energy particles
197 if( emax > param->EnergyThresholdForHeavyHadrons() ) {
198
199 // pbar, nbar, anti light ions
201
202 // hyperons
204
205 // b-, c- baryons and mesons
206 if( param->EnableBCParticles() ) {
208 }
209 }
210}
@ bHadronInelastic
static const G4double emax
G4_DECLARE_PHYSCONSTR_FACTORY(G4HadronInelasticQBBC)
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
void ConstructProcess() override
static void BuildBCHadronsFTFP_BERT()
static void BuildHyperonsFTFP_BERT()
static void BuildKaonsFTFP_BERT()
static void BuildAntiLightIonsFTFP()
G4HadronicInteraction * FindModel(const G4String &name)
static G4HadronicInteractionRegistry * Instance()
static G4HadronicParameters * Instance()
G4double GetMinEnergyTransitionFTF_Cascade() const
G4double GetMaxEnergyTransitionFTF_Cascade() const
void SetVerboseLevel(const G4int val)
G4bool EnableBCParticles() const
G4double EnergyThresholdForHeavyHadrons() const
void SetEnableBCParticles(G4bool val)
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
static constexpr double GeV
G4bool IsMasterThread()
Definition: G4Threading.cc:124