Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4PAIPhotData.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 // $Id: G4PAIModelData.hh 72008 2013-07-03 08:46:39Z vnivanch $
27 //
28 // -------------------------------------------------------------------
29 //
30 // GEANT4 Class header file
31 //
32 //
33 // File name: G4PAIPhotData
34 //
35 // Author: V. Grichine based on G4PAIModelData code for MT
36 //
37 // Creation date: 07.10.2013
38 //
39 // Modifications:
40 //
41 //
42 // Class Description:
43 //
44 // Implementation of PAIPhotModel internal data class.
45 // This class is extracted from G4PAIPhot in order to provide sharing
46 // of these data between threads.
47 //
48 // Internal data tables are computed for proton.
49 //
50 // -------------------------------------------------------------------
51 //
52 
53 #ifndef G4PAIPhotData_h
54 #define G4PAIPhotData_h 1
55 
56 #include <vector>
57 #include "globals.hh"
58 #include "G4PAIxSection.hh"
59 #include "G4SandiaTable.hh"
60 
61 class G4PhysicsLogVector;
62 class G4PhysicsTable;
64 class G4PAIPhotModel;
65 
67 {
68 
69 public:
70 
71  explicit G4PAIPhotData(G4double tmin, G4double tmax, G4int verbose);
72 
74 
76 
77  G4double DEDXPerVolume(G4int coupleIndex, G4double scaledTkin,
78  G4double cut) const;
79 
80  G4double CrossSectionPerVolume(G4int coupleIndex, G4double scaledTkin,
81  G4double tcut, G4double tmax) const;
82 
83  G4double GetPlasmonRatio( G4int coupleIndex, G4double scaledTkin ) const;
84 
85  G4double SampleAlongStepTransfer(G4int coupleIndex, G4double kinEnergy,
86  G4double scaledTkin,
87  G4double stepFactor) const;
89  G4double scaledTkin,
90  G4double stepFactor) const;
92  G4double scaledTkin,
93  G4double stepFactor) const;
94 
96  G4double scaledTkin) const;
98  G4double scaledTkin) const;
100  G4double scaledTkin) const;
101 
102 private:
103 
104  G4double GetEnergyTransfer(G4int coupleIndex, size_t iPlace,
105  G4double position) const;
106  G4double GetEnergyPhotonTransfer(G4int coupleIndex, size_t iPlace,
107  G4double position) const;
108  G4double GetEnergyPlasmonTransfer(G4int coupleIndex, size_t iPlace,
109  G4double position) const;
110 
111  // hide assignment operator
112  G4PAIPhotData & operator=(const G4PAIPhotData &right) = delete;
113  G4PAIPhotData(const G4PAIPhotData&) = delete;
114 
115  G4int fTotBin;
116  G4double fLowestKineticEnergy;
117  G4double fHighestKineticEnergy;
118 
119  G4PhysicsLogVector* fParticleEnergyVector;
120 
121  G4PAIxSection fPAIxSection;
122  G4SandiaTable fSandia;
123 
124  std::vector<G4PhysicsTable*> fPAIxscBank;
125  std::vector<G4PhysicsTable*> fPAIphotonBank;
126  std::vector<G4PhysicsTable*> fPAIplasmonBank;
127 
128  std::vector<G4PhysicsTable*> fPAIdEdxBank;
129  std::vector<G4PhysicsLogVector*> fdEdxTable;
130 
131  std::vector<G4PhysicsLogVector*> fdNdxCutTable;
132  std::vector<G4PhysicsLogVector*> fdNdxCutPhotonTable;
133  std::vector<G4PhysicsLogVector*> fdNdxCutPlasmonTable;
134 
135  std::vector<G4PhysicsLogVector*> fdEdxCutTable;
136 
137 };
138 
139 #endif
140 
141 
142 
143 
144 
145 
146 
G4double SamplePostStepTransfer(G4int coupleIndex, G4double scaledTkin) const
G4double SamplePostStepPhotonTransfer(G4int coupleIndex, G4double scaledTkin) const
G4double GetPlasmonRatio(G4int coupleIndex, G4double scaledTkin) const
G4double SampleAlongStepPhotonTransfer(G4int coupleIndex, G4double kinEnergy, G4double scaledTkin, G4double stepFactor) const
G4PAIPhotData(G4double tmin, G4double tmax, G4int verbose)
int G4int
Definition: G4Types.hh:78
void Initialise(const G4MaterialCutsCouple *, G4double cut, G4PAIPhotModel *)
G4double DEDXPerVolume(G4int coupleIndex, G4double scaledTkin, G4double cut) const
G4double SamplePostStepPlasmonTransfer(G4int coupleIndex, G4double scaledTkin) const
G4double CrossSectionPerVolume(G4int coupleIndex, G4double scaledTkin, G4double tcut, G4double tmax) const
G4double SampleAlongStepPlasmonTransfer(G4int coupleIndex, G4double kinEnergy, G4double scaledTkin, G4double stepFactor) const
double G4double
Definition: G4Types.hh:76
G4double SampleAlongStepTransfer(G4int coupleIndex, G4double kinEnergy, G4double scaledTkin, G4double stepFactor) const