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

Last change on this file was 1337, checked in by garnier, 14 years ago

tag geant4.9.4 beta 1 + modifs locales

File size: 5.4 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.7 2010/06/03 10:42:44 gunter Exp $
27// GEANT4 tag $Name: geant4-09-04-beta-01 $
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(G4int)
71                    :  G4VPhysicsConstructor("hInelastic QGSC_CHIPS")
72                     , QuasiElastic(true)
73{}
74
75HadronPhysicsQGSC_CHIPS::HadronPhysicsQGSC_CHIPS(const G4String& name, G4bool quasiElastic)
76                    :  G4VPhysicsConstructor(name), QuasiElastic(quasiElastic)
77{}
78
79void HadronPhysicsQGSC_CHIPS::CreateModels()
80{
81  theNeut = new G4QNeutronBuilder;
82  theNeut->RegisterMe(theQGSCNeut=new G4QGSC_CHIPSNeutronBuilder(QuasiElastic));
83  //theQGSCNeut = new G4QGSC_CHIPSNeutronBuilder(QuasiElastic));
84
85  theQGSCNeut->SetMinEnergy(0.0*GeV);
86
87  theProt = new G4QProtonBuilder;
88  theProt->RegisterMe(theQGSCProt = new G4QGSC_CHIPSProtonBuilder(QuasiElastic));
89  //theQGSCProt = new G4QGSC_CHIPSProtonBuilder(QuasiElastic);
90
91  theQGSCProt->SetMinEnergy(0.0*GeV);
92
93  thePiK = new G4PiKBuilder;
94  thePiK->RegisterMe(theQGSCPiK=new G4QGSC_CHIPSPiKBuilder(QuasiElastic));
95 
96  theQGSCPiK->SetMinEnergy(0.0*GeV);
97   
98  theMiscQGSC=new G4MiscQGSCBuilder(0);           // No verbose (@@ to be developed)
99}
100
101HadronPhysicsQGSC_CHIPS::~HadronPhysicsQGSC_CHIPS() 
102{
103  delete theQGSCNeut;
104  delete theNeut;
105
106  delete theQGSCProt;
107  delete theProt;
108
109  delete theQGSCPiK;
110  delete thePiK;
111
112  delete theMiscQGSC;
113}
114
115void HadronPhysicsQGSC_CHIPS::ConstructParticle()
116{
117  G4MesonConstructor pMesonConstructor;
118  pMesonConstructor.ConstructParticle();
119
120  G4BaryonConstructor pBaryonConstructor;
121  pBaryonConstructor.ConstructParticle();
122
123  G4ShortLivedConstructor pShortLivedConstructor;
124  pShortLivedConstructor.ConstructParticle(); 
125}
126
127#include "G4ProcessManager.hh"
128void HadronPhysicsQGSC_CHIPS::ConstructProcess()
129{
130  CreateModels();
131  theNeut->Build();
132  theProt->Build();
133  thePiK->Build();
134  theMiscQGSC->Build();
135}
136
Note: See TracBrowser for help on using the repository browser.