Geant4 Cross Reference

Cross-Referencing   Geant4
Geant4/processes/electromagnetic/utils/include/G4EmParameters.hh

Version: [ ReleaseNotes ] [ 1.0 ] [ 1.1 ] [ 2.0 ] [ 3.0 ] [ 3.1 ] [ 3.2 ] [ 4.0 ] [ 4.0.p1 ] [ 4.0.p2 ] [ 4.1 ] [ 4.1.p1 ] [ 5.0 ] [ 5.0.p1 ] [ 5.1 ] [ 5.1.p1 ] [ 5.2 ] [ 5.2.p1 ] [ 5.2.p2 ] [ 6.0 ] [ 6.0.p1 ] [ 6.1 ] [ 6.2 ] [ 6.2.p1 ] [ 6.2.p2 ] [ 7.0 ] [ 7.0.p1 ] [ 7.1 ] [ 7.1.p1 ] [ 8.0 ] [ 8.0.p1 ] [ 8.1 ] [ 8.1.p1 ] [ 8.1.p2 ] [ 8.2 ] [ 8.2.p1 ] [ 8.3 ] [ 8.3.p1 ] [ 8.3.p2 ] [ 9.0 ] [ 9.0.p1 ] [ 9.0.p2 ] [ 9.1 ] [ 9.1.p1 ] [ 9.1.p2 ] [ 9.1.p3 ] [ 9.2 ] [ 9.2.p1 ] [ 9.2.p2 ] [ 9.2.p3 ] [ 9.2.p4 ] [ 9.3 ] [ 9.3.p1 ] [ 9.3.p2 ] [ 9.4 ] [ 9.4.p1 ] [ 9.4.p2 ] [ 9.4.p3 ] [ 9.4.p4 ] [ 9.5 ] [ 9.5.p1 ] [ 9.5.p2 ] [ 9.6 ] [ 9.6.p1 ] [ 9.6.p2 ] [ 9.6.p3 ] [ 9.6.p4 ] [ 10.0 ] [ 10.0.p1 ] [ 10.0.p2 ] [ 10.0.p3 ] [ 10.0.p4 ] [ 10.1 ] [ 10.1.p1 ] [ 10.1.p2 ] [ 10.1.p3 ] [ 10.2 ] [ 10.2.p1 ] [ 10.2.p2 ] [ 10.2.p3 ] [ 10.3 ] [ 10.3.p1 ] [ 10.3.p2 ] [ 10.3.p3 ] [ 10.4 ] [ 10.4.p1 ] [ 10.4.p2 ] [ 10.4.p3 ] [ 10.5 ] [ 10.5.p1 ] [ 10.6 ] [ 10.6.p1 ] [ 10.6.p2 ] [ 10.6.p3 ] [ 10.7 ] [ 10.7.p1 ] [ 10.7.p2 ] [ 10.7.p3 ] [ 10.7.p4 ] [ 11.0 ] [ 11.0.p1 ] [ 11.0.p2 ] [ 11.0.p3, ] [ 11.0.p4 ] [ 11.1 ] [ 11.1.1 ] [ 11.1.2 ] [ 11.1.3 ] [ 11.2 ] [ 11.2.1 ] [ 11.2.2 ] [ 11.3.0 ]

Diff markup

Differences between /processes/electromagnetic/utils/include/G4EmParameters.hh (Version 11.3.0) and /processes/electromagnetic/utils/include/G4EmParameters.hh (Version 11.0.p1)


  1 //                                                  1 //
  2 // *******************************************      2 // ********************************************************************
  3 // * License and Disclaimer                         3 // * License and Disclaimer                                           *
  4 // *                                                4 // *                                                                  *
  5 // * The  Geant4 software  is  copyright of th      5 // * The  Geant4 software  is  copyright of the Copyright Holders  of *
  6 // * the Geant4 Collaboration.  It is provided      6 // * the Geant4 Collaboration.  It is provided  under  the terms  and *
  7 // * conditions of the Geant4 Software License      7 // * conditions of the Geant4 Software License,  included in the file *
  8 // * LICENSE and available at  http://cern.ch/      8 // * LICENSE and available at  http://cern.ch/geant4/license .  These *
  9 // * include a list of copyright holders.           9 // * include a list of copyright holders.                             *
 10 // *                                               10 // *                                                                  *
 11 // * Neither the authors of this software syst     11 // * Neither the authors of this software system, nor their employing *
 12 // * institutes,nor the agencies providing fin     12 // * institutes,nor the agencies providing financial support for this *
 13 // * work  make  any representation or  warran     13 // * work  make  any representation or  warranty, express or implied, *
 14 // * regarding  this  software system or assum     14 // * regarding  this  software system or assume any liability for its *
 15 // * use.  Please see the license in the file      15 // * use.  Please see the license in the file  LICENSE  and URL above *
 16 // * for the full disclaimer and the limitatio     16 // * for the full disclaimer and the limitation of liability.         *
 17 // *                                               17 // *                                                                  *
 18 // * This  code  implementation is the result      18 // * This  code  implementation is the result of  the  scientific and *
 19 // * technical work of the GEANT4 collaboratio     19 // * technical work of the GEANT4 collaboration.                      *
 20 // * By using,  copying,  modifying or  distri     20 // * By using,  copying,  modifying or  distributing the software (or *
 21 // * any work based  on the software)  you  ag     21 // * any work based  on the software)  you  agree  to acknowledge its *
 22 // * use  in  resulting  scientific  publicati     22 // * use  in  resulting  scientific  publications,  and indicate your *
 23 // * acceptance of all terms of the Geant4 Sof     23 // * acceptance of all terms of the Geant4 Software license.          *
 24 // *******************************************     24 // ********************************************************************
 25 //                                                 25 //
 26 // -------------------------------------------     26 // -------------------------------------------------------------------
 27 //                                                 27 //
 28 // GEANT4 Class header file                        28 // GEANT4 Class header file
 29 //                                                 29 //
 30 // File name:     G4EmParameters                   30 // File name:     G4EmParameters
 31 //                                                 31 //
 32 // Author:        Vladimir Ivanchenko for migr     32 // Author:        Vladimir Ivanchenko for migration to MT
 33 //                                                 33 //                  
 34 //                                                 34 //
 35 // Creation date: 17.05.2013                       35 // Creation date: 17.05.2013
 36 //                                                 36 //
 37 // Modifications:                                  37 // Modifications:
 38 //                                                 38 //
 39 //                                                 39 //
 40 // Class Description:                              40 // Class Description:
 41 //                                                 41 //
 42 // A utility static class, responsable for kee     42 // A utility static class, responsable for keeping parameters
 43 // for all EM physics processes and models.        43 // for all EM physics processes and models.
 44 //                                                 44 //
 45 // It is initialized by the master thread but      45 // It is initialized by the master thread but can be updated 
 46 // at any moment. Parameters may be used in ru     46 // at any moment. Parameters may be used in run time or at 
 47 // initialisation                                  47 // initialisation
 48 //                                                 48 //
 49 // -------------------------------------------     49 // -------------------------------------------------------------------
 50 //                                                 50 //
 51                                                    51 
 52 #ifndef G4EmParameters_h                           52 #ifndef G4EmParameters_h
 53 #define G4EmParameters_h 1                         53 #define G4EmParameters_h 1
 54                                                    54 
 55 #include "globals.hh"                              55 #include "globals.hh"
 56 #include "G4ios.hh"                                56 #include "G4ios.hh"
 57 #include "G4MscStepLimitType.hh"                   57 #include "G4MscStepLimitType.hh"
 58 #include "G4NuclearFormfactorType.hh"              58 #include "G4NuclearFormfactorType.hh"
 59 #include "G4DNAModelSubType.hh"                    59 #include "G4DNAModelSubType.hh"
 60 #include "G4EmFluoDirectory.hh"                << 
 61 #include "G4EmSaturation.hh"                       60 #include "G4EmSaturation.hh"
 62 #include "G4ThreeVector.hh"                        61 #include "G4ThreeVector.hh"
 63 #include "G4ChemTimeStepModel.hh"              <<  62 #include "G4Threading.hh"
 64 #include <vector>                                  63 #include <vector>
 65 #include <map>                                 << 
 66 enum G4eSingleScatteringType                   << 
 67 {                                              << 
 68   fWVI = 0,                                    << 
 69   fMott,                                       << 
 70   fDPWA                                        << 
 71 };                                             << 
 72                                                << 
 73 enum class G4TransportationWithMscType         << 
 74 {                                              << 
 75   fDisabled = 0,                               << 
 76   fEnabled,                                    << 
 77   fMultipleSteps,                              << 
 78 };                                             << 
 79                                                << 
 80 enum G4EmFluctuationType                       << 
 81 {                                              << 
 82   fDummyFluctuation = 0,                       << 
 83   fUniversalFluctuation,                       << 
 84   fUrbanFluctuation                            << 
 85 };                                             << 
 86                                                    64 
 87 enum G4PositronAtRestModelType                 <<  65 enum G4eSingleScatteringType
 88 {                                              <<  66   {
 89   fSimplePositronium = 0,                      <<  67     fWVI = 0,
 90   fAllisonPositronium,                         <<  68     fMott,
 91   fOrePowell,                                  <<  69     fDPWA
 92   fOrePowellPolar                              <<  70   };
 93 };                                             << 
 94                                                    71 
 95 class G4EmParametersMessenger;                     72 class G4EmParametersMessenger;
 96 class G4EmExtraParameters;                         73 class G4EmExtraParameters;
 97 class G4EmLowEParameters;                          74 class G4EmLowEParameters;
 98 class G4VAtomDeexcitation;                         75 class G4VAtomDeexcitation;
 99 class G4VEnergyLossProcess;                        76 class G4VEnergyLossProcess;
100 class G4VEmProcess;                                77 class G4VEmProcess;
101 class G4StateManager;                              78 class G4StateManager;
102                                                    79 
103 class G4EmParameters                               80 class G4EmParameters
104 {                                                  81 {
105 public:                                            82 public:
106                                                    83 
107   static G4EmParameters* Instance();               84   static G4EmParameters* Instance();
108                                                    85 
109   ~G4EmParameters();                               86   ~G4EmParameters();
110                                                    87 
111   void SetDefaults();                              88   void SetDefaults();
112                                                    89 
113   // printing                                      90   // printing
114   void StreamInfo(std::ostream& os) const;         91   void StreamInfo(std::ostream& os) const;
115   void Dump();                                     92   void Dump();
116   friend std::ostream& operator<< (std::ostrea     93   friend std::ostream& operator<< (std::ostream& os, const G4EmParameters&);
117                                                    94 
118   // boolean flags                                 95   // boolean flags
119   void SetLossFluctuations(G4bool val);            96   void SetLossFluctuations(G4bool val);
120   G4bool LossFluctuation() const;                  97   G4bool LossFluctuation() const;
121                                                    98 
122   void SetBuildCSDARange(G4bool val);              99   void SetBuildCSDARange(G4bool val);
123   G4bool BuildCSDARange() const;                  100   G4bool BuildCSDARange() const;
124                                                   101 
125   void SetLPM(G4bool val);                        102   void SetLPM(G4bool val);
126   G4bool LPM() const;                             103   G4bool LPM() const;
127                                                   104 
128   void SetUseCutAsFinalRange(G4bool val);         105   void SetUseCutAsFinalRange(G4bool val);
129   G4bool UseCutAsFinalRange() const;              106   G4bool UseCutAsFinalRange() const;
130                                                   107 
131   void SetApplyCuts(G4bool val);                  108   void SetApplyCuts(G4bool val);
132   G4bool ApplyCuts() const;                       109   G4bool ApplyCuts() const;
133                                                   110 
134   void SetFluo(G4bool val);                       111   void SetFluo(G4bool val);
135   G4bool Fluo() const;                            112   G4bool Fluo() const;
136                                                   113 
137   G4EmFluoDirectory FluoDirectory() const;     << 
138                                                << 
139   void SetFluoDirectory(G4EmFluoDirectory);    << 
140   void SetBeardenFluoDir(G4bool val);             114   void SetBeardenFluoDir(G4bool val);
141   void SetANSTOFluoDir(G4bool val);            << 115   G4bool BeardenFluoDir() const;
142   void SetXDB_EADLFluoDir(G4bool val);         << 
143                                                   116 
144   G4bool BeardenFluoDir();                     << 117   void SetANSTOFluoDir(G4bool val);
145   G4bool ANSTOFluoDir();                       << 118   G4bool ANSTOFluoDir() const;
146                                                   119 
147   void SetAuger(G4bool val);                      120   void SetAuger(G4bool val);
148   void SetAugerCascade(G4bool val) { SetAuger(    121   void SetAugerCascade(G4bool val) { SetAuger(val); };
149   G4bool Auger() const;                           122   G4bool Auger() const;
150   G4bool AugerCascade() const { return Auger()    123   G4bool AugerCascade() const { return Auger(); }
151                                                   124 
152   void SetPixe(G4bool val);                       125   void SetPixe(G4bool val);
153   G4bool Pixe() const;                            126   G4bool Pixe() const;
154                                                   127 
155   void SetDeexcitationIgnoreCut(G4bool val);      128   void SetDeexcitationIgnoreCut(G4bool val);
156   G4bool DeexcitationIgnoreCut() const;           129   G4bool DeexcitationIgnoreCut() const;
157                                                   130 
158   void SetLateralDisplacement(G4bool val);        131   void SetLateralDisplacement(G4bool val);
159   G4bool LateralDisplacement() const;             132   G4bool LateralDisplacement() const;
160                                                   133 
161   void SetLateralDisplacementAlg96(G4bool val)    134   void SetLateralDisplacementAlg96(G4bool val);
162   G4bool LateralDisplacementAlg96() const;        135   G4bool LateralDisplacementAlg96() const;
163                                                   136 
164   void SetMuHadLateralDisplacement(G4bool val)    137   void SetMuHadLateralDisplacement(G4bool val);
165   G4bool MuHadLateralDisplacement() const;        138   G4bool MuHadLateralDisplacement() const;
166                                                   139 
167   void ActivateAngularGeneratorForIonisation(G    140   void ActivateAngularGeneratorForIonisation(G4bool val);
168   G4bool UseAngularGeneratorForIonisation() co    141   G4bool UseAngularGeneratorForIonisation() const;
169                                                   142 
170   void SetUseMottCorrection(G4bool val);          143   void SetUseMottCorrection(G4bool val);
171   G4bool UseMottCorrection() const;               144   G4bool UseMottCorrection() const;
172                                                   145 
173   void SetIntegral(G4bool val);                   146   void SetIntegral(G4bool val);
174   G4bool Integral() const;                        147   G4bool Integral() const;
175                                                   148 
176   void SetBirksActive(G4bool val);                149   void SetBirksActive(G4bool val);
177   G4bool BirksActive() const;                     150   G4bool BirksActive() const;
178                                                   151 
179   void SetUseICRU90Data(G4bool val);              152   void SetUseICRU90Data(G4bool val);
180   G4bool UseICRU90Data() const;                   153   G4bool UseICRU90Data() const;
181                                                   154 
182   void SetFluctuationType(G4EmFluctuationType  << 
183   G4EmFluctuationType FluctuationType() const; << 
184                                                << 
185   void SetPositronAtRestModelType(G4PositronAt << 
186   G4PositronAtRestModelType PositronAtRestMode << 
187                                                << 
188   void SetDNAFast(G4bool val);                    155   void SetDNAFast(G4bool val);
189   G4bool DNAFast() const;                         156   G4bool DNAFast() const;
190                                                   157 
191   void SetDNAStationary(G4bool val);              158   void SetDNAStationary(G4bool val);
192   G4bool DNAStationary() const;                   159   G4bool DNAStationary() const;
193                                                   160 
194   void SetDNAElectronMsc(G4bool val);             161   void SetDNAElectronMsc(G4bool val);
195   G4bool DNAElectronMsc() const;                  162   G4bool DNAElectronMsc() const;
196                                                   163 
197   // if general interaction is enabled then       164   // if general interaction is enabled then 
198   // force interaction options should be disab    165   // force interaction options should be disabled
199   void SetGeneralProcessActive(G4bool val);       166   void SetGeneralProcessActive(G4bool val);
200   G4bool GeneralProcessActive() const;            167   G4bool GeneralProcessActive() const;
201                                                   168 
202   void SetEnableSamplingTable(G4bool val);        169   void SetEnableSamplingTable(G4bool val);
203   G4bool EnableSamplingTable() const;             170   G4bool EnableSamplingTable() const;
204                                                   171 
205   void SetEnablePolarisation(G4bool val);         172   void SetEnablePolarisation(G4bool val);
206   G4bool EnablePolarisation() const;              173   G4bool EnablePolarisation() const;
207                                                   174 
208   G4bool GetDirectionalSplitting() const;         175   G4bool GetDirectionalSplitting() const;
209   void SetDirectionalSplitting(G4bool v);         176   void SetDirectionalSplitting(G4bool v);
210                                                   177 
211   G4bool QuantumEntanglement() const;             178   G4bool QuantumEntanglement() const;
212   void SetQuantumEntanglement(G4bool v);          179   void SetQuantumEntanglement(G4bool v);
213                                                   180 
214   G4bool RetrieveMuDataFromFile() const;          181   G4bool RetrieveMuDataFromFile() const;
215   void SetRetrieveMuDataFromFile(G4bool v);       182   void SetRetrieveMuDataFromFile(G4bool v);
216                                                   183 
217   G4bool PhotoeffectBelowKShell() const;       << 
218   void SetPhotoeffectBelowKShell(G4bool v);    << 
219                                                << 
220   G4bool MscPositronCorrection() const;        << 
221   void SetMscPositronCorrection(G4bool v);     << 
222                                                << 
223   G4bool UseEPICS2017XS() const;               << 
224   void SetUseEPICS2017XS(G4bool v);            << 
225                                                << 
226   G4bool Use3GammaAnnihilationOnFly() const;   << 
227   void Set3GammaAnnihilationOnFly(G4bool v);   << 
228                                                << 
229   G4bool UseRiGePairProductionModel() const;   << 
230   void SetUseRiGePairProductionModel(G4bool v) << 
231                                                << 
232   // 5d                                           184   // 5d
233   void SetOnIsolated(G4bool val);                 185   void SetOnIsolated(G4bool val);
234   G4bool OnIsolated() const;                      186   G4bool OnIsolated() const;
235                                                   187 
236   void ActivateDNA();                             188   void ActivateDNA();
237   void SetIsPrintedFlag(G4bool val);              189   void SetIsPrintedFlag(G4bool val);
238   G4bool IsPrintLocked() const;                   190   G4bool IsPrintLocked() const;
239                                                   191 
240   // double parameters with values                192   // double parameters with values
241   void SetMinEnergy(G4double val);                193   void SetMinEnergy(G4double val);
242   G4double MinKinEnergy() const;                  194   G4double MinKinEnergy() const;
243                                                   195 
244   void SetMaxEnergy(G4double val);                196   void SetMaxEnergy(G4double val);
245   G4double MaxKinEnergy() const;                  197   G4double MaxKinEnergy() const;
246                                                   198 
247   void SetMaxEnergyForCSDARange(G4double val);    199   void SetMaxEnergyForCSDARange(G4double val);
248   G4double MaxEnergyForCSDARange() const;         200   G4double MaxEnergyForCSDARange() const;
249                                                   201 
250   void SetLowestElectronEnergy(G4double val);     202   void SetLowestElectronEnergy(G4double val);
251   G4double LowestElectronEnergy() const;          203   G4double LowestElectronEnergy() const;
252                                                   204 
253   void SetLowestMuHadEnergy(G4double val);        205   void SetLowestMuHadEnergy(G4double val);
254   G4double LowestMuHadEnergy() const;             206   G4double LowestMuHadEnergy() const;
255                                                   207 
256   void SetLowestTripletEnergy(G4double val);      208   void SetLowestTripletEnergy(G4double val);
257   G4double LowestTripletEnergy() const;           209   G4double LowestTripletEnergy() const;
258                                                   210 
259   void SetLinearLossLimit(G4double val);          211   void SetLinearLossLimit(G4double val);
260   G4double LinearLossLimit() const;               212   G4double LinearLossLimit() const;
261                                                   213 
262   void SetBremsstrahlungTh(G4double val);         214   void SetBremsstrahlungTh(G4double val);
263   G4double BremsstrahlungTh() const;              215   G4double BremsstrahlungTh() const;
264   void SetMuHadBremsstrahlungTh(G4double val);    216   void SetMuHadBremsstrahlungTh(G4double val);
265   G4double MuHadBremsstrahlungTh() const;         217   G4double MuHadBremsstrahlungTh() const;
266                                                   218 
267   void SetLambdaFactor(G4double val);             219   void SetLambdaFactor(G4double val);
268   G4double LambdaFactor() const;                  220   G4double LambdaFactor() const;
269                                                   221 
270   void SetFactorForAngleLimit(G4double val);      222   void SetFactorForAngleLimit(G4double val);
271   G4double FactorForAngleLimit() const;           223   G4double FactorForAngleLimit() const;
272                                                   224 
273   void SetMscThetaLimit(G4double val);            225   void SetMscThetaLimit(G4double val);
274   G4double MscThetaLimit() const;                 226   G4double MscThetaLimit() const;
275                                                   227 
276   void SetMscEnergyLimit(G4double val);           228   void SetMscEnergyLimit(G4double val);
277   G4double MscEnergyLimit() const;                229   G4double MscEnergyLimit() const;
278                                                   230 
279   void SetMscRangeFactor(G4double val);           231   void SetMscRangeFactor(G4double val);
280   G4double MscRangeFactor() const;                232   G4double MscRangeFactor() const;
281                                                   233 
282   void SetMscMuHadRangeFactor(G4double val);      234   void SetMscMuHadRangeFactor(G4double val);
283   G4double MscMuHadRangeFactor() const;           235   G4double MscMuHadRangeFactor() const;
284                                                   236 
285   void SetMscGeomFactor(G4double val);            237   void SetMscGeomFactor(G4double val);
286   G4double MscGeomFactor() const;                 238   G4double MscGeomFactor() const;
287                                                   239 
288   void SetMscSafetyFactor(G4double val);          240   void SetMscSafetyFactor(G4double val);
289   G4double MscSafetyFactor() const;               241   G4double MscSafetyFactor() const;
290                                                   242 
291   void SetMscLambdaLimit(G4double val);           243   void SetMscLambdaLimit(G4double val);
292   G4double MscLambdaLimit() const;                244   G4double MscLambdaLimit() const;
293                                                   245 
294   void SetMscSkin(G4double val);                  246   void SetMscSkin(G4double val);
295   G4double MscSkin() const;                       247   G4double MscSkin() const;
296                                                   248 
297   void SetScreeningFactor(G4double val);          249   void SetScreeningFactor(G4double val);
298   G4double ScreeningFactor() const;               250   G4double ScreeningFactor() const;
299                                                   251 
300   void SetMaxNIELEnergy(G4double val);            252   void SetMaxNIELEnergy(G4double val);
301   G4double MaxNIELEnergy() const;                 253   G4double MaxNIELEnergy() const;
302                                                   254 
303   void SetMaxEnergyFor5DMuPair(G4double val);     255   void SetMaxEnergyFor5DMuPair(G4double val);
304   G4double MaxEnergyFor5DMuPair() const;          256   G4double MaxEnergyFor5DMuPair() const;
305                                                   257 
306   void SetStepFunction(G4double v1, G4double v    258   void SetStepFunction(G4double v1, G4double v2);
307   void SetStepFunctionMuHad(G4double v1, G4dou    259   void SetStepFunctionMuHad(G4double v1, G4double v2);
308   void SetStepFunctionLightIons(G4double v1, G    260   void SetStepFunctionLightIons(G4double v1, G4double v2);
309   void SetStepFunctionIons(G4double v1, G4doub    261   void SetStepFunctionIons(G4double v1, G4double v2);
310   void FillStepFunction(const G4ParticleDefini    262   void FillStepFunction(const G4ParticleDefinition*, G4VEnergyLossProcess*) const;
311                                                   263 
312   void SetDirectionalSplittingRadius(G4double     264   void SetDirectionalSplittingRadius(G4double r);
313   G4double GetDirectionalSplittingRadius();       265   G4double GetDirectionalSplittingRadius();
314                                                   266 
315   void SetDirectionalSplittingTarget(const G4T    267   void SetDirectionalSplittingTarget(const G4ThreeVector& v);
316   G4ThreeVector GetDirectionalSplittingTarget(    268   G4ThreeVector GetDirectionalSplittingTarget() const;
317                                                   269 
318   // integer parameters                           270   // integer parameters 
319                                                   271   
320   void SetNumberOfBinsPerDecade(G4int val);       272   void SetNumberOfBinsPerDecade(G4int val);
321   G4int NumberOfBinsPerDecade() const;            273   G4int NumberOfBinsPerDecade() const;
322   G4int NumberOfBins() const;                     274   G4int NumberOfBins() const;
323                                                   275 
324   void SetVerbose(G4int val);                     276   void SetVerbose(G4int val);
325   G4int Verbose() const;                          277   G4int Verbose() const;
326                                                   278 
327   void SetWorkerVerbose(G4int val);               279   void SetWorkerVerbose(G4int val);
328   G4int WorkerVerbose() const;                    280   G4int WorkerVerbose() const;
329                                                   281 
330   void SetNumberForFreeVector(G4int val);      << 
331   G4int NumberForFreeVector() const;           << 
332                                                << 
333   void SetTransportationWithMsc(G4Transportati << 
334   G4TransportationWithMscType TransportationWi << 
335                                                << 
336   void SetMscStepLimitType(G4MscStepLimitType     282   void SetMscStepLimitType(G4MscStepLimitType val);
337   G4MscStepLimitType MscStepLimitType() const;    283   G4MscStepLimitType MscStepLimitType() const;
338                                                   284 
339   void SetMscMuHadStepLimitType(G4MscStepLimit    285   void SetMscMuHadStepLimitType(G4MscStepLimitType val);
340   G4MscStepLimitType MscMuHadStepLimitType() c    286   G4MscStepLimitType MscMuHadStepLimitType() const;
341                                                   287 
342   void SetSingleScatteringType(G4eSingleScatte    288   void SetSingleScatteringType(G4eSingleScatteringType val); 
343   G4eSingleScatteringType SingleScatteringType    289   G4eSingleScatteringType SingleScatteringType() const;
344                                                   290 
345   void SetNuclearFormfactorType(G4NuclearFormf    291   void SetNuclearFormfactorType(G4NuclearFormfactorType val);
346   G4NuclearFormfactorType NuclearFormfactorTyp    292   G4NuclearFormfactorType NuclearFormfactorType() const;
347                                                   293 
348   void SetDNAeSolvationSubType(G4DNAModelSubTy    294   void SetDNAeSolvationSubType(G4DNAModelSubType val);
349   G4DNAModelSubType DNAeSolvationSubType() con    295   G4DNAModelSubType DNAeSolvationSubType() const;
350                                                   296 
351   //DNA chemistry model                        << 
352   void SetTimeStepModel(const G4ChemTimeStepMo << 
353   G4ChemTimeStepModel GetTimeStepModel() const << 
354   //5d                                            297   //5d
355   void  SetConversionType(G4int val);             298   void  SetConversionType(G4int val);
356   G4int GetConversionType() const;                299   G4int GetConversionType() const;
357                                                   300 
358   // string parameters                            301   // string parameters 
359   void SetPIXECrossSectionModel(const G4String    302   void SetPIXECrossSectionModel(const G4String&);
360   const G4String& PIXECrossSectionModel();        303   const G4String& PIXECrossSectionModel();
361                                                   304 
362   void SetPIXEElectronCrossSectionModel(const     305   void SetPIXEElectronCrossSectionModel(const G4String&);
363   const G4String& PIXEElectronCrossSectionMode    306   const G4String& PIXEElectronCrossSectionModel();
364                                                   307 
365   void SetLivermoreDataDir(const G4String&);      308   void SetLivermoreDataDir(const G4String&);
366   const G4String& LivermoreDataDir();             309   const G4String& LivermoreDataDir();
367                                                   310 
368   // parameters per region or per process         311   // parameters per region or per process 
369   void AddPAIModel(const G4String& particle,      312   void AddPAIModel(const G4String& particle,
370                    const G4String& region,        313                    const G4String& region,
371                    const G4String& type);         314                    const G4String& type);
372   const std::vector<G4String>& ParticlesPAI()     315   const std::vector<G4String>& ParticlesPAI() const;
373   const std::vector<G4String>& RegionsPAI() co    316   const std::vector<G4String>& RegionsPAI() const;
374   const std::vector<G4String>& TypesPAI() cons    317   const std::vector<G4String>& TypesPAI() const;
375                                                   318 
376   void AddMicroElec(const G4String& region);      319   void AddMicroElec(const G4String& region);
377   const std::vector<G4String>& RegionsMicroEle    320   const std::vector<G4String>& RegionsMicroElec() const;
378                                                   321 
379   void AddDNA(const G4String& region, const G4    322   void AddDNA(const G4String& region, const G4String& type);
380   const std::vector<G4String>& RegionsDNA() co    323   const std::vector<G4String>& RegionsDNA() const;
381   const std::vector<G4String>& TypesDNA() cons    324   const std::vector<G4String>& TypesDNA() const;
382                                                   325 
383   void AddPhysics(const G4String& region, cons    326   void AddPhysics(const G4String& region, const G4String& type);
384   const std::vector<G4String>& RegionsPhysics(    327   const std::vector<G4String>& RegionsPhysics() const;
385   const std::vector<G4String>& TypesPhysics()     328   const std::vector<G4String>& TypesPhysics() const;
386                                                   329 
387   void SetSubCutRegion(const G4String& region     330   void SetSubCutRegion(const G4String& region = "");
388                                                   331 
389   void SetDeexActiveRegion(const G4String& reg    332   void SetDeexActiveRegion(const G4String& region, G4bool fdeex,
390          G4bool fauger, G4bool fpixe);            333          G4bool fauger, G4bool fpixe);
391                                                   334 
392   void SetProcessBiasingFactor(const G4String&    335   void SetProcessBiasingFactor(const G4String& procname, 
393                                G4double val, G    336                                G4double val, G4bool wflag);
394                                                   337 
395   void ActivateForcedInteraction(const G4Strin    338   void ActivateForcedInteraction(const G4String& procname, 
396                                  const G4Strin    339                                  const G4String& region,
397                                  G4double leng    340                                  G4double length, 
398                                  G4bool wflag)    341                                  G4bool wflag);
399                                                   342 
400   void ActivateSecondaryBiasing(const G4String    343   void ActivateSecondaryBiasing(const G4String& name,
401         const G4String& region,                   344         const G4String& region, 
402         G4double factor,                          345         G4double factor,
403         G4double energyLimit);                    346         G4double energyLimit);
404                                                   347 
405   // define external saturation class             348   // define external saturation class
406   void SetEmSaturation(G4EmSaturation*);          349   void SetEmSaturation(G4EmSaturation*);
407   // create and access saturation class           350   // create and access saturation class
408   G4EmSaturation* GetEmSaturation();              351   G4EmSaturation* GetEmSaturation();
409                                                   352 
410   // initialisation methods                       353   // initialisation methods
411   void DefineRegParamForLoss(G4VEnergyLossProc    354   void DefineRegParamForLoss(G4VEnergyLossProcess*) const;
412   void DefineRegParamForEM(G4VEmProcess*) cons    355   void DefineRegParamForEM(G4VEmProcess*) const;
413   void DefineRegParamForDeex(G4VAtomDeexcitati    356   void DefineRegParamForDeex(G4VAtomDeexcitation*) const;
414                                                   357 
415   const G4String& GetDirLEDATA() const;        << 
416                                                << 
417   G4EmParameters(G4EmParameters &) = delete;      358   G4EmParameters(G4EmParameters &) = delete;
418   G4EmParameters & operator=(const G4EmParamet    359   G4EmParameters & operator=(const G4EmParameters &right) = delete;  
419                                                   360 
420 private:                                          361 private:
421                                                   362 
422   G4EmParameters();                               363   G4EmParameters();
423                                                   364 
424   void Initialise();                              365   void Initialise();
425                                                   366 
426   G4bool IsLocked() const;                        367   G4bool IsLocked() const;
427                                                   368 
428   void PrintWarning(G4ExceptionDescription& ed    369   void PrintWarning(G4ExceptionDescription& ed) const; 
429                                                   370 
430   static G4EmParameters* theInstance;             371   static G4EmParameters* theInstance;
431                                                   372 
432   G4EmParametersMessenger* theMessenger;          373   G4EmParametersMessenger* theMessenger;
433   G4EmExtraParameters* fBParameters;              374   G4EmExtraParameters* fBParameters;
434   G4EmLowEParameters* fCParameters;               375   G4EmLowEParameters* fCParameters;
435   G4StateManager*  fStateManager;                 376   G4StateManager*  fStateManager;
436   G4EmSaturation*  emSaturation;                  377   G4EmSaturation*  emSaturation;
437                                                   378 
438   G4bool lossFluctuation;                         379   G4bool lossFluctuation;
439   G4bool buildCSDARange;                          380   G4bool buildCSDARange;
440   G4bool flagLPM;                                 381   G4bool flagLPM;
441   G4bool cutAsFinalRange;                         382   G4bool cutAsFinalRange;
442   G4bool applyCuts;                               383   G4bool applyCuts;
443   G4bool lateralDisplacement;                     384   G4bool lateralDisplacement;
444   G4bool lateralDisplacementAlg96;                385   G4bool lateralDisplacementAlg96;
445   G4bool muhadLateralDisplacement;                386   G4bool muhadLateralDisplacement;
446   G4bool useAngGeneratorForIonisation;            387   G4bool useAngGeneratorForIonisation;
447   G4bool useMottCorrection;                       388   G4bool useMottCorrection;
448   G4bool integral;                                389   G4bool integral;
449   G4bool birks;                                   390   G4bool birks;
450   G4bool fICRU90;                                 391   G4bool fICRU90;
451   G4bool gener;                                   392   G4bool gener;
452   G4bool fSamplingTable;                          393   G4bool fSamplingTable;
453   G4bool fPolarisation;                           394   G4bool fPolarisation;
454   G4bool fMuDataFromFile;                         395   G4bool fMuDataFromFile;
455   G4bool fPEKShell;                            << 
456   G4bool fMscPosiCorr;                         << 
457   G4bool fUseEPICS2017XS;                      << 
458   G4bool f3GammaAnnihilationOnFly;             << 
459   G4bool fUseRiGePairProductionModel;          << 
460   G4bool onIsolated; // 5d model conversion on    396   G4bool onIsolated; // 5d model conversion on free ions
461   G4bool fDNA;                                    397   G4bool fDNA;
462   G4bool fIsPrinted;                              398   G4bool fIsPrinted;
463                                                   399   
464   G4double minKinEnergy;                          400   G4double minKinEnergy;
465   G4double maxKinEnergy;                          401   G4double maxKinEnergy;
466   G4double maxKinEnergyCSDA;                      402   G4double maxKinEnergyCSDA;
467   G4double max5DEnergyForMuPair;                  403   G4double max5DEnergyForMuPair;
468   G4double lowestElectronEnergy;                  404   G4double lowestElectronEnergy;
469   G4double lowestMuHadEnergy;                     405   G4double lowestMuHadEnergy;
470   G4double lowestTripletEnergy;                   406   G4double lowestTripletEnergy;
471   G4double linLossLimit;                          407   G4double linLossLimit;
472   G4double bremsTh;                               408   G4double bremsTh;
473   G4double bremsMuHadTh;                          409   G4double bremsMuHadTh;
474   G4double lambdaFactor;                          410   G4double lambdaFactor;
475   G4double factorForAngleLimit;                   411   G4double factorForAngleLimit;
476   G4double thetaLimit;                            412   G4double thetaLimit;
477   G4double energyLimit;                           413   G4double energyLimit;
478   G4double maxNIELEnergy;                         414   G4double maxNIELEnergy;
479   G4double rangeFactor;                           415   G4double rangeFactor;
480   G4double rangeFactorMuHad;                      416   G4double rangeFactorMuHad;
481   G4double geomFactor;                            417   G4double geomFactor;
482   G4double safetyFactor;                          418   G4double safetyFactor;
483   G4double lambdaLimit;                           419   G4double lambdaLimit;
484   G4double skin;                                  420   G4double skin;
485   G4double factorScreen;                          421   G4double factorScreen;
486                                                   422 
487   G4int nbinsPerDecade;                           423   G4int nbinsPerDecade;
488   G4int verbose;                                  424   G4int verbose;
489   G4int workerVerbose;                            425   G4int workerVerbose;
490   G4int nForFreeVector;                        << 
491   G4int tripletConv;  // 5d model triplet gene    426   G4int tripletConv;  // 5d model triplet generation type
492                                                   427 
493   G4TransportationWithMscType fTransportationW << 
494   G4MscStepLimitType mscStepLimit;                428   G4MscStepLimitType mscStepLimit;
495   G4MscStepLimitType mscStepLimitMuHad;           429   G4MscStepLimitType mscStepLimitMuHad;
496   G4NuclearFormfactorType nucFormfactor;          430   G4NuclearFormfactorType nucFormfactor;
497   G4eSingleScatteringType fSStype;                431   G4eSingleScatteringType fSStype;
498   G4EmFluctuationType fFluct;                  << 
499   G4PositronAtRestModelType fPositronium;      << 
500                                                   432 
501   G4String fDirLEDATA;                         << 433 #ifdef G4MULTITHREADED
                                                   >> 434   static G4Mutex emParametersMutex;
                                                   >> 435 #endif
502 };                                                436 };
503                                                   437 
504 //....oooOO0OOooo........oooOO0OOooo........oo    438 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
505                                                   439 
506 #endif                                            440 #endif
507                                                   441 
508                                                   442