00001 // 00002 // ******************************************************************** 00003 // * License and Disclaimer * 00004 // * * 00005 // * The Geant4 software is copyright of the Copyright Holders of * 00006 // * the Geant4 Collaboration. It is provided under the terms and * 00007 // * conditions of the Geant4 Software License, included in the file * 00008 // * LICENSE and available at http://cern.ch/geant4/license . These * 00009 // * include a list of copyright holders. * 00010 // * * 00011 // * Neither the authors of this software system, nor their employing * 00012 // * institutes,nor the agencies providing financial support for this * 00013 // * work make any representation or warranty, express or implied, * 00014 // * regarding this software system or assume any liability for its * 00015 // * use. Please see the license in the file LICENSE and URL above * 00016 // * for the full disclaimer and the limitation of liability. * 00017 // * * 00018 // * This code implementation is the result of the scientific and * 00019 // * technical work of the GEANT4 collaboration. * 00020 // * By using, copying, modifying or distributing the software (or * 00021 // * any work based on the software) you agree to acknowledge its * 00022 // * use in resulting scientific publications, and indicate your * 00023 // * acceptance of all terms of the Geant4 Software license. * 00024 // ******************************************************************** 00025 // 00026 // GEANT4 tag $Name: not supported by cvs2svn $ 00027 // 00028 //--------------------------------------------------------------------------- 00029 // 00030 // ClassName: G4QInelasticCHIPSBuilder 00031 // 00032 // Author: 2009 M. Kossov 00033 // 00034 // Modified: 00035 // 00036 //---------------------------------------------------------------------------- 00037 // 00038 // Short comment: This is a physics list of only one model G4QInelastic for all 00039 // hadron-nuclear interactions at all energies (+CHIPS (n,gamma) for neutrons). 00040 // There's no model- or process-mixing (CHIPS_HP) as in G4Hadr Physics Package. 00041 // In this particular builder the G4QInelastic process is attached to all 00042 // hadrons (+ G4QNGamma for neutrons). Previously it could be done 00043 // only using the LHEP parameterized package or in a temporary form by the 00044 // QGSC model conditionally extended (just not crashing) to low energies. 00045 // *** Important *** As the CHIPS treatment of all hadrons is very simple, 00046 // this builder with time can be not used in the CHIPS physics list. 00047 // 00048 // ----------------------------------------------------------------------------- 00049 #ifndef G4QInelasticCHIPSBuilder_h 00050 #define G4QInelasticCHIPSBuilder_h 1 00051 00052 #include "globals.hh" 00053 00054 #include "G4VPhysicsConstructor.hh" 00055 #include "G4QInelastic.hh" 00056 #include "G4QNGamma.hh" 00057 //#include "G4QFission.hh" 00058 00059 #include "G4ParticleDefinition.hh" 00060 #include "G4ParticleTable.hh" 00061 #include "G4ProcessManager.hh" 00062 00063 class G4QInelasticCHIPSBuilder 00064 { 00065 public: 00066 G4QInelasticCHIPSBuilder(G4int verbose); 00067 virtual ~G4QInelasticCHIPSBuilder(); 00068 00069 public: 00070 void Build(); 00071 00072 protected: 00073 // the particle table has the complete List of existing particle types 00074 G4ParticleTable* theParticleTable; 00075 G4ParticleTable::G4PTblDicIterator* theParticleIterator; 00076 00077 private: 00078 G4int verbose; 00079 G4bool wasActivated; 00080 G4QInelastic* inelastic; 00081 G4QNGamma* nGamma; 00082 //G4QFission* fission; 00083 }; 00084 // 2009 by M. Kossov 00085 00086 #endif