| [819] | 1 | //
|
|---|
| 2 | // ********************************************************************
|
|---|
| 3 | // * License and Disclaimer *
|
|---|
| 4 | // * *
|
|---|
| 5 | // * The Geant4 software is copyright of the Copyright Holders of *
|
|---|
| 6 | // * the Geant4 Collaboration. It is provided under the terms and *
|
|---|
| 7 | // * conditions of the Geant4 Software License, included in the file *
|
|---|
| 8 | // * LICENSE and available at http://cern.ch/geant4/license . These *
|
|---|
| 9 | // * include a list of copyright holders. *
|
|---|
| 10 | // * *
|
|---|
| 11 | // * Neither the authors of this software system, nor their employing *
|
|---|
| 12 | // * institutes,nor the agencies providing financial support for this *
|
|---|
| 13 | // * work make any representation or warranty, express or implied, *
|
|---|
| 14 | // * regarding this software system or assume any liability for its *
|
|---|
| 15 | // * use. Please see the license in the file LICENSE and URL above *
|
|---|
| 16 | // * for the full disclaimer and the limitation of liability. *
|
|---|
| 17 | // * *
|
|---|
| 18 | // * This code implementation is the result of the scientific and *
|
|---|
| 19 | // * technical work of the GEANT4 collaboration. *
|
|---|
| 20 | // * By using, copying, modifying or distributing the software (or *
|
|---|
| 21 | // * any work based on the software) you agree to acknowledge its *
|
|---|
| 22 | // * use in resulting scientific publications, and indicate your *
|
|---|
| 23 | // * acceptance of all terms of the Geant4 Software license. *
|
|---|
| 24 | // ********************************************************************
|
|---|
| 25 | //
|
|---|
| 26 | //
|
|---|
| 27 | // -------------------------------------------------------------------
|
|---|
| 28 | // $Id: G4LowEnergyBremsstrahlung.hh,v 1.37 2006/06/29 19:35:55 gunter Exp $
|
|---|
| [1196] | 29 | // GEANT4 tag $Name: geant4-09-03-cand-01 $
|
|---|
| [819] | 30 | //
|
|---|
| 31 | // Author: A. Forti
|
|---|
| 32 | //
|
|---|
| 33 | // History:
|
|---|
| 34 | // -----------
|
|---|
| 35 | // 02 Mar 1999 A. Forti 1st implementation
|
|---|
| 36 | // 27 Sep 2001 V. Ivanchenko Major revision according to a design iteration
|
|---|
| 37 | // 10 Oct 2001 M.G. Pia Revision to improve code quality
|
|---|
| 38 | // and consistency with design
|
|---|
| 39 | // 29 Nov 2001 V.Ivanchenko New parametrisation of EEDL data
|
|---|
| 40 | // 21 Feb 2003 V.Ivanchenko Energy bins for spectrum are defined here
|
|---|
| 41 | // 24 Mar 2003 P.Rodrigues Changes to accommodate new angular generators
|
|---|
| 42 | // 06 Nov 2003 MGP Overloaded SetAngularGenerator
|
|---|
| 43 | //
|
|---|
| 44 | // -------------------------------------------------------------------
|
|---|
| 45 |
|
|---|
| 46 | // Class description:
|
|---|
| 47 | // Low Energy electromagnetic process, electron Bremsstrahlung
|
|---|
| 48 | // based on the data of the EEDL database. Details are described
|
|---|
| 49 | // in the Physics Reference Manual.
|
|---|
| 50 | // Further documentation available from http://www.ge.infn.it/geant4/lowE
|
|---|
| 51 |
|
|---|
| 52 | // --------------------------------------------------------------
|
|---|
| 53 |
|
|---|
| 54 |
|
|---|
| 55 | #ifndef G4LOWENERGYBREMSSTRAHLUNG_HH
|
|---|
| 56 | #define G4LOWENERGYBREMSSTRAHLUNG_HH 1
|
|---|
| 57 |
|
|---|
| 58 | #include "G4eLowEnergyLoss.hh"
|
|---|
| 59 | #include "G4DataVector.hh"
|
|---|
| 60 |
|
|---|
| 61 | class G4Track;
|
|---|
| 62 | class G4Step;
|
|---|
| 63 | class G4ParticleDefinition;
|
|---|
| 64 | class G4VParticleChange;
|
|---|
| 65 | class G4VEMDataSet;
|
|---|
| 66 | class G4VEnergySpectrum;
|
|---|
| 67 | class G4VCrossSectionHandler;
|
|---|
| 68 | class G4VBremAngularDistribution;
|
|---|
| 69 |
|
|---|
| 70 | class G4LowEnergyBremsstrahlung : public G4eLowEnergyLoss
|
|---|
| 71 | {
|
|---|
| 72 | public:
|
|---|
| 73 |
|
|---|
| 74 | G4LowEnergyBremsstrahlung(const G4String& processName = "LowEnBrem");
|
|---|
| 75 |
|
|---|
| 76 |
|
|---|
| 77 | // G4LowEnergyBremsstrahlung(const G4String& processName = "LowEnBrem",
|
|---|
| 78 | // G4VBremAngularDistribution* distribution = 0);
|
|---|
| 79 |
|
|---|
| 80 | ~G4LowEnergyBremsstrahlung();
|
|---|
| 81 |
|
|---|
| 82 | G4bool IsApplicable(const G4ParticleDefinition&);
|
|---|
| 83 |
|
|---|
| 84 | void BuildPhysicsTable(const G4ParticleDefinition& particleType);
|
|---|
| 85 |
|
|---|
| 86 | G4VParticleChange* PostStepDoIt(const G4Track& track,
|
|---|
| 87 | const G4Step& step);
|
|---|
| 88 |
|
|---|
| 89 | void SetCutForLowEnSecPhotons(G4double cut);
|
|---|
| 90 |
|
|---|
| 91 | void SetAngularGenerator(G4VBremAngularDistribution* distribution);
|
|---|
| 92 |
|
|---|
| 93 | void SetAngularGenerator(const G4String& name);
|
|---|
| 94 |
|
|---|
| 95 | void PrintInfoDefinition();
|
|---|
| 96 |
|
|---|
| 97 |
|
|---|
| 98 | protected:
|
|---|
| 99 |
|
|---|
| 100 | G4double GetMeanFreePath(const G4Track& track,
|
|---|
| 101 | G4double previousStepSize,
|
|---|
| 102 | G4ForceCondition* condition );
|
|---|
| 103 |
|
|---|
| 104 | private:
|
|---|
| 105 |
|
|---|
| 106 | // Hide copy constructor and assignment operator as private
|
|---|
| 107 | G4LowEnergyBremsstrahlung(const G4LowEnergyBremsstrahlung& );
|
|---|
| 108 | G4LowEnergyBremsstrahlung& operator = (const G4LowEnergyBremsstrahlung& right);
|
|---|
| 109 |
|
|---|
| 110 | void BuildLossTable(const G4ParticleDefinition& ParticleType);
|
|---|
| 111 |
|
|---|
| 112 | G4VCrossSectionHandler* crossSectionHandler;
|
|---|
| 113 | G4VEMDataSet* theMeanFreePath;
|
|---|
| 114 | G4VEnergySpectrum* energySpectrum;
|
|---|
| 115 | G4DataVector energyBins;
|
|---|
| 116 | G4VBremAngularDistribution* angularDistribution;
|
|---|
| 117 | G4VBremAngularDistribution* TsaiAngularDistribution;
|
|---|
| 118 | G4String generatorName;
|
|---|
| 119 |
|
|---|
| 120 | // Lower limit for generation of gamma in this model
|
|---|
| 121 | G4DataVector cutForSecondaryPhotons;
|
|---|
| 122 | G4double cutForPhotons;
|
|---|
| 123 | };
|
|---|
| 124 |
|
|---|
| 125 |
|
|---|
| 126 |
|
|---|
| 127 | #endif
|
|---|
| 128 |
|
|---|
| 129 |
|
|---|
| 130 |
|
|---|
| 131 |
|
|---|
| 132 |
|
|---|
| 133 |
|
|---|
| 134 |
|
|---|
| 135 |
|
|---|
| 136 |
|
|---|
| 137 |
|
|---|
| 138 |
|
|---|