Geant4 Cross Reference |
1 // 1 // 2 // ******************************************* 2 // ******************************************************************** 3 // * License and Disclaimer 3 // * License and Disclaimer * 4 // * 4 // * * 5 // * The Geant4 software is copyright of th 5 // * The Geant4 software is copyright of the Copyright Holders of * 6 // * the Geant4 Collaboration. It is provided 6 // * the Geant4 Collaboration. It is provided under the terms and * 7 // * conditions of the Geant4 Software License 7 // * conditions of the Geant4 Software License, included in the file * 8 // * LICENSE and available at http://cern.ch/ 8 // * LICENSE and available at http://cern.ch/geant4/license . These * 9 // * include a list of copyright holders. 9 // * include a list of copyright holders. * 10 // * 10 // * * 11 // * Neither the authors of this software syst 11 // * Neither the authors of this software system, nor their employing * 12 // * institutes,nor the agencies providing fin 12 // * institutes,nor the agencies providing financial support for this * 13 // * work make any representation or warran 13 // * work make any representation or warranty, express or implied, * 14 // * regarding this software system or assum 14 // * regarding this software system or assume any liability for its * 15 // * use. Please see the license in the file 15 // * use. Please see the license in the file LICENSE and URL above * 16 // * for the full disclaimer and the limitatio 16 // * for the full disclaimer and the limitation of liability. * 17 // * 17 // * * 18 // * This code implementation is the result 18 // * This code implementation is the result of the scientific and * 19 // * technical work of the GEANT4 collaboratio 19 // * technical work of the GEANT4 collaboration. * 20 // * By using, copying, modifying or distri 20 // * By using, copying, modifying or distributing the software (or * 21 // * any work based on the software) you ag 21 // * any work based on the software) you agree to acknowledge its * 22 // * use in resulting scientific publicati 22 // * use in resulting scientific publications, and indicate your * 23 // * acceptance of all terms of the Geant4 Sof 23 // * acceptance of all terms of the Geant4 Software license. * 24 // ******************************************* 24 // ******************************************************************** 25 // 25 // >> 26 // $Id: G4WentzelVIRelXSection.hh 104307 2017-05-24 09:01:45Z gcosmo $ 26 // 27 // 27 // ------------------------------------------- 28 // ------------------------------------------------------------------- 28 // 29 // 29 // 30 // 30 // GEANT4 Class header file 31 // GEANT4 Class header file 31 // 32 // 32 // 33 // 33 // File name: G4WentzelVIRelXSection 34 // File name: G4WentzelVIRelXSection 34 // 35 // 35 // Authors: V.Ivanchenko 36 // Authors: V.Ivanchenko 36 // 37 // 37 // Creation date: 08.06.2012 from G4WentzelOKa 38 // Creation date: 08.06.2012 from G4WentzelOKandVIxSection 38 // 39 // 39 // Modifications: 40 // Modifications: 40 // 41 // 41 // 42 // 42 // Class Description: 43 // Class Description: 43 // 44 // 44 // Implementation of the computation of total 45 // Implementation of the computation of total and transport cross sections, 45 // sample scattering angle for the single scat 46 // sample scattering angle for the single scattering case. 46 // to be used by single and multiple scatterin 47 // to be used by single and multiple scattering models. References: 47 // 1) G.Wentzel, Z. Phys. 40 (1927) 590. 48 // 1) G.Wentzel, Z. Phys. 40 (1927) 590. 48 // 2) J.M. Fernandez-Varea et al., NIM B73 (19 49 // 2) J.M. Fernandez-Varea et al., NIM B73 (1993) 447. 49 // 50 // 50 // ------------------------------------------- 51 // ------------------------------------------------------------------- 51 // 52 // 52 53 53 #ifndef G4WentzelVIRelXSection_h 54 #ifndef G4WentzelVIRelXSection_h 54 #define G4WentzelVIRelXSection_h 1 55 #define G4WentzelVIRelXSection_h 1 55 56 56 //....oooOO0OOooo........oooOO0OOooo........oo 57 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 57 58 58 #include "G4WentzelOKandVIxSection.hh" 59 #include "G4WentzelOKandVIxSection.hh" 59 #include "globals.hh" 60 #include "globals.hh" 60 61 61 //....oooOO0OOooo........oooOO0OOooo........oo 62 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 62 63 63 class G4WentzelVIRelXSection : public G4Wentze 64 class G4WentzelVIRelXSection : public G4WentzelOKandVIxSection 64 { 65 { 65 66 66 public: 67 public: 67 68 68 explicit G4WentzelVIRelXSection(); 69 explicit G4WentzelVIRelXSection(); 69 70 70 ~G4WentzelVIRelXSection() override; << 71 virtual ~G4WentzelVIRelXSection(); 71 72 72 // return cos(ThetaMax) for msc and cos(thet 73 // return cos(ThetaMax) for msc and cos(thetaMin) for single scattering 73 // cut = DBL_MAX means no scattering off ele 74 // cut = DBL_MAX means no scattering off electrons 74 G4double SetupKinematic(G4double kinEnergy, << 75 virtual G4double SetupKinematic(G4double kinEnergy, const G4Material* mat); 75 76 >> 77 private: >> 78 >> 79 // hide assignment operator 76 G4WentzelVIRelXSection & operator= 80 G4WentzelVIRelXSection & operator= 77 (const G4WentzelVIRelXSection &right) = dele 81 (const G4WentzelVIRelXSection &right) = delete; 78 G4WentzelVIRelXSection(const G4WentzelVIRel 82 G4WentzelVIRelXSection(const G4WentzelVIRelXSection&) = delete; 79 83 80 }; 84 }; 81 85 82 //....oooOO0OOooo........oooOO0OOooo........oo 86 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 83 87 84 #endif 88 #endif 85 89 86 90