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 | // GEANT4 tag $Name: geant4-09-04-beta-01 $ |
---|
27 | // |
---|
28 | //--------------------------------------------------------------------------- |
---|
29 | // |
---|
30 | // ClassName: G4QInelasticCHIPSBuilder |
---|
31 | // |
---|
32 | // Author: 2009 M. Kossov |
---|
33 | // |
---|
34 | // Modified: |
---|
35 | // |
---|
36 | //---------------------------------------------------------------------------- |
---|
37 | // |
---|
38 | // Short comment: This is a physics list of only one model G4QInelastic for |
---|
39 | // all hadron-nuclear interactions at all energies. There is no model- or |
---|
40 | // process-mixing, while it is possible to merge (G4QProcessMixer) the G4_HP |
---|
41 | // processes at low energies if the G4QInelastic, which includes all necessary |
---|
42 | // nA inelastic processes, is found to be not saficient for some applications. |
---|
43 | // In this particular builder the G4QInelastic process is attached to all |
---|
44 | // hadrons other than nucleons or pi and K-mesons. Previously it could be done |
---|
45 | // only using the LHEP parameterized package or in a temporary form by the |
---|
46 | // QGSC model conditionally extended (just not crashing) to low energies. |
---|
47 | // *** Important *** As the CHIPS treatment of all hadrons is very simple, |
---|
48 | // this builder with time can be not used in the CHIPS physics list. |
---|
49 | // |
---|
50 | // ----------------------------------------------------------------------------- |
---|
51 | #ifndef G4QInelasticCHIPSBuilder_h |
---|
52 | #define G4QInelasticCHIPSBuilder_h 1 |
---|
53 | |
---|
54 | #include "globals.hh" |
---|
55 | |
---|
56 | #include "G4VPhysicsConstructor.hh" |
---|
57 | #include "G4QInelastic.hh" |
---|
58 | |
---|
59 | #include "G4ParticleDefinition.hh" |
---|
60 | #include "G4ParticleTable.hh" |
---|
61 | #include "G4ProcessManager.hh" |
---|
62 | |
---|
63 | class G4QInelasticCHIPSBuilder |
---|
64 | { |
---|
65 | public: |
---|
66 | G4QInelasticCHIPSBuilder(G4int verbose); |
---|
67 | virtual ~G4QInelasticCHIPSBuilder(); |
---|
68 | |
---|
69 | public: |
---|
70 | void Build(); |
---|
71 | |
---|
72 | protected: |
---|
73 | // the particle table has the complete List of existing particle types |
---|
74 | G4ParticleTable* theParticleTable; |
---|
75 | G4ParticleTable::G4PTblDicIterator* theParticleIterator; |
---|
76 | |
---|
77 | private: |
---|
78 | G4int verbose; |
---|
79 | G4bool wasActivated; |
---|
80 | G4QInelastic* inelastic; |
---|
81 | }; |
---|
82 | // 2009 by M. Kossov |
---|
83 | |
---|
84 | #endif |
---|