|
||||
File indexing completed on 2025-01-18 09:59:29
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 // 0030 // GEANT4 Class header file 0031 // 0032 // 0033 // File name: G4WentzelVIRelModel 0034 // 0035 // Author: V.Ivanchenko 0036 // 0037 // Creation date: 08.06.2012 from G4WentzelVIModel 0038 // 0039 // Modifications: 0040 // 0041 // Class Description: 0042 // 0043 // Implementation of the model of multiple scattering based on 0044 // G.Wentzel, Z. Phys. 40 (1927) 590. 0045 // H.W.Lewis, Phys Rev 78 (1950) 526. 0046 // J.M. Fernandez-Varea et al., NIM B73 (1993) 447. 0047 // L.Urban, CERN-OPEN-2006-077. 0048 0049 // ------------------------------------------------------------------- 0050 // 0051 0052 #ifndef G4WentzelVIRelModel_h 0053 #define G4WentzelVIRelModel_h 1 0054 0055 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 0056 0057 #include "G4WentzelVIModel.hh" 0058 #include <vector> 0059 0060 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 0061 0062 class G4NistManager; 0063 0064 class G4WentzelVIRelModel : public G4WentzelVIModel 0065 { 0066 0067 public: 0068 0069 explicit G4WentzelVIRelModel(); 0070 0071 ~G4WentzelVIRelModel() override; 0072 0073 0074 void Initialise(const G4ParticleDefinition*, const G4DataVector&) override; 0075 0076 G4double ComputeCrossSectionPerAtom(const G4ParticleDefinition*, 0077 G4double KineticEnergy, 0078 G4double AtomicNumber, 0079 G4double AtomicWeight=0., 0080 G4double cut = DBL_MAX, 0081 G4double emax= DBL_MAX) override; 0082 0083 void DefineMaterial(const G4MaterialCutsCouple* cup); 0084 0085 // hide assignment operator 0086 G4WentzelVIRelModel & operator=(const G4WentzelVIRelModel &right) = delete; 0087 G4WentzelVIRelModel(const G4WentzelVIRelModel&) = delete; 0088 0089 private: 0090 0091 void ComputeEffectiveMass(); 0092 0093 static std::vector<G4double> effMass; 0094 G4NistManager* fNistManager; 0095 }; 0096 0097 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 0098 0099 #endif 0100
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |