|
||||
File indexing completed on 2025-01-18 09:59: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 // GEANT4 Class file 0030 // 0031 // 0032 // File name: G4VhShellCrossSection 0033 // 0034 // Author: S. Dussoni and A. Mantero (Alfonso.Mantero@ge.infn.it) 0035 // 0036 // History: 0037 // ----------- 0038 // 23 Oct 2001 A. Mantero 1st implementation 0039 // 24 Oct 2001 MGP Cleaned up 0040 // 29 Oct 2001 VI Add delta energy 0041 // 15 Mar 2011 ALF Introduced the usage of G4AtomicShellEnumerator 0042 // 09 Mar 2012 LP Added const G4Material* to the signature of virtual 0043 // methods. 0044 // ------------------------------------------------------------------- 0045 0046 // Class Description: 0047 // 0048 // Abstract class for models of shell cross sections in proton ionisation 0049 // ------------------------------------------------------------------- 0050 // 0051 0052 #ifndef G4VHSHELLCROSSSECTION_HH 0053 #define G4VHSHELLCROSSSECTION_HH 1 0054 0055 #include "globals.hh" 0056 #include <vector> 0057 #include "G4AtomicShellEnumerator.hh" 0058 #include "G4Material.hh" 0059 0060 class G4VhShellCrossSection 0061 { 0062 public: 0063 explicit G4VhShellCrossSection(const G4String& xname = ""); 0064 virtual ~G4VhShellCrossSection(); 0065 0066 G4int SelectRandomShell(G4int Z, 0067 G4double incidentEnergy, 0068 G4double mass, 0069 G4double deltaEnergy, 0070 const G4Material* mat); 0071 0072 virtual std::vector<G4double> GetCrossSection(G4int Z, 0073 G4double incidentEnergy, 0074 G4double mass, 0075 G4double deltaEnergy, 0076 const G4Material* mat) = 0; 0077 0078 0079 virtual G4double CrossSection(G4int Z, 0080 G4AtomicShellEnumerator shell, 0081 G4double incidentEnergy, 0082 G4double mass, 0083 const G4Material* mat) =0; 0084 0085 virtual std::vector<G4double> Probabilities(G4int Z, 0086 G4double incidentEnergy, 0087 G4double mass, 0088 G4double deltaEnergy, 0089 const G4Material* mat) = 0; 0090 0091 virtual void SetTotalCS(G4double); 0092 inline const G4String& GetName() const; 0093 0094 G4VhShellCrossSection(const G4VhShellCrossSection&) = delete; 0095 G4VhShellCrossSection & operator=(const G4VhShellCrossSection &right) = delete; 0096 0097 private: 0098 G4String name; 0099 0100 }; 0101 0102 inline const G4String& G4VhShellCrossSection::GetName() const 0103 { 0104 return name; 0105 } 0106 0107 #endif 0108
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |