|
||||
File indexing completed on 2025-01-18 09:58:22
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 // 0029 // ClassName: G4HadronElasticPhysics 0030 // 0031 // Author: 23 November 2006 V. Ivanchenko 0032 // 0033 // Modified: 0034 // 29.07.2010 V.Ivanchenko rename this class from G4HadronHElasticPhysics to 0035 // G4HadronElasticPhysics, old version of the class 0036 // is renamed to G4HadronElasticPhysics93 0037 // 03.06.2011 V.Ivanchenko change design - added access to pointers of the 0038 // neutron process and model 0039 // 0040 //---------------------------------------------------------------------------- 0041 // 0042 0043 #ifndef G4HadronElasticPhysics_h 0044 #define G4HadronElasticPhysics_h 1 0045 0046 #include "globals.hh" 0047 #include "G4VPhysicsConstructor.hh" 0048 #include "G4HadronElastic.hh" 0049 #include "G4HadronicProcess.hh" 0050 0051 class G4VCrossSectionDataSet; 0052 class G4ParticleDefinition; 0053 0054 class G4HadronElasticPhysics : public G4VPhysicsConstructor 0055 { 0056 public: 0057 0058 explicit G4HadronElasticPhysics(G4int ver = 1, 0059 const G4String& nam = "hElasticWEL_CHIPS_XS"); 0060 0061 ~G4HadronElasticPhysics() override = default; 0062 0063 // This method will be invoked in the Construct() method. 0064 // each particle type will be instantiated 0065 void ConstructParticle() override; 0066 0067 // This method will be invoked in the Construct() method. 0068 // each physics process will be instantiated and 0069 // registered to the process manager of each particle type 0070 void ConstructProcess() override; 0071 0072 G4HadronicProcess* GetElasticProcess(const G4ParticleDefinition* part) const; 0073 0074 G4HadronElastic* GetElasticModel(const G4ParticleDefinition* part) const; 0075 0076 G4HadronicProcess* GetNeutronProcess() const; 0077 0078 G4HadronElastic* GetNeutronModel() const; 0079 0080 void AddXSection(const G4ParticleDefinition*, G4VCrossSectionDataSet*) const; 0081 0082 // copy constructor and hide assignment operator 0083 G4HadronElasticPhysics(G4HadronElasticPhysics &) = delete; 0084 G4HadronElasticPhysics & operator=(const G4HadronElasticPhysics &right) = delete; 0085 0086 }; 0087 #endif 0088 0089 0090 0091 0092 0093 0094 0095
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |