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 // 26 // 27 // ------------------------------------------- 27 // ------------------------------------------------------------------- 28 // 28 // 29 // 29 // 30 // GEANT4 Class header file 30 // GEANT4 Class header file 31 // 31 // 32 // 32 // 33 // File name: G4WentzelVIRelXSection 33 // File name: G4WentzelVIRelXSection 34 // 34 // 35 // Authors: V.Ivanchenko 35 // Authors: V.Ivanchenko 36 // 36 // 37 // Creation date: 08.06.2012 from G4WentzelOKa 37 // Creation date: 08.06.2012 from G4WentzelOKandVIxSection 38 // 38 // 39 // Modifications: 39 // Modifications: 40 // 40 // 41 // 41 // 42 // Class Description: 42 // Class Description: 43 // 43 // 44 // Implementation of the computation of total 44 // Implementation of the computation of total and transport cross sections, 45 // sample scattering angle for the single scat 45 // sample scattering angle for the single scattering case. 46 // to be used by single and multiple scatterin 46 // to be used by single and multiple scattering models. References: 47 // 1) G.Wentzel, Z. Phys. 40 (1927) 590. 47 // 1) G.Wentzel, Z. Phys. 40 (1927) 590. 48 // 2) J.M. Fernandez-Varea et al., NIM B73 (19 48 // 2) J.M. Fernandez-Varea et al., NIM B73 (1993) 447. 49 // 49 // 50 // ------------------------------------------- 50 // ------------------------------------------------------------------- 51 // 51 // 52 52 53 #ifndef G4WentzelVIRelXSection_h 53 #ifndef G4WentzelVIRelXSection_h 54 #define G4WentzelVIRelXSection_h 1 54 #define G4WentzelVIRelXSection_h 1 55 55 56 //....oooOO0OOooo........oooOO0OOooo........oo 56 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 57 57 58 #include "G4WentzelOKandVIxSection.hh" 58 #include "G4WentzelOKandVIxSection.hh" 59 #include "globals.hh" 59 #include "globals.hh" 60 60 61 //....oooOO0OOooo........oooOO0OOooo........oo 61 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 62 62 63 class G4WentzelVIRelXSection : public G4Wentze 63 class G4WentzelVIRelXSection : public G4WentzelOKandVIxSection 64 { 64 { 65 65 66 public: 66 public: 67 67 68 explicit G4WentzelVIRelXSection(); 68 explicit G4WentzelVIRelXSection(); 69 69 70 ~G4WentzelVIRelXSection() override; << 70 virtual ~G4WentzelVIRelXSection(); 71 71 72 // return cos(ThetaMax) for msc and cos(thet 72 // return cos(ThetaMax) for msc and cos(thetaMin) for single scattering 73 // cut = DBL_MAX means no scattering off ele 73 // cut = DBL_MAX means no scattering off electrons 74 G4double SetupKinematic(G4double kinEnergy, << 74 virtual G4double SetupKinematic(G4double kinEnergy, const G4Material* mat); 75 75 >> 76 private: >> 77 >> 78 // hide assignment operator 76 G4WentzelVIRelXSection & operator= 79 G4WentzelVIRelXSection & operator= 77 (const G4WentzelVIRelXSection &right) = dele 80 (const G4WentzelVIRelXSection &right) = delete; 78 G4WentzelVIRelXSection(const G4WentzelVIRel 81 G4WentzelVIRelXSection(const G4WentzelVIRelXSection&) = delete; 79 82 80 }; 83 }; 81 84 82 //....oooOO0OOooo........oooOO0OOooo........oo 85 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 83 86 84 #endif 87 #endif 85 88 86 89