ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4DNACPA100ExcitationModel.hh
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file 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 
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 
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