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 Author: 27 Author: 28 M. Omer and R. Hajima on 17 October 2016 28 M. Omer and R. Hajima on 17 October 2016 29 contact: 29 contact: 30 omer.mohamed@jaea.go.jp and hajima.ryoichi@qst 30 omer.mohamed@jaea.go.jp and hajima.ryoichi@qst.go.jp 31 Publication Information: 31 Publication Information: 32 1- M. Omer, R. Hajima, Including Delbrück sca 32 1- M. Omer, R. Hajima, Including Delbrück scattering in Geant4, 33 Nucl. Instrum. Methods Phys. Res. Sect. B, vol 33 Nucl. Instrum. Methods Phys. Res. Sect. B, vol. 405, 2017, pp. 43-49., 34 https://doi.org/10.1016/j.nimb.2017.05.028 34 https://doi.org/10.1016/j.nimb.2017.05.028 35 2- M. Omer, R. Hajima, Geant4 physics process 35 2- M. Omer, R. Hajima, Geant4 physics process for elastic scattering of gamma-rays, 36 JAEA Technical Report 2018-007, 2018. 36 JAEA Technical Report 2018-007, 2018. 37 https://doi.org/10.11484/jaea-data-code-2018-0 37 https://doi.org/10.11484/jaea-data-code-2018-007 38 */ 38 */ 39 // on base of G4LivermoreRayleighModel 39 // on base of G4LivermoreRayleighModel 40 // 40 // 41 41 42 #ifndef G4JAEAElasticScattering_h 42 #ifndef G4JAEAElasticScattering_h 43 #define G4JAEAElasticScattering_h 1 43 #define G4JAEAElasticScattering_h 1 44 44 45 #include "G4VEmProcess.hh" 45 #include "G4VEmProcess.hh" 46 46 47 47 48 class G4JAEAElasticScattering : public G4VEmPr 48 class G4JAEAElasticScattering : public G4VEmProcess 49 { 49 { >> 50 50 public: 51 public: 51 //Constructor << 52 //Constructor 52 explicit G4JAEAElasticScattering(const G4Str << 53 G4JAEAElasticScattering(const G4String& processName ="JAEA_ES", 53 G4ProcessType type = fElectromagnet << 54 G4ProcessType type = fElectromagnetic); 54 //Destructor << 55 //Destructor 55 ~G4JAEAElasticScattering() override; << 56 virtual ~G4JAEAElasticScattering(); 56 << 57 57 //true for gamma only 58 //true for gamma only 58 G4bool IsApplicable(const G4ParticleDefiniti << 59 G4bool IsApplicable(const G4ParticleDefinition&); >> 60 >> 61 >> 62 // Adding an enumerator to those included in G4EmProcessSubType to define sub-type of EM processes >> 63 >> 64 >> 65 //SI >> 66 enum G4EmProcessSubType >> 67 {fG4JAEAElasticScattering=11}; >> 68 // >> 69 >> 70 // Print few lines of informations about the process: validity range, >> 71 virtual void PrintInfo(); 59 72 60 protected: 73 protected: 61 void InitialiseProcess(const G4ParticleDefin << 74 >> 75 virtual void InitialiseProcess(const G4ParticleDefinition*); 62 76 63 private: 77 private: >> 78 64 G4bool isInitialised; 79 G4bool isInitialised; 65 80 66 }; 81 }; 67 82 68 83 69 //....oooOO0OOooo........oooOO0OOooo........oo 84 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... 70 #endif 85 #endif 71 86