source: trunk/source/processes/electromagnetic/lowenergy/include/G4Penelope08ComptonModel.hh@ 1346

Last change on this file since 1346 was 1337, checked in by garnier, 15 years ago

tag geant4.9.4 beta 1 + modifs locales

File size: 4.9 KB
Line 
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// $Id: G4Penelope08ComptonModel.hh,v 1.2 2010/03/19 11:33:24 pandola Exp $
27// GEANT4 tag $Name: geant4-09-04-beta-01 $
28//
29// Author: Luciano Pandola
30//
31// History:
32// -----------
33// 15 Feb 2010 L. Pandola 1st implementation.
34// 18 Mar 2010 L. Pandola Removed GetAtomsPerMolecule(), now demanded
35// to G4PenelopeOscillatorManager
36//
37// -------------------------------------------------------------------
38//*
39// Class description:
40// Low Energy Electromagnetic Physics, Compton Scattering
41// with Penelope Model, version 2008
42// -------------------------------------------------------------------
43
44#ifndef G4PENELOPE08COMPTONMODEL_HH
45#define G4PENELOPE08COMPTONMODEL_HH 1
46
47#include "globals.hh"
48#include "G4VEmModel.hh"
49#include "G4DataVector.hh"
50#include "G4ParticleChangeForGamma.hh"
51#include "G4AtomicDeexcitation.hh"
52
53class G4ParticleDefinition;
54class G4DynamicParticle;
55class G4MaterialCutsCouple;
56class G4Material;
57class G4PenelopeOscillatorManager;
58class G4PenelopeOscillator;
59
60class G4Penelope08ComptonModel : public G4VEmModel
61{
62
63public:
64
65 G4Penelope08ComptonModel(const G4ParticleDefinition* p=0,
66 const G4String& processName ="PenCompton");
67
68 virtual ~G4Penelope08ComptonModel();
69
70 virtual void Initialise(const G4ParticleDefinition*, const G4DataVector&);
71
72 virtual G4double CrossSectionPerVolume(const G4Material*,
73 const G4ParticleDefinition*,
74 G4double kineticEnergy,
75 G4double cutEnergy = 0.0,
76 G4double maxEnergy = DBL_MAX);
77
78 //This is a dummy method. Never inkoved by the tracking, it just issues
79 //a warning if one tries to get Cross Sections per Atom via the
80 //G4EmCalculator.
81 virtual G4double ComputeCrossSectionPerAtom(const G4ParticleDefinition*,
82 G4double,
83 G4double,
84 G4double,
85 G4double,
86 G4double);
87
88 virtual void SampleSecondaries(std::vector<G4DynamicParticle*>*,
89 const G4MaterialCutsCouple*,
90 const G4DynamicParticle*,
91 G4double tmin,
92 G4double maxEnergy);
93
94 void SetVerbosityLevel(G4int lev){verboseLevel = lev;};
95 G4int GetVerbosityLevel(){return verboseLevel;};
96
97 void ActivateAuger(G4bool);
98
99protected:
100 G4ParticleChangeForGamma* fParticleChange;
101
102private:
103 //Differential cross section which is numerically integrated
104 G4double DifferentialCrossSection (G4double cdt,G4double energy,
105 G4PenelopeOscillator* osc);
106
107 G4double OscillatorTotalCrossSection(G4double energy,
108 G4PenelopeOscillator* osc);
109
110 G4double KleinNishinaCrossSection(G4double energy,const G4Material*);
111
112 G4Penelope08ComptonModel & operator=(const G4Penelope08ComptonModel &right);
113 G4Penelope08ComptonModel(const G4Penelope08ComptonModel&);
114
115 //Intrinsic energy limits of the model:
116 //cannot be extended by the parent process
117 G4double fIntrinsicLowEnergyLimit;
118 G4double fIntrinsicHighEnergyLimit;
119
120 G4int verboseLevel;
121
122 G4bool isInitialised;
123
124 G4AtomicDeexcitation deexcitationManager;
125
126 G4PenelopeOscillatorManager* oscManager;
127
128
129};
130
131#endif
132
Note: See TracBrowser for help on using the repository browser.