Geant4 Cross Reference |
1 // 1 2 // ******************************************* 3 // * License and Disclaimer 4 // * 5 // * The Geant4 software is copyright of th 6 // * the Geant4 Collaboration. It is provided 7 // * conditions of the Geant4 Software License 8 // * LICENSE and available at http://cern.ch/ 9 // * include a list of copyright holders. 10 // * 11 // * Neither the authors of this software syst 12 // * institutes,nor the agencies providing fin 13 // * work make any representation or warran 14 // * regarding this software system or assum 15 // * use. Please see the license in the file 16 // * for the full disclaimer and the limitatio 17 // * 18 // * This code implementation is the result 19 // * technical work of the GEANT4 collaboratio 20 // * By using, copying, modifying or distri 21 // * any work based on the software) you ag 22 // * use in resulting scientific publicati 23 // * acceptance of all terms of the Geant4 Sof 24 // ******************************************* 25 // 26 // ------------------------------------------- 27 // 28 // GEANT4 Class header file 29 // 30 // File name: G4EmLowEParameters 31 // 32 // Author: Vladimir Ivanchenko 33 // 34 // Creation date: 06.05.2019 35 // 36 // Class Description: 37 // 38 // An internal utility class, responsable for 39 // for low-energy EM and DNA physics processes 40 // 41 // It is initialized by the master thread but 42 // at any moment via G4EmParameters interface. 43 // to be used for a direct initialisation 44 // 45 // ------------------------------------------- 46 // 47 48 #ifndef G4EmLowEParameters_h 49 #define G4EmLowEParameters_h 1 50 51 #include "globals.hh" 52 #include "G4DNAModelSubType.hh" 53 #include "G4EmFluoDirectory.hh" 54 #include "G4ChemTimeStepModel.hh" 55 #include <vector> 56 57 class G4EmLowEParametersMessenger; 58 class G4VAtomDeexcitation; 59 60 class G4EmLowEParameters 61 { 62 public: 63 64 explicit G4EmLowEParameters(); 65 66 ~G4EmLowEParameters(); 67 68 void Initialise(); 69 70 // boolean flags 71 void SetFluo(G4bool val); 72 G4bool Fluo() const; 73 74 G4EmFluoDirectory FluoDirectory() const; 75 76 void SetFluoDirectory(G4EmFluoDirectory val) 77 void SetBeardenFluoDir(G4bool val); 78 void SetANSTOFluoDir(G4bool val); 79 void SetXDB_EADLFluoDir(G4bool val); 80 81 void SetAuger(G4bool val); 82 G4bool Auger() const; 83 84 void SetPixe(G4bool val); 85 G4bool Pixe() const; 86 87 void SetDeexcitationIgnoreCut(G4bool val); 88 G4bool DeexcitationIgnoreCut() const; 89 90 void SetDNAFast(G4bool val); 91 G4bool DNAFast() const; 92 93 void SetDNAStationary(G4bool val); 94 G4bool DNAStationary() const; 95 96 void SetChemTimeStepModel(G4ChemTimeStepMode 97 G4ChemTimeStepModel GetChemTimeStepModel() c 98 99 void SetDNAElectronMsc(G4bool val); 100 G4bool DNAElectronMsc() const; 101 102 // integer parameters 103 void SetDNAeSolvationSubType(G4DNAModelSubTy 104 G4DNAModelSubType DNAeSolvationSubType() con 105 106 // string parameters 107 void SetPIXECrossSectionModel(const G4String 108 const G4String& PIXECrossSectionModel(); 109 110 void SetPIXEElectronCrossSectionModel(const 111 const G4String& PIXEElectronCrossSectionMode 112 113 void SetLivermoreDataDir(const G4String&); 114 const G4String& LivermoreDataDir(); 115 116 // parameters per region or per process 117 void AddMicroElec(const G4String& region); 118 const std::vector<G4String>& RegionsMicroEle 119 120 void AddDNA(const G4String& region, const G4 121 const std::vector<G4String>& RegionsDNA() co 122 const std::vector<G4String>& TypesDNA() cons 123 124 void SetDeexActiveRegion(const G4String& reg 125 G4bool fauger, G4bool fpixe); 126 127 // initialisation methods 128 void DefineRegParamForDeex(G4VAtomDeexcitati 129 130 G4EmLowEParameters(G4EmLowEParameters &) = d 131 G4EmLowEParameters & operator= 132 (const G4EmLowEParameters &right) = delete; 133 134 private: 135 136 G4String CheckRegion(const G4String&) const; 137 138 void PrintWarning(G4ExceptionDescription& ed 139 140 G4EmLowEParametersMessenger* theMessenger; 141 142 G4bool fluo; 143 G4bool auger; 144 G4bool pixe; 145 G4bool deexIgnoreCut; 146 147 G4bool dnaFast; 148 G4bool dnaStationary; 149 G4bool dnaMsc; 150 151 G4DNAModelSubType dnaElectronSolvation; 152 G4ChemTimeStepModel fTimeStepModel; 153 154 G4EmFluoDirectory fFluoDirectory; 155 156 G4String namePIXE; 157 G4String nameElectronPIXE; 158 G4String livDataDir; 159 160 std::vector<G4String> m_regnamesME; 161 162 std::vector<G4String> m_regnamesDNA; 163 std::vector<G4String> m_typesDNA; 164 165 std::vector<G4String> m_regnamesDeex; 166 std::vector<G4bool> m_fluo; 167 std::vector<G4bool> m_auger; 168 std::vector<G4bool> m_pixe; 169 }; 170 171 //....oooOO0OOooo........oooOO0OOooo........oo 172 173 #endif 174 175