| [966] | 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 | //
|
|---|
| [1055] | 26 | // $Id: G4LivermoreComptonModel.hh,v 1.3 2009/04/17 10:29:20 vnivanch Exp $
|
|---|
| [1196] | 27 | // GEANT4 tag $Name: geant4-09-03-cand-01 $
|
|---|
| [966] | 28 | //
|
|---|
| [1055] | 29 | //
|
|---|
| 30 | // Author: Sebastien Inserti
|
|---|
| 31 | // 30 October 2008
|
|---|
| 32 | //
|
|---|
| 33 | // History:
|
|---|
| 34 | // --------
|
|---|
| [966] | 35 |
|
|---|
| 36 | #ifndef G4LivermoreComptonModel_h
|
|---|
| 37 | #define G4LivermoreComptonModel_h 1
|
|---|
| 38 |
|
|---|
| 39 | #include "G4VEmModel.hh"
|
|---|
| 40 | #include "G4Electron.hh"
|
|---|
| 41 | #include "G4ParticleChangeForGamma.hh"
|
|---|
| 42 | #include "G4CrossSectionHandler.hh"
|
|---|
| 43 | #include "G4LogLogInterpolation.hh"
|
|---|
| 44 | #include "G4CompositeEMDataSet.hh"
|
|---|
| 45 | #include "G4ShellData.hh"
|
|---|
| 46 | #include "G4DopplerProfile.hh"
|
|---|
| 47 | #include "G4ForceCondition.hh"
|
|---|
| [1055] | 48 | #include "G4Gamma.hh"
|
|---|
| [966] | 49 |
|
|---|
| 50 | class G4LivermoreComptonModel : public G4VEmModel
|
|---|
| 51 | {
|
|---|
| 52 |
|
|---|
| 53 | public:
|
|---|
| 54 |
|
|---|
| 55 | G4LivermoreComptonModel(const G4ParticleDefinition* p = 0,
|
|---|
| 56 | const G4String& nam = "LivermoreCompton");
|
|---|
| 57 |
|
|---|
| 58 | virtual ~G4LivermoreComptonModel();
|
|---|
| 59 |
|
|---|
| 60 | virtual void Initialise(const G4ParticleDefinition*, const G4DataVector&);
|
|---|
| 61 |
|
|---|
| 62 | virtual G4double ComputeCrossSectionPerAtom( const G4ParticleDefinition*,
|
|---|
| 63 | G4double kinEnergy,
|
|---|
| 64 | G4double Z,
|
|---|
| 65 | G4double A=0,
|
|---|
| 66 | G4double cut=0,
|
|---|
| 67 | G4double emax=DBL_MAX );
|
|---|
| 68 |
|
|---|
| 69 | virtual void SampleSecondaries(std::vector<G4DynamicParticle*>*,
|
|---|
| 70 | const G4MaterialCutsCouple*,
|
|---|
| 71 | const G4DynamicParticle*,
|
|---|
| 72 | G4double tmin,
|
|---|
| 73 | G4double maxEnergy);
|
|---|
| 74 |
|
|---|
| 75 | protected:
|
|---|
| 76 |
|
|---|
| 77 | G4ParticleChangeForGamma* fParticleChange;
|
|---|
| 78 |
|
|---|
| [1055] | 79 | //G4double GetMeanFreePath(const G4Track& track,
|
|---|
| 80 | // G4double previousStepSize,
|
|---|
| 81 | // G4ForceCondition* condition);
|
|---|
| [966] | 82 | private:
|
|---|
| 83 |
|
|---|
| 84 | G4double lowEnergyLimit;
|
|---|
| 85 | G4double highEnergyLimit;
|
|---|
| 86 | G4bool isInitialised;
|
|---|
| 87 | G4int verboseLevel;
|
|---|
| 88 |
|
|---|
| 89 | G4VEMDataSet* meanFreePathTable;
|
|---|
| 90 | G4VEMDataSet* scatterFunctionData;
|
|---|
| 91 | G4VCrossSectionHandler* crossSectionHandler;
|
|---|
| 92 |
|
|---|
| 93 | G4ShellData shellData;
|
|---|
| 94 | G4DopplerProfile profileData;
|
|---|
| 95 |
|
|---|
| 96 | G4LivermoreComptonModel & operator=(const G4LivermoreComptonModel &right);
|
|---|
| 97 | G4LivermoreComptonModel(const G4LivermoreComptonModel&);
|
|---|
| 98 |
|
|---|
| 99 | };
|
|---|
| 100 |
|
|---|
| 101 | //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
|---|
| 102 |
|
|---|
| 103 | #endif
|
|---|