|
||||
File indexing completed on 2025-01-18 09:58:12
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 // Geant4 header G4EmBuilder 0028 // 0029 // Author V.Ivanchenko 22.05.2020 0030 // 0031 // EM physics for HEP hadrons and light ions 0032 // 0033 0034 #ifndef G4EmBuilder_h 0035 #define G4EmBuilder_h 1 0036 0037 #include "globals.hh" 0038 #include <vector> 0039 0040 class G4hMultipleScattering; 0041 class G4ParticleDefinition; 0042 class G4NuclearStopping; 0043 class G4VEmModel; 0044 class G4VMscModel; 0045 0046 class G4EmBuilder 0047 { 0048 public: 0049 0050 static void ConstructBasicEmPhysics(G4hMultipleScattering* hmsc, 0051 const std::vector<G4int>& listHadrons); 0052 0053 static void ConstructLightHadrons(G4ParticleDefinition* part1, 0054 G4ParticleDefinition* part2, 0055 G4bool isHEP, G4bool isProton, 0056 G4bool isWVI); 0057 0058 static void ConstructLightHadronsSS(G4ParticleDefinition* part1, 0059 G4ParticleDefinition* part2, 0060 G4bool isHEP); 0061 0062 static void ConstructIonEmPhysics(G4hMultipleScattering* hmsc, 0063 G4NuclearStopping* nucStopping); 0064 0065 static void ConstructIonEmPhysicsSS(); 0066 0067 // main method to be called from EM constructors to construct 0068 // EM physics for the list of leptons and hadrons common for 0069 // EM constructors 0070 static void ConstructCharged(G4hMultipleScattering* hmsc, 0071 G4NuclearStopping* nucStopping, 0072 G4bool isWVI = true); 0073 0074 static void ConstructChargedSS(G4hMultipleScattering* hmsc); 0075 0076 // minimal set of particles for EM physics 0077 static void ConstructMinimalEmSet(); 0078 0079 // prepare EM physics for construction 0080 static void PrepareEMPhysics(); 0081 0082 static void ConstructElectronMscProcess(G4VMscModel* msc1, G4VMscModel* msc2, 0083 G4ParticleDefinition* particle); 0084 0085 static void ConstructElectronSSProcess(G4VEmModel* ss, G4ParticleDefinition* particle); 0086 }; 0087 0088 #endif 0089 0090
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |