00001 // 00002 // ******************************************************************** 00003 // * License and Disclaimer * 00004 // * * 00005 // * The Geant4 software is copyright of the Copyright Holders of * 00006 // * the Geant4 Collaboration. It is provided under the terms and * 00007 // * conditions of the Geant4 Software License, included in the file * 00008 // * LICENSE and available at http://cern.ch/geant4/license . These * 00009 // * include a list of copyright holders. * 00010 // * * 00011 // * Neither the authors of this software system, nor their employing * 00012 // * institutes,nor the agencies providing financial support for this * 00013 // * work make any representation or warranty, express or implied, * 00014 // * regarding this software system or assume any liability for its * 00015 // * use. Please see the license in the file LICENSE and URL above * 00016 // * for the full disclaimer and the limitation of liability. * 00017 // * * 00018 // * This code implementation is the result of the scientific and * 00019 // * technical work of the GEANT4 collaboration. * 00020 // * By using, copying, modifying or distributing the software (or * 00021 // * any work based on the software) you agree to acknowledge its * 00022 // * use in resulting scientific publications, and indicate your * 00023 // * acceptance of all terms of the Geant4 Software license. * 00024 // ******************************************************************** 00025 // 00026 // $Id$ 00027 // 00028 // ------------------------------------------------------------------- 00029 // 00030 // GEANT4 Class header file 00031 // 00032 // 00033 // File name: G4MuIonisation 00034 // 00035 // Author: Laszlo Urban 00036 // 00037 // Creation date: 30.05.1997 00038 // 00039 // Modifications: 00040 // 00041 // corrected by L.Urban on 24/09/97 00042 // corrected by L.Urban on 13/01/98 00043 // bugs fixed by L.Urban on 02/02/99 00044 // 10/02/00 modifications , new e.m. structure, L.Urban 00045 // 10-08-01 new methods Store/Retrieve PhysicsTable (mma) 00046 // 14-08-01 new function ComputeRestrictedMeandEdx() + 'cleanup' (mma) 00047 // 19-09-01 come back to previous process name "hIoni" 00048 // 29-10-01 all static functions no more inlined 00049 // 10-05-02 V.Ivanchenko update to new design 00050 // 09-12-02 V.Ivanchenko remove warning 00051 // 26-12-02 Secondary production moved to derived classes (VI) 00052 // 24-01-03 Make models region aware (V.Ivanchenko) 00053 // 05-02-03 Fix compilation warnings (V.Ivanchenko) 00054 // 13-02-03 SubCutoff regime is assigned to a region (V.Ivanchenko) 00055 // 23-05-03 Add fluctuation model as a member function (V.Ivanchenko) 00056 // 03-06-03 Add SetIntegral method to choose fluctuation model (V.Ivanchenko) 00057 // 03-06-03 Fix initialisation problem for STD ionisation (V.Ivanchenko) 00058 // 08-08-03 STD substitute standard (V.Ivanchenko) 00059 // 12-11-03 G4EnergyLossSTD -> G4EnergyLossProcess (V.Ivanchenko) 00060 // 21-01-04 Migrade to G4ParticleChangeForLoss (V.Ivanchenko) 00061 // 17-08-04 Rename the process "Mu" -> "mu" (V.Ivanchenko) 00062 // 08-11-04 Migration to new interface of Store/Retrieve tables (V.Ivantchenko) 00063 // 08-04-05 Major optimisation of internal interfaces (V.Ivantchenko) 00064 // 00065 // Class Description: 00066 // 00067 // This class manages the ionisation process for muons. 00068 // it inherites from G4VContinuousDiscreteProcess via G4VEnergyLossProcess. 00069 // 00070 00071 // ------------------------------------------------------------------- 00072 // 00073 00074 #ifndef G4MuIonisation_h 00075 #define G4MuIonisation_h 1 00076 00077 #include "G4VEnergyLossProcess.hh" 00078 #include "G4Electron.hh" 00079 #include "G4Positron.hh" 00080 #include "globals.hh" 00081 #include "G4VEmModel.hh" 00082 00083 class G4Material; 00084 00085 class G4MuIonisation : public G4VEnergyLossProcess 00086 { 00087 00088 public: 00089 00090 G4MuIonisation(const G4String& name = "muIoni"); 00091 00092 virtual ~G4MuIonisation(); 00093 00094 virtual G4bool IsApplicable(const G4ParticleDefinition& p); 00095 00096 virtual G4double MinPrimaryEnergy(const G4ParticleDefinition* p, 00097 const G4Material*, G4double cut); 00098 00099 // Print out of the class parameters 00100 virtual void PrintInfo(); 00101 00102 protected: 00103 00104 virtual void InitialiseEnergyLossProcess(const G4ParticleDefinition*, 00105 const G4ParticleDefinition*); 00106 00107 private: 00108 00109 // hide assignment operator 00110 G4MuIonisation & operator=(const G4MuIonisation &right); 00111 G4MuIonisation(const G4MuIonisation&); 00112 00113 G4double mass; 00114 G4double ratio; 00115 00116 const G4ParticleDefinition* theParticle; 00117 const G4ParticleDefinition* theBaseParticle; 00118 G4bool isInitialised; 00119 }; 00120 00121 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... 00122 00123 #endif