|
||||
File indexing completed on 2025-01-18 09:58:42
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 // GEANT4 Class header file 0030 // 0031 // 0032 // File name: G4MuBremsstrahlung 0033 // 0034 // Author: Laszlo Urban 0035 // 0036 // Creation date: 30.09.1997 0037 // 0038 // Modifications: 0039 // 0040 // 10/02/00 modifications , new e.m. structure, L.Urban 0041 // 10-08-01 new methods Store/Retrieve PhysicsTable (mma) 0042 // 29-10-01 all static functions no more inlined (mma) 0043 // 10-05-02 V.Ivanchenko update to new design 0044 // 26-12-02 secondary production moved to derived classes (VI) 0045 // 24-01-03 Make models region aware (V.Ivanchenko) 0046 // 05-02-03 Fix compilation warnings (V.Ivanchenko) 0047 // 08-08-03 STD substitute standard (V.Ivanchenko) 0048 // 12-11-03 G4EnergyLossSTD -> G4EnergyLossProcess (V.Ivanchenko) 0049 // 21-01-04 Migrade to G4ParticleChangeForLoss (V.Ivanchenko) 0050 // 10-02-04 Add lowestKinEnergy (V.Ivanchenko) 0051 // 17-08-04 Rename the process "Mu" -> "mu" (V.Ivanchenko) 0052 // 08-11-04 Migration to new interface of Store/Retrieve tables (V.Ivantchenko) 0053 // 08-04-05 Major optimisation of internal interfaces (V.Ivantchenko) 0054 // 0055 // Class Description: 0056 // 0057 // This class manages the Bremsstrahlung process for muons. 0058 // it inherites from G4VContinuousDiscreteProcess via G4VEnergyLossProcess. 0059 // 0060 0061 // ------------------------------------------------------------------- 0062 // 0063 0064 #ifndef G4MuBremsstrahlung_h 0065 #define G4MuBremsstrahlung_h 1 0066 0067 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 0068 0069 #include "globals.hh" 0070 #include "G4VEnergyLossProcess.hh" 0071 #include "G4VEmModel.hh" 0072 0073 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 0074 0075 class G4ParticleDefinition; 0076 0077 class G4MuBremsstrahlung : public G4VEnergyLossProcess 0078 0079 { 0080 public: 0081 0082 explicit G4MuBremsstrahlung(const G4String& processName = "muBrems"); 0083 0084 ~G4MuBremsstrahlung() = default; 0085 0086 G4bool IsApplicable(const G4ParticleDefinition& p) override; 0087 0088 G4double MinPrimaryEnergy(const G4ParticleDefinition* p, 0089 const G4Material*, G4double cut) override; 0090 0091 inline void SetLowestKineticEnergy(G4double e); 0092 0093 // print description in html 0094 void ProcessDescription(std::ostream&) const override; 0095 0096 G4MuBremsstrahlung & operator=(const G4MuBremsstrahlung &right) = delete; 0097 G4MuBremsstrahlung(const G4MuBremsstrahlung&) = delete; 0098 0099 protected: 0100 0101 void InitialiseEnergyLossProcess(const G4ParticleDefinition*, 0102 const G4ParticleDefinition*) override; 0103 0104 G4double lowestKinEnergy; 0105 G4bool isInitialised = false; 0106 0107 }; 0108 0109 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... 0110 0111 inline void G4MuBremsstrahlung::SetLowestKineticEnergy(G4double e) 0112 { 0113 lowestKinEnergy = e; 0114 } 0115 0116 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 0117 0118 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |