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 // 00027 // $Id: G4PolarizedGammaConversion.hh 69847 2013-05-16 09:36:18Z gcosmo $ 00028 // 00029 // ------------------------------------------------------------------- 00030 // 00031 // 00032 // File name: G4PolarizedGammaConversion 00033 // 00034 // Author: Karim Laihem based on code by Michel Maire 00035 // 00036 // Creation date: 01.05.2005 00037 // 00038 // Modifications: 00039 // 21-08-06 Modified to work in g4.8.1 framework (A.Schaelicke) 00040 // 00041 // Class Description: 00042 // 00043 // polarized version of G4GammaConversion 00044 00045 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 00046 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 00047 00048 #ifndef G4PolarizedGammaConversion_h 00049 #define G4PolarizedGammaConversion_h 1 00050 00051 #include "globals.hh" 00052 #include "G4VEmProcess.hh" 00053 #include "G4Gamma.hh" 00054 00055 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 00056 00057 class G4ParticleDefinition; 00058 class G4VEmModel; 00059 class G4MaterialCutsCouple; 00060 class G4DynamicParticle; 00061 00062 class G4PolarizedGammaConversion : public G4VEmProcess 00063 00064 { 00065 public: // with description 00066 00067 G4PolarizedGammaConversion(const G4String& processName ="pol-conv", 00068 G4ProcessType type = fElectromagnetic); 00069 00070 virtual ~G4PolarizedGammaConversion(); 00071 00072 // true for Gamma only. 00073 G4bool IsApplicable(const G4ParticleDefinition&); 00074 00075 // Print few lines of informations about the process: validity range, 00076 virtual void PrintInfo(); 00077 00078 protected: 00079 00080 virtual void InitialiseProcess(const G4ParticleDefinition*); 00081 00082 private: 00083 00084 // hide assignment operator as private 00085 G4PolarizedGammaConversion& operator=(const G4PolarizedGammaConversion &right); 00086 G4PolarizedGammaConversion(const G4PolarizedGammaConversion& ); 00087 00088 G4bool isInitialised; 00089 }; 00090 00091 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... 00092 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... 00093 00094 inline G4bool G4PolarizedGammaConversion::IsApplicable(const G4ParticleDefinition& p) 00095 { 00096 return (&p == G4Gamma::Gamma()); 00097 } 00098 00099 00100 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 00101 00102 #endif 00103