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 //------------------ G4ComptonScattering physics process ----------------------- 00029 // by Michel Maire, April 1996 00030 // 00031 // 10-06-96, updated by M.Maire 00032 // 21-06-96, SetCuts implementation, M.Maire 00033 // 06-01-97, crossection table + meanfreepath table, M.Maire 00034 // 17-02-97, New Physics scheme 00035 // 25-02-97, GetMeanFreePath() now is public function 00036 // 12-03-97, new physics scheme again 00037 // 13-08-98, new methods SetBining() PrintInfo() 00038 // 03-08-01, new methods Store/Retrieve PhysicsTable (mma) 00039 // 06-08-01, BuildThePhysicsTable() called from constructor (mma) 00040 // 19-09-01, come back to previous ProcessName "compt" 00041 // 20-09-01, DoIt: fminimalEnergy = 1*eV (mma) 00042 // 01-10-01, come back to BuildPhysicsTable(const G4ParticleDefinition&) 00043 // 13-08-04, suppress icc file; make public ComputeCrossSectionPerAtom() (mma) 00044 // 09-11-04, Remove Retrieve tables (V.Ivantchenko) 00045 // 15-03-05, Redesign - use G4VEmProcess interface (V.Ivantchenko) 00046 // 04-05-05, Make class to be default (V.Ivanchenko) 00047 // 09-09-06, modify SetModel(G4VEmModel*) (mma) 00048 // 12-09-06, move SetModel(G4VEmModel*) in G4VEmProcess (mma) 00049 // ----------------------------------------------------------------------------- 00050 00051 // class description 00052 // 00053 00054 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 00055 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 00056 00057 #ifndef G4ComptonScattering_h 00058 #define G4ComptonScattering_h 1 00059 00060 #include "globals.hh" 00061 #include "G4VEmProcess.hh" 00062 #include "G4Gamma.hh" 00063 00064 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 00065 00066 class G4ParticleDefinition; 00067 class G4VEmModel; 00068 class G4MaterialCutsCouple; 00069 class G4DynamicParticle; 00070 00071 class G4ComptonScattering : public G4VEmProcess 00072 00073 { 00074 public: // with description 00075 00076 G4ComptonScattering(const G4String& processName ="compt", 00077 G4ProcessType type = fElectromagnetic); 00078 00079 virtual ~G4ComptonScattering(); 00080 00081 // true for Gamma only. 00082 virtual G4bool IsApplicable(const G4ParticleDefinition&); 00083 00084 // Print few lines of informations about the process: validity range, 00085 virtual void PrintInfo(); 00086 00087 protected: 00088 00089 virtual void InitialiseProcess(const G4ParticleDefinition*); 00090 00091 private: 00092 00093 G4bool isInitialised; 00094 }; 00095 00096 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 00097 00098 #endif 00099