|
||||
File indexing completed on 2025-01-18 09:58:24
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: G4hIonisation 0033 // 0034 // Author: Laszlo Urban 0035 // 0036 // Creation date: 30.05.1997 0037 // 0038 // Modifications: 0039 // 0040 // corrected by L.Urban on 24/09/97 0041 // corrected by L.Urban on 13/01/98 0042 // bugs fixed by L.Urban on 02/02/99 0043 // 10/02/00 modifications , new e.m. structure, L.Urban 0044 // 10-08-01 new methods Store/Retrieve PhysicsTable (mma) 0045 // 14-08-01 new function ComputeRestrictedMeandEdx() + 'cleanup' (mma) 0046 // 19-09-01 come back to previous process name "hIoni" 0047 // 29-10-01 all static functions no more inlined 0048 // 07-01-02 new design of em processes (V.Ivanchenko) 0049 // 26-12-02 secondary production moved to derived classes (VI) 0050 // 24-01-03 Make models region aware (V.Ivanchenko) 0051 // 05-02-03 Fix compilation warnings (V.Ivanchenko) 0052 // 13-02-03 SubCutoff regime is assigned to a region (V.Ivanchenko) 0053 // 15-02-03 Add control on delta pointer (V.Ivanchenko) 0054 // 23-05-03 Add fluctuation model as a member function (V.Ivanchenko) 0055 // 03-06-03 Fix initialisation problem for STD ionisation (V.Ivanchenko) 0056 // 16-06-03 ShortLived are not applicable any more (V.Ivanchenko) 0057 // 08-08-03 STD substitute standard (V.Ivanchenko) 0058 // 12-11-03 G4EnergyLossSTD -> G4EnergyLossProcess (V.Ivanchenko) 0059 // 21-01-04 Migrade to G4ParticleChangeForLoss (V.Ivanchenko) 0060 // 08-11-04 Migration to new interface of Store/Retrieve tables (V.Ivantchenko) 0061 // 08-04-05 Major optimisation of internal interfaces (V.Ivantchenko) 0062 // 11-04-04 Move MaxSecondaryEnergy to models (V.Ivanchenko) 0063 // 12-09-08 Removed CorrectionsAlongStep (VI) 0064 // 0065 // Class Description: 0066 // 0067 // This class manages the ionisation process for hadrons. 0068 // it inherites from G4VContinuousDiscreteProcess via G4VEnergyLoss. 0069 // 0070 0071 // ------------------------------------------------------------------- 0072 // 0073 0074 #ifndef G4hIonisation_h 0075 #define G4hIonisation_h 1 0076 0077 #include "G4VEnergyLossProcess.hh" 0078 #include "G4Electron.hh" 0079 #include "G4Positron.hh" 0080 #include "globals.hh" 0081 0082 class G4Material; 0083 0084 class G4hIonisation : public G4VEnergyLossProcess 0085 { 0086 0087 public: 0088 0089 explicit G4hIonisation(const G4String& name = "hIoni"); 0090 0091 ~G4hIonisation() override = default; 0092 0093 G4bool IsApplicable(const G4ParticleDefinition& p) override; 0094 0095 G4double MinPrimaryEnergy(const G4ParticleDefinition* p, 0096 const G4Material*, G4double cut) final; 0097 0098 // print documentation in html format 0099 void ProcessDescription(std::ostream&) const override; 0100 0101 // hide assignment operator 0102 G4hIonisation & operator=(const G4hIonisation &right) = delete; 0103 G4hIonisation(const G4hIonisation&) = delete; 0104 0105 protected: 0106 0107 void InitialiseEnergyLossProcess(const G4ParticleDefinition*, 0108 const G4ParticleDefinition*) override; 0109 0110 private: 0111 0112 G4bool isInitialised = false; 0113 G4double mass = 0.0; 0114 G4double ratio = 0.0; 0115 G4double eth; 0116 }; 0117 0118 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... 0119 0120 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |