Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4DNACPA100ExcitationModel.hh
Go to the documentation of this file.
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// CPA100 excitation model class for electrons
27//
28// Based on the work of M. Terrissol and M. C. Bordage
29//
30// Users are requested to cite the following papers:
31// - M. Terrissol, A. Baudre, Radiat. Prot. Dosim. 31 (1990) 175-177
32// - M.C. Bordage, J. Bordes, S. Edel, M. Terrissol, X. Franceries,
33// M. Bardies, N. Lampe, S. Incerti, Phys. Med. 32 (2016) 1833-1840
34//
35// Authors of this class:
36// M.C. Bordage, M. Terrissol, S. Edel, J. Bordes, S. Incerti
37//
38// 15.01.2014: creation
39//
40
41#ifndef G4DNACPA100ExcitationModel_h
42#define G4DNACPA100ExcitationModel_h 1
43
44#include "G4VEmModel.hh"
47
50//#include "G4DNACPA100LogLogInterpolation.hh"
51#include "G4Electron.hh"
52#include "G4Proton.hh"
54#include "G4NistManager.hh"
55
57{
58
59public:
60
62 const G4String& nam = "DNACPA100ExcitationModel");
63
65
66 virtual void Initialise(const G4ParticleDefinition*, const G4DataVector& = *(new G4DataVector()) );
67
68 virtual G4double CrossSectionPerVolume( const G4Material* material,
69 const G4ParticleDefinition* p,
70 G4double ekin,
71 G4double emin,
72 G4double emax);
73
74 virtual void SampleSecondaries(std::vector<G4DynamicParticle*>*,
76 const G4DynamicParticle*,
77 G4double tmin,
78 G4double maxEnergy);
79
80 inline void SelectStationary(G4bool input);
81
82protected:
83
85
86private:
87
88 G4bool statCode;
89
90 // Water density table
91 const std::vector<G4double>* fpMolWaterDensity;
92
93 std::map<G4String,G4double,std::less<G4String> > lowEnergyLimit;
94 std::map<G4String,G4double,std::less<G4String> > highEnergyLimit;
95
96 G4bool isInitialised;
97 G4int verboseLevel;
98
99 // Cross section
100
101 typedef std::map<G4String,G4String,std::less<G4String> > MapFile;
102 MapFile tableFile;
103
104 typedef std::map<G4String,G4DNACrossSectionDataSet*,std::less<G4String> > MapData;
105 MapData tableData;
106
107 // Partial cross section
108
109 G4int RandomSelect(G4double energy,const G4String& particle );
110
111 // Final state
112
114
115 //
116
119
120};
121
122//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
123
125{
126 statCode = input;
127}
128
129//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
130
131#endif
double G4double
Definition: G4Types.hh:83
bool G4bool
Definition: G4Types.hh:86
int G4int
Definition: G4Types.hh:85
virtual G4double CrossSectionPerVolume(const G4Material *material, const G4ParticleDefinition *p, G4double ekin, G4double emin, G4double emax)
G4ParticleChangeForGamma * fParticleChangeForGamma
virtual void SampleSecondaries(std::vector< G4DynamicParticle * > *, const G4MaterialCutsCouple *, const G4DynamicParticle *, G4double tmin, G4double maxEnergy)
virtual void Initialise(const G4ParticleDefinition *, const G4DataVector &= *(new G4DataVector()))