![]() |
|
|||
File indexing completed on 2025-08-02 08:28:33
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 header file 0030 // 0031 // File name: G4EmElementXS 0032 // 0033 // Author: V. Ivanchenko 0034 // 0035 // Creation date: 22 August 2024 0036 // 0037 // Modifications: 0038 // 0039 // Class Description: 0040 // 0041 // Class provide access to the cross section data stored in the G4LEDATA 0042 // data structure in form of G4PhysicsVector. For that data are uploaded 0043 // to the G4ElementData via G4ElementDataRegistry allowing sharing of 0044 // data between threads. 0045 // 0046 // When retrieve data, this class set mutex lock. 0047 // 0048 // Class Description: End 0049 0050 // ------------------------------------------------------------------- 0051 // 0052 0053 #ifndef G4EmElementXS_h 0054 #define G4EmElementXS_h 1 0055 0056 #include "globals.hh" 0057 0058 class G4ElementData; 0059 class G4EmParameters; 0060 class G4PhysicsVector; 0061 0062 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... 0063 0064 class G4EmElementXS 0065 { 0066 public: 0067 0068 explicit G4EmElementXS(G4int zmin, G4int zmax, const G4String& name, 0069 const G4String& subname); 0070 0071 ~G4EmElementXS() = default; 0072 0073 G4PhysicsVector* Retrieve(G4int Z) const; 0074 0075 G4double GetXS(G4int Z, G4double ekin) const; 0076 0077 // hide assignment operator 0078 G4EmElementXS & operator=(const G4EmElementXS &right) = delete; 0079 G4EmElementXS(const G4EmElementXS&) = delete; 0080 0081 private: 0082 0083 G4int Zmin; 0084 G4int Zmax; 0085 G4ElementData* fData; 0086 G4EmParameters* fParameters; 0087 const G4String fSubName; 0088 }; 0089 0090 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... 0091 0092 #endif 0093
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
![]() ![]() |