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 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/G4EmLowEParameters.hh (Version 11.3.0) and /processes/electromagnetic/utils/include/G4EmLowEParameters.hh (Version 10.7)


  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:     G4EmLowEParameters               30 // File name:     G4EmLowEParameters
 31 //                                                 31 //
 32 // Author:        Vladimir Ivanchenko              32 // Author:        Vladimir Ivanchenko
 33 //                                                 33 //                  
 34 // Creation date: 06.05.2019                       34 // Creation date: 06.05.2019
 35 //                                                 35 //
 36 // Class Description:                              36 // Class Description:
 37 //                                                 37 //
 38 // An internal utility class, responsable for      38 // An internal utility class, responsable for keeping parameters
 39 // for low-energy EM and DNA physics processes     39 // for low-energy EM and DNA physics processes and models.
 40 //                                                 40 //
 41 // It is initialized by the master thread but      41 // It is initialized by the master thread but can be updated 
 42 // at any moment via G4EmParameters interface.     42 // at any moment via G4EmParameters interface. It is not assumed
 43 // to be used for a direct initialisation          43 // to be used for a direct initialisation
 44 //                                                 44 //
 45 // -------------------------------------------     45 // -------------------------------------------------------------------
 46 //                                                 46 //
 47                                                    47 
 48 #ifndef G4EmLowEParameters_h                       48 #ifndef G4EmLowEParameters_h
 49 #define G4EmLowEParameters_h 1                     49 #define G4EmLowEParameters_h 1
 50                                                    50 
 51 #include "globals.hh"                              51 #include "globals.hh"
 52 #include "G4DNAModelSubType.hh"                    52 #include "G4DNAModelSubType.hh"
 53 #include "G4EmFluoDirectory.hh"                << 
 54 #include "G4ChemTimeStepModel.hh"              << 
 55 #include <vector>                                  53 #include <vector>
 56                                                    54 
 57 class G4EmLowEParametersMessenger;                 55 class G4EmLowEParametersMessenger;
 58 class G4VAtomDeexcitation;                         56 class G4VAtomDeexcitation;
 59                                                    57 
 60 class G4EmLowEParameters                           58 class G4EmLowEParameters
 61 {                                                  59 {
 62 public:                                            60 public:
 63                                                    61 
 64   explicit G4EmLowEParameters();                   62   explicit G4EmLowEParameters();
 65                                                    63 
 66   ~G4EmLowEParameters();                           64   ~G4EmLowEParameters();
 67                                                    65 
 68   void Initialise();                               66   void Initialise();
 69                                                    67 
 70   // boolean flags                                 68   // boolean flags
 71   void SetFluo(G4bool val);                        69   void SetFluo(G4bool val);
 72   G4bool Fluo() const;                             70   G4bool Fluo() const;
 73                                                    71 
 74   G4EmFluoDirectory FluoDirectory() const;     << 
 75                                                << 
 76   void SetFluoDirectory(G4EmFluoDirectory val) << 
 77   void SetBeardenFluoDir(G4bool val);              72   void SetBeardenFluoDir(G4bool val);
 78   void SetANSTOFluoDir(G4bool val);            <<  73   G4bool BeardenFluoDir() const;
 79   void SetXDB_EADLFluoDir(G4bool val);         << 
 80                                                    74 
 81   void SetAuger(G4bool val);                       75   void SetAuger(G4bool val);
 82   G4bool Auger() const;                            76   G4bool Auger() const;
 83                                                    77 
 84   void SetPixe(G4bool val);                        78   void SetPixe(G4bool val);
 85   G4bool Pixe() const;                             79   G4bool Pixe() const;
 86                                                    80 
 87   void SetDeexcitationIgnoreCut(G4bool val);       81   void SetDeexcitationIgnoreCut(G4bool val);
 88   G4bool DeexcitationIgnoreCut() const;            82   G4bool DeexcitationIgnoreCut() const;
 89                                                    83 
 90   void SetDNAFast(G4bool val);                     84   void SetDNAFast(G4bool val);
 91   G4bool DNAFast() const;                          85   G4bool DNAFast() const;
 92                                                    86 
 93   void SetDNAStationary(G4bool val);               87   void SetDNAStationary(G4bool val);
 94   G4bool DNAStationary() const;                    88   G4bool DNAStationary() const;
 95                                                    89 
 96   void SetChemTimeStepModel(G4ChemTimeStepMode << 
 97   G4ChemTimeStepModel GetChemTimeStepModel() c << 
 98                                                << 
 99   void SetDNAElectronMsc(G4bool val);              90   void SetDNAElectronMsc(G4bool val);
100   G4bool DNAElectronMsc() const;                   91   G4bool DNAElectronMsc() const;
101                                                    92 
102   // integer parameters                            93   // integer parameters 
103   void SetDNAeSolvationSubType(G4DNAModelSubTy     94   void SetDNAeSolvationSubType(G4DNAModelSubType val);
104   G4DNAModelSubType DNAeSolvationSubType() con     95   G4DNAModelSubType DNAeSolvationSubType() const;
105                                                    96 
106   // string parameters                             97   // string parameters 
107   void SetPIXECrossSectionModel(const G4String     98   void SetPIXECrossSectionModel(const G4String&);
108   const G4String& PIXECrossSectionModel();         99   const G4String& PIXECrossSectionModel();
109                                                   100 
110   void SetPIXEElectronCrossSectionModel(const     101   void SetPIXEElectronCrossSectionModel(const G4String&);
111   const G4String& PIXEElectronCrossSectionMode    102   const G4String& PIXEElectronCrossSectionModel();
112                                                   103 
113   void SetLivermoreDataDir(const G4String&);      104   void SetLivermoreDataDir(const G4String&);
114   const G4String& LivermoreDataDir();             105   const G4String& LivermoreDataDir();
115                                                   106 
116   // parameters per region or per process         107   // parameters per region or per process 
117   void AddMicroElec(const G4String& region);      108   void AddMicroElec(const G4String& region);
118   const std::vector<G4String>& RegionsMicroEle    109   const std::vector<G4String>& RegionsMicroElec() const;
119                                                   110 
120   void AddDNA(const G4String& region, const G4    111   void AddDNA(const G4String& region, const G4String& type);
121   const std::vector<G4String>& RegionsDNA() co    112   const std::vector<G4String>& RegionsDNA() const;
122   const std::vector<G4String>& TypesDNA() cons    113   const std::vector<G4String>& TypesDNA() const;
123                                                   114 
124   void SetDeexActiveRegion(const G4String& reg    115   void SetDeexActiveRegion(const G4String& region, G4bool fdeex,
125          G4bool fauger, G4bool fpixe);            116          G4bool fauger, G4bool fpixe);
126                                                   117 
127   // initialisation methods                       118   // initialisation methods
128   void DefineRegParamForDeex(G4VAtomDeexcitati    119   void DefineRegParamForDeex(G4VAtomDeexcitation*) const;
129                                                   120 
130   G4EmLowEParameters(G4EmLowEParameters &) = d    121   G4EmLowEParameters(G4EmLowEParameters &) = delete;
131   G4EmLowEParameters & operator=                  122   G4EmLowEParameters & operator=
132   (const G4EmLowEParameters &right) = delete;     123   (const G4EmLowEParameters &right) = delete;  
133                                                   124 
134 private:                                          125 private:
135                                                   126 
136   G4String CheckRegion(const G4String&) const;    127   G4String CheckRegion(const G4String&) const;
137                                                   128 
138   void PrintWarning(G4ExceptionDescription& ed    129   void PrintWarning(G4ExceptionDescription& ed) const;
139                                                   130 
140   G4EmLowEParametersMessenger* theMessenger;      131   G4EmLowEParametersMessenger* theMessenger;
141                                                   132 
142   G4bool fluo;                                    133   G4bool fluo;
                                                   >> 134   G4bool beardenFluoDir;
143   G4bool auger;                                   135   G4bool auger;
144   G4bool pixe;                                    136   G4bool pixe;
145   G4bool deexIgnoreCut;                           137   G4bool deexIgnoreCut;
146                                                   138 
147   G4bool dnaFast;                                 139   G4bool dnaFast;
148   G4bool dnaStationary;                           140   G4bool dnaStationary;
149   G4bool dnaMsc;                                  141   G4bool dnaMsc;
150                                                   142   
151   G4DNAModelSubType dnaElectronSolvation;      << 143   G4DNAModelSubType  dnaElectronSolvation;
152   G4ChemTimeStepModel fTimeStepModel;          << 
153                                                << 
154   G4EmFluoDirectory fFluoDirectory;            << 
155                                                   144 
156   G4String namePIXE;                              145   G4String namePIXE;
157   G4String nameElectronPIXE;                      146   G4String nameElectronPIXE;
158   G4String livDataDir;                            147   G4String livDataDir;
159                                                   148 
160   std::vector<G4String>  m_regnamesME;            149   std::vector<G4String>  m_regnamesME;
161                                                   150 
162   std::vector<G4String>  m_regnamesDNA;           151   std::vector<G4String>  m_regnamesDNA;
163   std::vector<G4String>  m_typesDNA;              152   std::vector<G4String>  m_typesDNA;
164                                                   153 
165   std::vector<G4String>  m_regnamesDeex;          154   std::vector<G4String>  m_regnamesDeex;
166   std::vector<G4bool>    m_fluo;                  155   std::vector<G4bool>    m_fluo;
167   std::vector<G4bool>    m_auger;                 156   std::vector<G4bool>    m_auger;
168   std::vector<G4bool>    m_pixe;                  157   std::vector<G4bool>    m_pixe;
169 };                                                158 };
170                                                   159 
171 //....oooOO0OOooo........oooOO0OOooo........oo    160 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
172                                                   161 
173 #endif                                            162 #endif
174                                                   163 
175                                                   164