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 #ifndef G4LHEPPiKBuilder_h 00027 #define G4LHEPPiKBuilder_h 1 00028 00029 #include "globals.hh" 00030 #include "G4ios.hh" 00031 00032 #include "G4VPiKBuilder.hh" 00033 00034 #include "G4LEPionPlusInelastic.hh" 00035 #include "G4LEPionMinusInelastic.hh" 00036 #include "G4LEKaonPlusInelastic.hh" 00037 #include "G4LEKaonZeroSInelastic.hh" 00038 #include "G4LEKaonZeroLInelastic.hh" 00039 #include "G4LEKaonMinusInelastic.hh" 00040 00041 #include "G4HEPionPlusInelastic.hh" 00042 #include "G4HEPionMinusInelastic.hh" 00043 #include "G4HEKaonPlusInelastic.hh" 00044 #include "G4HEKaonZeroInelastic.hh" 00045 #include "G4HEKaonZeroInelastic.hh" 00046 #include "G4HEKaonMinusInelastic.hh" 00047 00048 class G4LHEPPiKBuilder : public G4VPiKBuilder 00049 { 00050 public: 00051 G4LHEPPiKBuilder(); 00052 virtual ~G4LHEPPiKBuilder(); 00053 00054 public: 00055 virtual void Build(G4HadronElasticProcess *); 00056 virtual void Build(G4PionPlusInelasticProcess * aP); 00057 virtual void Build(G4PionMinusInelasticProcess * aP); 00058 virtual void Build(G4KaonPlusInelasticProcess * aP); 00059 virtual void Build(G4KaonMinusInelasticProcess * aP); 00060 virtual void Build(G4KaonZeroLInelasticProcess * aP); 00061 virtual void Build(G4KaonZeroSInelasticProcess * aP); 00062 00063 void SetMinEnergy(G4double aM) 00064 { 00065 theM=aM; 00066 theMinPion=theM; 00067 } 00068 void SetMinPionEnergy(G4double aM) 00069 { 00070 theMinPion = aM; 00071 } 00072 00073 private: 00074 G4double theM; 00075 G4double theMinPion; 00076 00077 // Pi + 00078 G4LEPionPlusInelastic* theLEPionPlusModel; 00079 G4HEPionPlusInelastic* theHEPionPlusModel; 00080 00081 // Pi - 00082 G4LEPionMinusInelastic* theLEPionMinusModel; 00083 G4HEPionMinusInelastic* theHEPionMinusModel; 00084 00085 // K + 00086 G4LEKaonPlusInelastic* theLEKaonPlusModel; 00087 G4HEKaonPlusInelastic* theHEKaonPlusModel; 00088 00089 // K - 00090 G4LEKaonMinusInelastic* theLEKaonMinusModel; 00091 G4HEKaonMinusInelastic* theHEKaonMinusModel; 00092 00093 // K0L 00094 G4LEKaonZeroLInelastic* theLEKaonZeroLModel; 00095 G4HEKaonZeroInelastic* theHEKaonZeroLModel; 00096 00097 // K0S 00098 G4LEKaonZeroSInelastic* theLEKaonZeroSModel; 00099 G4HEKaonZeroInelastic* theHEKaonZeroSModel; 00100 00101 }; 00102 // 2002 by J.P. Wellisch 00103 00104 #endif