ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4EmLowEParameters.hh
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file G4EmLowEParameters.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 // -------------------------------------------------------------------
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 keeping parameters
39 // for low-energy EM and DNA physics processes and models.
40 //
41 // It is initialized by the master thread but can be updated
42 // at any moment via G4EmParameters interface. It is not assumed
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 <vector>
54 
57 
59 {
60 public:
61 
62  explicit G4EmLowEParameters();
63 
65 
66  void Initialise();
67 
68  // boolean flags
69  void SetFluo(G4bool val);
70  G4bool Fluo() const;
71 
72  void SetBeardenFluoDir(G4bool val);
73  G4bool BeardenFluoDir() const;
74 
75  void SetAuger(G4bool val);
76  G4bool Auger() const;
77 
78  void SetPixe(G4bool val);
79  G4bool Pixe() const;
80 
83 
84  void SetDNAFast(G4bool val);
85  G4bool DNAFast() const;
86 
87  void SetDNAStationary(G4bool val);
88  G4bool DNAStationary() const;
89 
90  void SetDNAElectronMsc(G4bool val);
91  G4bool DNAElectronMsc() const;
92 
93  // integer parameters
96 
97  // string parameters
100 
103 
104  // parameters per region or per process
105  void AddMicroElec(const G4String& region);
106  const std::vector<G4String>& RegionsMicroElec() const;
107 
108  void AddDNA(const G4String& region, const G4String& type);
109  const std::vector<G4String>& RegionsDNA() const;
110  const std::vector<G4String>& TypesDNA() const;
111 
112  void SetDeexActiveRegion(const G4String& region, G4bool fdeex,
113  G4bool fauger, G4bool fpixe);
114 
115  // initialisation methods
117 
119  G4EmLowEParameters & operator=
120  (const G4EmLowEParameters &right) = delete;
121 
122 private:
123 
124  G4String CheckRegion(const G4String&) const;
125 
126  void PrintWarning(G4ExceptionDescription& ed) const;
127 
129 
135 
139 
141 
144 
145  std::vector<G4String> m_regnamesME;
146 
147  std::vector<G4String> m_regnamesDNA;
148  std::vector<G4String> m_typesDNA;
149 
150  std::vector<G4String> m_regnamesDeex;
151  std::vector<G4bool> m_fluo;
152  std::vector<G4bool> m_auger;
153  std::vector<G4bool> m_pixe;
154 };
155 
156 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
157 
158 #endif
159