|
||||
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: G4MuIonisation 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 // 10-05-02 V.Ivanchenko update to new design 0049 // 09-12-02 V.Ivanchenko remove warning 0050 // 26-12-02 Secondary production moved to derived classes (VI) 0051 // 24-01-03 Make models region aware (V.Ivanchenko) 0052 // 05-02-03 Fix compilation warnings (V.Ivanchenko) 0053 // 13-02-03 SubCutoff regime is assigned to a region (V.Ivanchenko) 0054 // 23-05-03 Add fluctuation model as a member function (V.Ivanchenko) 0055 // 03-06-03 Add SetIntegral method to choose fluctuation model (V.Ivanchenko) 0056 // 03-06-03 Fix initialisation problem for STD ionisation (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 // 17-08-04 Rename the process "Mu" -> "mu" (V.Ivanchenko) 0061 // 08-11-04 Migration to new interface of Store/Retrieve tables (V.Ivantchenko) 0062 // 08-04-05 Major optimisation of internal interfaces (V.Ivantchenko) 0063 // 0064 // Class Description: 0065 // 0066 // This class manages the ionisation process for muons. 0067 // it inherites from G4VContinuousDiscreteProcess via G4VEnergyLossProcess. 0068 // 0069 0070 // ------------------------------------------------------------------- 0071 // 0072 0073 #ifndef G4MuIonisation_h 0074 #define G4MuIonisation_h 1 0075 0076 #include "G4VEnergyLossProcess.hh" 0077 #include "globals.hh" 0078 #include "G4VEmModel.hh" 0079 0080 class G4Material; 0081 0082 class G4MuIonisation : public G4VEnergyLossProcess 0083 { 0084 0085 public: 0086 0087 explicit G4MuIonisation(const G4String& name = "muIoni"); 0088 0089 ~G4MuIonisation() = default; 0090 0091 G4bool IsApplicable(const G4ParticleDefinition& p) override; 0092 0093 G4double MinPrimaryEnergy(const G4ParticleDefinition* p, 0094 const G4Material*, G4double cut) override; 0095 0096 0097 // print description in html 0098 void ProcessDescription(std::ostream&) const override; 0099 0100 // hide assignment operator 0101 G4MuIonisation & operator=(const G4MuIonisation &right) = delete; 0102 G4MuIonisation(const G4MuIonisation&) = delete; 0103 0104 protected: 0105 0106 void InitialiseEnergyLossProcess(const G4ParticleDefinition*, 0107 const G4ParticleDefinition*) override; 0108 0109 private: 0110 0111 const G4ParticleDefinition* theParticle = nullptr; 0112 const G4ParticleDefinition* theBaseParticle = nullptr; 0113 0114 G4double mass = 0.0; 0115 G4double ratio = 0.0; 0116 0117 G4bool isInitialised = false; 0118 }; 0119 0120 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... 0121 0122 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |