[819] | 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 | // |
---|
[962] | 27 | // $Id: G4NeutronHPElementData.hh,v 1.10 2008/05/20 21:24:28 tkoi Exp $ |
---|
[1196] | 28 | // GEANT4 tag $Name: geant4-09-03-cand-01 $ |
---|
[819] | 29 | // |
---|
| 30 | // Hadronic Process: Very Low Energy Neutron X-Sections |
---|
| 31 | // original by H.P. Wellisch, TRIUMF, 14-Feb-97 |
---|
| 32 | // Builds and has the Cross-section data for one material. |
---|
[962] | 33 | // |
---|
| 34 | // 080520 Delete unnecessary dependencies by T. Koi |
---|
[819] | 35 | |
---|
| 36 | #ifndef G4NeutronHPElementData_h |
---|
| 37 | #define G4NeutronHPElementData_h 1 |
---|
| 38 | #include "globals.hh" |
---|
| 39 | #include "G4NeutronHPIsoData.hh" |
---|
| 40 | #include "G4NeutronHPVector.hh" |
---|
| 41 | #include "G4Material.hh" |
---|
| 42 | #include "G4HadronCrossSections.hh" |
---|
[962] | 43 | #include "G4ReactionProduct.hh" |
---|
| 44 | #include "G4Nucleus.hh" |
---|
| 45 | //#include "G4NeutronInelasticProcess.hh" |
---|
| 46 | //#include "G4HadronFissionProcess.hh" |
---|
| 47 | //#include "G4HadronCaptureProcess.hh" |
---|
[819] | 48 | #include "G4NeutronHPElasticData.hh" |
---|
| 49 | #include "G4NeutronHPFissionData.hh" |
---|
| 50 | #include "G4NeutronHPCaptureData.hh" |
---|
| 51 | #include "G4NeutronHPInelasticData.hh" |
---|
| 52 | #include "G4StableIsotopes.hh" |
---|
| 53 | |
---|
| 54 | class G4NeutronHPElementData : public G4HadronCrossSections |
---|
| 55 | { |
---|
| 56 | public: |
---|
| 57 | |
---|
| 58 | G4NeutronHPElementData(); |
---|
| 59 | |
---|
| 60 | ~G4NeutronHPElementData(); |
---|
| 61 | |
---|
| 62 | void Init(G4Element * theElement); |
---|
| 63 | |
---|
| 64 | void UpdateData(G4int A, G4int Z, G4int index, G4double abundance); |
---|
| 65 | |
---|
| 66 | void Harmonise(G4NeutronHPVector *& theStore, G4NeutronHPVector * theNew); |
---|
| 67 | |
---|
| 68 | inline G4NeutronHPVector * GetData(G4NeutronHPFissionData * ) |
---|
| 69 | {return theFissionData;} |
---|
| 70 | inline G4NeutronHPVector * GetData(G4NeutronHPCaptureData * ) |
---|
| 71 | {return theCaptureData;} |
---|
| 72 | inline G4NeutronHPVector * GetData(G4NeutronHPElasticData * ) |
---|
| 73 | {return theElasticData;} |
---|
| 74 | inline G4NeutronHPVector * GetData(G4NeutronHPInelasticData * ) |
---|
| 75 | {return theInelasticData;} |
---|
| 76 | |
---|
| 77 | G4NeutronHPVector * MakePhysicsVector(G4Element * theElement, |
---|
| 78 | G4ParticleDefinition * theP, |
---|
| 79 | G4NeutronHPFissionData* theSet); |
---|
| 80 | |
---|
| 81 | G4NeutronHPVector * MakePhysicsVector(G4Element * theElement, |
---|
| 82 | G4ParticleDefinition * theP, |
---|
| 83 | G4NeutronHPCaptureData * theSet); |
---|
| 84 | |
---|
| 85 | G4NeutronHPVector * MakePhysicsVector(G4Element * theElement, |
---|
| 86 | G4ParticleDefinition * theP, |
---|
| 87 | G4NeutronHPElasticData * theSet); |
---|
| 88 | |
---|
| 89 | G4NeutronHPVector * MakePhysicsVector(G4Element * theElement, |
---|
| 90 | G4ParticleDefinition * theP, |
---|
| 91 | G4NeutronHPInelasticData * theSet); |
---|
| 92 | |
---|
| 93 | private: |
---|
| 94 | |
---|
| 95 | G4NeutronHPVector * theFissionData; |
---|
| 96 | G4NeutronHPVector * theCaptureData; |
---|
| 97 | G4NeutronHPVector * theElasticData; |
---|
| 98 | G4NeutronHPVector * theInelasticData; |
---|
| 99 | G4double precision; |
---|
| 100 | |
---|
| 101 | G4NeutronHPVector * theBuffer; |
---|
| 102 | |
---|
| 103 | G4NeutronHPIsoData * theIsotopeWiseData; |
---|
| 104 | |
---|
| 105 | G4StableIsotopes theStableOnes; |
---|
| 106 | |
---|
| 107 | G4String filename; |
---|
| 108 | |
---|
| 109 | }; |
---|
| 110 | |
---|
| 111 | #endif |
---|