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$ 00028 // 00029 // 00031 // 00032 // Process describing a straw tube radiator of X-ray transition radiation. 00033 // Thicknesses of plates and gas gaps are gamma distributed. 00034 // We suppose that: 00035 // formation zone ~ mean thickness << absorption length 00036 // for each material and in the range 1-100 keV. This allows us to simplify 00037 // interference effects in radiator stack (GetStackFactor method). 00038 // 00039 // 00040 // History: 00041 // 22.04.05 V. Grichine, first version 00042 // 28.09.07, V.Ivanchenko general cleanup without change of algorithms 00043 // 00044 00045 #ifndef G4StrawTubeXTRadiator_h 00046 #define G4StrawTubeXTRadiator_h 1 00047 00048 #include <complex> 00049 #include "G4VXTRenergyLoss.hh" 00050 00051 class G4SandiaTable; 00052 00053 class G4StrawTubeXTRadiator : public G4VXTRenergyLoss 00054 { 00055 public: 00056 00057 G4StrawTubeXTRadiator (G4LogicalVolume* anEnvelope, G4Material*, G4Material*, 00058 G4double,G4double,G4Material*,G4bool unishut = false, 00059 const G4String & processName = "StrawTubeXTRadiator"); 00060 virtual ~G4StrawTubeXTRadiator (); 00061 00062 // Auxiliary functions for plate/gas material parameters 00063 00064 G4double GetMediumFormationZone(G4double,G4double,G4double) ; 00065 void ComputeMediumPhotoAbsCof() ; 00066 G4double GetMediumLinearPhotoAbs(G4double) ; 00067 G4complex GetMediumComplexFZ(G4double,G4double,G4double) ; 00068 00069 // Pure virtual function from base class 00070 G4double GetStackFactor( G4double energy, G4double gamma, G4double varAngle); 00071 00072 protected: 00073 00074 G4int fMatIndex3; 00075 G4double fSigma3; 00076 00077 G4SandiaTable* fMediumPhotoAbsCof; 00078 }; 00079 00080 #endif