G4TransitionRadiation.hh

Go to the documentation of this file.
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 // G4TransitionRadiation  -- header file
00029 //
00030 // Class for description of  transition radiation generated
00031 // by  charged particle crossed interface between material 1
00032 // and material 2 (1 -> 2). Transition radiation could be of kind:
00033 // - optical back
00034 // - optical forward
00035 // - X-ray   forward (for relativistic case Tkin/mass >= 10^2)
00036 //
00037 // GEANT 4 class header file --- Copyright CERN 1995
00038 // CERB Geneva Switzerland
00039 //
00040 // for information related to this code, please, contact
00041 // CERN, CN Division, ASD Group
00042 // History:
00043 // 18.12.97, V. Grichine (Vladimir.Grichine@cern.ch)
00044 // 02.02.00, V.Grichine, new data fEnergy and fVarAngle for double
00045 //                       numerical integration in inherited classes
00046 // 03.06.03, V.Ivanchenko fix compilation warnings
00047 // 28.07.05, P.Gumplinger add G4ProcessType to constructor
00048 
00049 #ifndef G4TransitionRadiation_h
00050 #define G4TransitionRadiation_h
00051 
00052 
00053 #include "G4VDiscreteProcess.hh"
00054 #include "G4Material.hh"
00055 // #include "G4OpBoundaryProcess.hh"
00056 
00057 class G4TransitionRadiation : public   G4VDiscreteProcess
00058 {
00059 public:
00060 
00061   G4TransitionRadiation( const G4String& processName = "TR",
00062                          G4ProcessType type = fElectromagnetic) ;
00063 
00064   virtual ~G4TransitionRadiation() ;
00065 
00066   // Methods
00067 
00068   G4bool IsApplicable(const G4ParticleDefinition& aParticleType);
00069 
00070   G4double GetMeanFreePath(const G4Track&, G4double,
00071                            G4ForceCondition* condition);
00072 
00073   G4VParticleChange* PostStepDoIt(const G4Track&, const G4Step&);
00074 
00075   virtual
00076   G4double SpectralAngleTRdensity( G4double energy,
00077                                  G4double varAngle ) const = 0 ;
00078 
00079   G4double IntegralOverEnergy( G4double energy1,
00080                                G4double energy2,
00081                                G4double varAngle     ) const ;
00082 
00083   G4double IntegralOverAngle( G4double energy,
00084                               G4double varAngle1,
00085                               G4double varAngle2     ) const ;
00086 
00087   G4double AngleIntegralDistribution( G4double varAngle1,
00088                                       G4double varAngle2     ) const ;
00089 
00090   G4double EnergyIntegralDistribution( G4double energy1,
00091                                        G4double energy2     )  const   ;
00092 
00093 
00094 
00095   // Access functions
00096 
00097 protected :
00098 
00099   G4int fMatIndex1 ;                   // index of the 1st material
00100   G4int fMatIndex2 ;                   // index of the 2nd material
00101 
00102   // private :
00103 
00104   G4double fGamma ;
00105   G4double fEnergy ;
00106   G4double fVarAngle ;
00107 
00108   // Local constants
00109   static const G4int fSympsonNumber ; // Accuracy of Sympson integration 10
00110   static const G4int fGammaNumber   ; // = 15
00111   static const G4int fPointNumber   ; // = 100
00112 
00113   G4double fMinEnergy ;                //  min TR energy
00114   G4double fMaxEnergy ;                //  max TR energy
00115   G4double fMaxTheta  ;                //  max theta of TR quanta
00116 
00117   G4double fSigma1 ;                   // plasma energy Sq of matter1
00118   G4double fSigma2 ;                   // plasma energy Sq of matter2
00119 
00120 private:
00121 
00122 // Operators
00123   G4TransitionRadiation(const G4TransitionRadiation& right) ;
00124   G4TransitionRadiation& operator=(const G4TransitionRadiation& right) ;
00125 
00126 };
00127 
00128 #endif   // G4TransitionRadiation_h

Generated on Mon May 27 17:50:02 2013 for Geant4 by  doxygen 1.4.7