[825] | 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 | #ifndef G4LHEPPiKBuilder_h |
---|
| 27 | #define G4LHEPPiKBuilder_h 1 |
---|
| 28 | |
---|
| 29 | #include "globals.hh" |
---|
| 30 | #include "G4ios.hh" |
---|
| 31 | |
---|
| 32 | #include "G4VPiKBuilder.hh" |
---|
| 33 | |
---|
| 34 | #include "G4LEPionPlusInelastic.hh" |
---|
| 35 | #include "G4LEPionMinusInelastic.hh" |
---|
| 36 | #include "G4LEKaonPlusInelastic.hh" |
---|
| 37 | #include "G4LEKaonZeroSInelastic.hh" |
---|
| 38 | #include "G4LEKaonZeroLInelastic.hh" |
---|
| 39 | #include "G4LEKaonMinusInelastic.hh" |
---|
| 40 | |
---|
| 41 | #include "G4HEPionPlusInelastic.hh" |
---|
| 42 | #include "G4HEPionMinusInelastic.hh" |
---|
| 43 | #include "G4HEKaonPlusInelastic.hh" |
---|
| 44 | #include "G4HEKaonZeroInelastic.hh" |
---|
| 45 | #include "G4HEKaonZeroInelastic.hh" |
---|
| 46 | #include "G4HEKaonMinusInelastic.hh" |
---|
| 47 | |
---|
| 48 | class G4LHEPPiKBuilder : public G4VPiKBuilder |
---|
| 49 | { |
---|
| 50 | public: |
---|
| 51 | G4LHEPPiKBuilder(); |
---|
| 52 | virtual ~G4LHEPPiKBuilder(); |
---|
| 53 | |
---|
| 54 | public: |
---|
| 55 | virtual void Build(G4HadronElasticProcess *); |
---|
| 56 | virtual void Build(G4PionPlusInelasticProcess * aP); |
---|
| 57 | virtual void Build(G4PionMinusInelasticProcess * aP); |
---|
| 58 | virtual void Build(G4KaonPlusInelasticProcess * aP); |
---|
| 59 | virtual void Build(G4KaonMinusInelasticProcess * aP); |
---|
| 60 | virtual void Build(G4KaonZeroLInelasticProcess * aP); |
---|
| 61 | virtual void Build(G4KaonZeroSInelasticProcess * aP); |
---|
| 62 | |
---|
| 63 | void SetMinEnergy(G4double aM) |
---|
| 64 | { |
---|
| 65 | theM=aM; |
---|
| 66 | theMinPion=theM; |
---|
| 67 | } |
---|
| 68 | void SetMinPionEnergy(G4double aM) |
---|
| 69 | { |
---|
| 70 | theMinPion = aM; |
---|
| 71 | } |
---|
| 72 | |
---|
| 73 | private: |
---|
| 74 | G4double theM; |
---|
| 75 | G4double theMinPion; |
---|
| 76 | |
---|
| 77 | // Pi + |
---|
| 78 | G4LEPionPlusInelastic* theLEPionPlusModel; |
---|
| 79 | G4HEPionPlusInelastic* theHEPionPlusModel; |
---|
| 80 | |
---|
| 81 | // Pi - |
---|
| 82 | G4LEPionMinusInelastic* theLEPionMinusModel; |
---|
| 83 | G4HEPionMinusInelastic* theHEPionMinusModel; |
---|
| 84 | |
---|
| 85 | // K + |
---|
| 86 | G4LEKaonPlusInelastic* theLEKaonPlusModel; |
---|
| 87 | G4HEKaonPlusInelastic* theHEKaonPlusModel; |
---|
| 88 | |
---|
| 89 | // K - |
---|
| 90 | G4LEKaonMinusInelastic* theLEKaonMinusModel; |
---|
| 91 | G4HEKaonMinusInelastic* theHEKaonMinusModel; |
---|
| 92 | |
---|
| 93 | // K0L |
---|
| 94 | G4LEKaonZeroLInelastic* theLEKaonZeroLModel; |
---|
| 95 | G4HEKaonZeroInelastic* theHEKaonZeroLModel; |
---|
| 96 | |
---|
| 97 | // K0S |
---|
| 98 | G4LEKaonZeroSInelastic* theLEKaonZeroSModel; |
---|
| 99 | G4HEKaonZeroInelastic* theHEKaonZeroSModel; |
---|
| 100 | |
---|
| 101 | }; |
---|
| 102 | // 2002 by J.P. Wellisch |
---|
| 103 | |
---|
| 104 | #endif |
---|