|
||||
File indexing completed on 2025-01-18 09:58:44
0001 // 0002 // ******************************************************************** 0003 // * License and Disclaimer * 0004 // * * 0005 // * The Geant4 software is copyright of the Copyright Holders of * 0006 // * the Geant4 Collaboration. It is provided under the terms and * 0007 // * conditions of the Geant4 Software License, included in the file * 0008 // * LICENSE and available at http://cern.ch/geant4/license . These * 0009 // * include a list of copyright holders. * 0010 // * * 0011 // * Neither the authors of this software system, nor their employing * 0012 // * institutes,nor the agencies providing financial support for this * 0013 // * work make any representation or warranty, express or implied, * 0014 // * regarding this software system or assume any liability for its * 0015 // * use. Please see the license in the file LICENSE and URL above * 0016 // * for the full disclaimer and the limitation of liability. * 0017 // * * 0018 // * This code implementation is the result of the scientific and * 0019 // * technical work of the GEANT4 collaboration. * 0020 // * By using, copying, modifying or distributing the software (or * 0021 // * any work based on the software) you agree to acknowledge its * 0022 // * use in resulting scientific publications, and indicate your * 0023 // * acceptance of all terms of the Geant4 Software license. * 0024 // ******************************************************************** 0025 // 0026 // 0027 // 0028 // 080417 Add IsZAApplicable method (return false) by T. Koi 0029 // 080428 Add bool onFlightDB by T. Koi 0030 // 091118 Add Ignore and Enable On Flight Doppler Broadening methods by T. Koi 0031 // 0032 // P. Arce, June-2014 Conversion neutron_hp to particle_hp 0033 // V. Ivanchenko July-2023 converted back 0034 // 0035 #ifndef G4NeutronHPCaptureData_h 0036 #define G4NeutronHPCaptureData_h 1 0037 0038 // Class Description 0039 // Cross-section data set for a high precision (based on evaluated data 0040 // libraries) description of neutron capture below 20 MeV; 0041 // To be used in your physics list in case you need this physics. 0042 // In this case you want to register an object of this class with 0043 // the corresponding process. 0044 // Class Description - End 0045 0046 #include "G4DynamicParticle.hh" 0047 #include "G4VCrossSectionDataSet.hh" 0048 0049 class G4ParticleHPManager; 0050 class G4ParticleDefinition; 0051 class G4PhysicsTable; 0052 class G4Element; 0053 class G4Material; 0054 0055 class G4NeutronHPCaptureData : public G4VCrossSectionDataSet 0056 { 0057 public: 0058 G4NeutronHPCaptureData(); 0059 ~G4NeutronHPCaptureData() override; 0060 0061 G4bool IsIsoApplicable(const G4DynamicParticle*, G4int Z, G4int A, 0062 const G4Element*, const G4Material*) override; 0063 0064 G4double GetIsoCrossSection(const G4DynamicParticle*, G4int Z, G4int A, 0065 const G4Isotope*, const G4Element*, 0066 const G4Material*) override; 0067 0068 G4double GetCrossSection(const G4DynamicParticle*, const G4Element*, G4double aT); 0069 0070 void BuildPhysicsTable(const G4ParticleDefinition&) override; 0071 0072 void DumpPhysicsTable(const G4ParticleDefinition&) override; 0073 0074 void CrossSectionDescription(std::ostream&) const override; 0075 0076 private: 0077 static G4PhysicsTable* theCrossSections; 0078 G4ParticleHPManager* fManager; 0079 G4double emax; 0080 0081 G4double ke_cache{0.0}; 0082 G4double xs_cache{0.0}; 0083 const G4Element* element_cache{nullptr}; 0084 const G4Material* material_cache{nullptr}; 0085 0086 G4bool isFirst{false}; 0087 static G4bool fLock; 0088 }; 0089 0090 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |