Geant4  v4-10.4-release
 모두 클래스 네임스페이스들 파일들 함수 변수 타입정의 열거형 타입 열거형 멤버 Friends 매크로 그룹들 페이지들
G4DNACPA100ExcitationModel.hh
이 파일의 문서화 페이지로 가기
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"
46 #include "G4ProductionCutsTable.hh"
47 
49 #include "G4LogLogInterpolation.hh"
50 //#include "G4DNACPA100LogLogInterpolation.hh"
51 #include "G4Electron.hh"
52 #include "G4Proton.hh"
54 #include "G4NistManager.hh"
55 
57 {
58 
59 public:
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*>*,
75  const G4MaterialCutsCouple*,
76  const G4DynamicParticle*,
77  G4double tmin,
78  G4double maxEnergy);
79 
80  inline void SelectStationary(G4bool input);
81 
82 protected:
83 
85 
86 private:
87 
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 
98 
99  // Cross section
100 
101  typedef std::map<G4String,G4String,std::less<G4String> > MapFile;
103 
104  typedef std::map<G4String,G4DNACrossSectionDataSet*,std::less<G4String> > MapData;
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
G4DNACPA100ExcitationModel & operator=(const G4DNACPA100ExcitationModel &right)
G4DNACPA100WaterExcitationStructure waterStructure
G4DNACPA100ExcitationModel(const G4ParticleDefinition *p=0, const G4String &nam="DNACPA100ExcitationModel")
const std::vector< G4double > * fpMolWaterDensity
const char * p
Definition: xmltok.h:285
G4ParticleChangeForGamma * fParticleChangeForGamma
static const G4double emax
std::map< G4String, G4DNACrossSectionDataSet *, std::less< G4String > > MapData
std::map< G4String, G4double, std::less< G4String > > highEnergyLimit
double G4double
Definition: G4Types.hh:76
bool G4bool
Definition: G4Types.hh:79
std::map< G4String, G4String, std::less< G4String > > MapFile
double energy
Definition: plottest35.C:25
G4int RandomSelect(G4double energy, const G4String &particle)
std::map< G4String, G4double, std::less< G4String > > lowEnergyLimit
virtual G4double CrossSectionPerVolume(const G4Material *material, const G4ParticleDefinition *p, G4double ekin, G4double emin, G4double emax)
int G4int
Definition: G4Types.hh:78
virtual void Initialise(const G4ParticleDefinition *, const G4DataVector &=*(new G4DataVector()))
virtual void SampleSecondaries(std::vector< G4DynamicParticle * > *, const G4MaterialCutsCouple *, const G4DynamicParticle *, G4double tmin, G4double maxEnergy)