source: trunk/source/processes/electromagnetic/standard/include/G4PEEffectModel.hh @ 1196

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

update CVS release candidate geant4.9.3.01

File size: 3.6 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: G4PEEffectModel.hh,v 1.7 2009/02/20 12:06:37 vnivanch Exp $
27// GEANT4 tag $Name: geant4-09-03-cand-01 $
28//
29// -------------------------------------------------------------------
30//
31// GEANT4 Class header file
32//
33//
34// File name:     G4PEEffectModel
35//
36// Author:        Vladimir Ivanchenko on base of Michel Maire code
37//
38// Creation date: 21.04.2005
39//
40// Modifications:
41//
42// 06.02.2006 : added ComputeMeanFreePath()  (mma)
43// 20.02.2009 : move virtual inline to .cc, substitute
44//              ComputeMeanFreePath() by CrossSectionPerVolume (VI)
45//
46// Class Description:
47//
48// Implementation of the photo-electric effect
49//
50
51// -------------------------------------------------------------------
52//
53
54#ifndef G4PEEffectModel_h
55#define G4PEEffectModel_h 1
56
57#include "G4VEmModel.hh"
58#include "G4PhysicsTable.hh"
59
60class G4ParticleChangeForGamma;
61
62class G4PEEffectModel : public G4VEmModel
63{
64
65public:
66
67  G4PEEffectModel(const G4ParticleDefinition* p = 0,
68                  const G4String& nam = "PhotoElectric");
69
70  virtual ~G4PEEffectModel();
71
72  virtual void Initialise(const G4ParticleDefinition*, const G4DataVector&);
73
74  virtual G4double ComputeCrossSectionPerAtom(const G4ParticleDefinition*,
75                                              G4double kinEnergy,
76                                              G4double Z,
77                                              G4double A,
78                                              G4double, G4double);
79                                     
80  virtual G4double CrossSectionPerVolume(const G4Material*,
81                                         const G4ParticleDefinition*,
82                                         G4double kineticEnergy,
83                                         G4double cutEnergy,
84                                         G4double maxEnergy);
85
86  virtual void SampleSecondaries(std::vector<G4DynamicParticle*>*,
87                                 const G4MaterialCutsCouple*,
88                                 const G4DynamicParticle*,
89                                 G4double tmin,
90                                 G4double maxEnergy);
91protected:
92
93  virtual G4double ElecCosThetaDistribution(G4double ElecKineEnergy);
94
95private:
96
97  G4ParticleDefinition*     theGamma;
98  G4ParticleDefinition*     theElectron;
99  G4ParticleChangeForGamma* fParticleChange;
100
101  G4double                  fminimalEnergy;
102  G4bool                    isInitialized;
103};
104
105//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
106
107#endif
Note: See TracBrowser for help on using the repository browser.