source: trunk/source/physics_lists/lists/src/HadronPhysicsQGSC_CHIPS.cc@ 1274

Last change on this file since 1274 was 1228, checked in by garnier, 16 years ago

update geant4.9.3 tag

File size: 5.3 KB
Line 
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// $Id: HadronPhysicsQGSC_CHIPS.cc,v 1.6 2009/04/17 15:29:19 mkossov Exp $
27// GEANT4 tag $Name: geant4-09-03 $
28//
29//---------------------------------------------------------------------------
30//
31// ClassName: HadronPhysicsQGSC_CHIPS
32//
33// Author: 2009 M. Kosov
34//
35// Modified:
36//
37//----------------------------------------------------------------------------
38// Short description: In fact this is the definition of the Hadronic Inelastic
39// physics. The definition of the Hadronic Elastic physics one can find in the
40// G4HadronQElasticPhysics, which is stable (the same for all physics lists).
41// The only "unstable" part of the physics is the Hadronic Inelastic physics,
42// which is usually composed of the wixing of the High Energy Inelastic Model
43// (HEIM) and the Low Energy Inelastic Model (LEIM), which are applied only for
44// some hadrons (mostly nucleons and pi-mesons), above the LHEP model, which
45// usually covers all particles (but for Sigma_0 ?) and sometimes covers the
46// "hole" between the LEIM and HIME at intermediate energies. The name of the
47// Physics list is usually have a form HEIM_LEIM and the inelastic interactions
48// are defined in the HadronicPhysicsHEIM_LEIM class. So in this particular
49// physics list the low energy model is CHIPS (G4QCollision process) and the
50// high energy model is QGSC (QGS with the Energy Flow interface to CHIPS),
51// which are in terms of the energy boundary are mixed not on the model level,
52// but on the process level (G4DiscProcessMixer class). The LHEP is completely
53// excluded from this physics list, because the MiscLHEP is substituted by the
54// MiscQGSC class (QGS with the Energy Flow interface to CHIPS), covering all
55// particles, which are not N, pi, or K, defined by the separate builders.
56//---------------------------------------------------------------------------
57
58#include "HadronPhysicsQGSC_CHIPS.hh"
59
60#include "globals.hh"
61#include "G4ios.hh"
62#include <iomanip>
63#include "G4ParticleDefinition.hh"
64#include "G4ParticleTable.hh"
65
66#include "G4MesonConstructor.hh"
67#include "G4BaryonConstructor.hh"
68#include "G4ShortLivedConstructor.hh"
69
70HadronPhysicsQGSC_CHIPS::HadronPhysicsQGSC_CHIPS(const G4String& name, G4bool quasiElastic)
71 : G4VPhysicsConstructor(name), QuasiElastic(quasiElastic)
72{}
73
74void HadronPhysicsQGSC_CHIPS::CreateModels()
75{
76 theNeut = new G4QNeutronBuilder;
77 theNeut->RegisterMe(theQGSCNeut=new G4QGSC_CHIPSNeutronBuilder(QuasiElastic));
78 //theQGSCNeut = new G4QGSC_CHIPSNeutronBuilder(QuasiElastic));
79
80 theQGSCNeut->SetMinEnergy(0.0*GeV);
81
82 theProt = new G4QProtonBuilder;
83 theProt->RegisterMe(theQGSCProt = new G4QGSC_CHIPSProtonBuilder(QuasiElastic));
84 //theQGSCProt = new G4QGSC_CHIPSProtonBuilder(QuasiElastic);
85
86 theQGSCProt->SetMinEnergy(0.0*GeV);
87
88 thePiK = new G4PiKBuilder;
89 thePiK->RegisterMe(theQGSCPiK=new G4QGSC_CHIPSPiKBuilder(QuasiElastic));
90
91 theQGSCPiK->SetMinEnergy(0.0*GeV);
92
93 theMiscQGSC=new G4MiscQGSCBuilder(0); // No verbose (@@ to be developed)
94}
95
96HadronPhysicsQGSC_CHIPS::~HadronPhysicsQGSC_CHIPS()
97{
98 delete theQGSCNeut;
99 delete theNeut;
100
101 delete theQGSCProt;
102 delete theProt;
103
104 delete theQGSCPiK;
105 delete thePiK;
106
107 delete theMiscQGSC;
108}
109
110void HadronPhysicsQGSC_CHIPS::ConstructParticle()
111{
112 G4MesonConstructor pMesonConstructor;
113 pMesonConstructor.ConstructParticle();
114
115 G4BaryonConstructor pBaryonConstructor;
116 pBaryonConstructor.ConstructParticle();
117
118 G4ShortLivedConstructor pShortLivedConstructor;
119 pShortLivedConstructor.ConstructParticle();
120}
121
122#include "G4ProcessManager.hh"
123void HadronPhysicsQGSC_CHIPS::ConstructProcess()
124{
125 CreateModels();
126 theNeut->Build();
127 theProt->Build();
128 thePiK->Build();
129 theMiscQGSC->Build();
130}
131
Note: See TracBrowser for help on using the repository browser.