|
| 1 | + |
| 2 | + Geant4 10.4 - patch-01 Release Notes |
| 3 | + ------------------------------------ |
| 4 | + |
| 5 | + 28 February 2018 |
| 6 | + |
| 7 | +List of fixes included in this public patch since the public release 10.4: |
| 8 | + |
| 9 | + o Configuration: |
| 10 | + ------------- |
| 11 | + + CMake: |
| 12 | + o Added c++17 to C++ standards against which Geant4 can be compiled, |
| 13 | + as experimental build. Will require a minimum CMake version 3.8 to |
| 14 | + enable, but this is not checked. |
| 15 | + o Updated URL for downloads to use dedicated server alias. |
| 16 | + + GNUMake: |
| 17 | + o Disabled obsolete linker flag for static libraries in Darwing-clang.gmk. |
| 18 | + |
| 19 | + o Analysis: |
| 20 | + -------- |
| 21 | + + Fixed self-consistency in headers (missing #include) in |
| 22 | + G4BaseAnalysisManager and G4PlotManager. |
| 23 | + |
| 24 | + o Digits-Hits: |
| 25 | + ----------- |
| 26 | + + G4ScoringMessenger, G4ScoreQuantityMessenger: UI command returns an error |
| 27 | + message if a command is refused due to incorrect parameter(s). |
| 28 | + |
| 29 | + o Error Propagation: |
| 30 | + ----------------- |
| 31 | + + Fixed self-consistency in headers (missing #include) in G4ErrorMatrix, |
| 32 | + G4ErrorRunManagerHelper and G4ErrorSymMatrix. |
| 33 | + |
| 34 | + o Event: |
| 35 | + ----- |
| 36 | + + G4GeneralParticleSourceMessenger, G4ParticleGunMessenger: UI command |
| 37 | + returns an error message if a command is refused due to incorrect |
| 38 | + parameter(s). |
| 39 | + + Added deprecation warning for '/gun/ionL' UI command. |
| 40 | + + Fixed self-consistency in G4SPSRandomGenerator header (missing #include). |
| 41 | + |
| 42 | + o Externals: |
| 43 | + --------- |
| 44 | + + CLHEP: in MixMaxRng::modadd(), fixed guard for assembly code to protect |
| 45 | + builds on 32-bit systems. |
| 46 | + |
| 47 | + o Geometry: |
| 48 | + -------- |
| 49 | + + management: |
| 50 | + o Fixed self-consistency in G4VVolumeMaterialScanner header (missing |
| 51 | + #include). |
| 52 | + + navigation: |
| 53 | + o Fix for momentum value in G4PathFinder::SetChargeMomentumMass(); |
| 54 | + where magnitude square was passed instead of magnitude. |
| 55 | + Addressing problem report #2037. |
| 56 | + + solids/CSG: |
| 57 | + o Fixed typo in G4Trd::GetPointOnSurface() for the area settings. |
| 58 | + o Correction in G4UPara wrapper in ComputeDimensions() to add explicit |
| 59 | + cast for the solid type to parameterise. |
| 60 | + + solids/specific: |
| 61 | + o Added missing initialisation of two data-members in copy-ctor and |
| 62 | + assignment operator of G4ExtrudedSolid. Addressing problem report #2016. |
| 63 | + Removed redundant data initialistion in G4ExtrudedSolid constructors. |
| 64 | + |
| 65 | + o Global: |
| 66 | + ------ |
| 67 | + + G4MTcoutDestination blocks G4cout from worker threads while application |
| 68 | + is in G4State_Init instead of G4State_Idle. |
| 69 | + + Added SetVerbosity() method in G4StateManager and notify state change. |
| 70 | + + Fixed self-consistency in G4ReferenceCountedHandle header (missing |
| 71 | + #include). Added missing #ifdef guard in G4CacheDetails header; code |
| 72 | + formatting. |
| 73 | + + Updated date and version for 10.4.p01. |
| 74 | + |
| 75 | + o Intercoms: |
| 76 | + --------- |
| 77 | + + G4UIcommand, G4UImanager: additional implementation for adding a |
| 78 | + mechanism of carrying back error message from the messenger if a command |
| 79 | + is rejected due to the target class or the messenger. |
| 80 | + |
| 81 | + o Interfaces: |
| 82 | + ---------- |
| 83 | + + G4UIQt: fix to remove parameters from popup in Qt interface when |
| 84 | + autocompleting command line. Take into account of '\n' character for |
| 85 | + command guidance in help tree. |
| 86 | + |
| 87 | + o Materials: |
| 88 | + --------- |
| 89 | + + Re-enable user-defined material properties in G4MaterialPropertiesTable |
| 90 | + and G4MaterialPropertiesIndex. Addressing problem report #2030. |
| 91 | + + G4OpticalSurface: moved static methods to source. |
| 92 | + + Fixed self-consistency in headers (missing #include) in G4ElementTable |
| 93 | + and G4MaterialTable. |
| 94 | + |
| 95 | + o Parameterisations - gflash |
| 96 | + -------------------------- |
| 97 | + + Fixed self-consistency in GVFlashHomoShowerTuning header (missing |
| 98 | + #include). |
| 99 | + |
| 100 | + o Persistency - gdml |
| 101 | + ------------------ |
| 102 | + + Updates to G4GDMLWriteSolids and G4GDMLWriteMaterials for changes in |
| 103 | + G4Material[Const]PropertiesTable for addressing problem report #2030. |
| 104 | + + Fixed self-consistency in G4GDMLAuxStructType header (missing #include). |
| 105 | + |
| 106 | + o Processes - Electromagnetic: |
| 107 | + --------------------------- |
| 108 | + + dna: |
| 109 | + o G4DNAMolecularMaterial: allow GetDensityTableFor() and |
| 110 | + GetNumMolPerVolTableFor() methods to be accepted at G4State_Init |
| 111 | + rather than G4State_Idle. |
| 112 | + o Fixed self-consistency in headers (missing #include) in G4IosFlagsSaver, |
| 113 | + G4KDNode, G4MoleculeIterator and G4LEPTSDiffXS. Fixed spurious |
| 114 | + definition of G4IT namespace in G4ITMultiNavigator header. |
| 115 | + + lowenergy: |
| 116 | + o Fixed self-consistency in G4ecpssrFormFactorMixsModel header |
| 117 | + (missing #include). |
| 118 | + + polarisation: |
| 119 | + o G4StokesVector: moved static inline method to the source. |
| 120 | + + standard: |
| 121 | + o G4PairProductionRelModel: fixed misuse of G4Pow (A13(..) should be used |
| 122 | + instead of Z13(..)); added initialisation of an element cache before |
| 123 | + sampling of final state. Partially addressing problem report #2017. |
| 124 | + + utils: |
| 125 | + o G4EmParametersMessenger: use G4Exception for warnings instead of G4cout, |
| 126 | + review G4State for UI commands and signal the RunManager about |
| 127 | + modification of physics if a command is issued in Idle state. |
| 128 | + o G4EmParameters, G4VEmProcess, G4VEnergyLossProcess: define the same |
| 129 | + default values for few internal members. |
| 130 | + o G4EmParameters, G4EmParametersMessenger: fixed printout format and |
| 131 | + added lock and protection in commands defining physics per region. |
| 132 | + + xrays: |
| 133 | + o G4VXTRenergyLoss: extended XTR angle limit up to 250/gamma, |
| 134 | + on ATLAS request. |
| 135 | + o Moved few static and virtual methods from inline to source. |
| 136 | + Code cleanup. |
| 137 | + o Fixed self-consistency in G4VTRModel header (missing #include). |
| 138 | + |
| 139 | + o Processes - Generic: |
| 140 | + ------------------- |
| 141 | + + biasing: |
| 142 | + o G4ImportanceConfigurator: introduced mutex to protect instantiation |
| 143 | + of the biasing process against a thread-race in MT mode and clearing |
| 144 | + data in destructor. Addressing problem report #1945. |
| 145 | + + management: |
| 146 | + o G4ProcessManager: added method GetProcess(name) to return a pointer to |
| 147 | + a process from its name. |
| 148 | + o The following UI commands are now forbidden for 'G4State_GeomClosed' or |
| 149 | + 'G4State_EventProc' application states: |
| 150 | + - /process/activate |
| 151 | + - /process/inactivate |
| 152 | + - /particle/process/activate |
| 153 | + - /particle/process/inactivate |
| 154 | + o G4ProcessManagerMessenger, G4ProcessTableMessenger: UI command returns |
| 155 | + an error message if a command is refused due to incorrect parameter(s). |
| 156 | + + parameterisation: |
| 157 | + o Fixed self-consistency in G4FastSimulationVector heade |
| 158 | + (missing #include). |
| 159 | + |
| 160 | + o Processes - Hadronic: |
| 161 | + -------------------- |
| 162 | + + models/cascade: |
| 163 | + o G4NucleiModel: replaced use of obsolete std::bind2nd with std::bind. |
| 164 | + + models/de_excitation: |
| 165 | + o Fixed self-consistency in G4ChatterjeeCrossSection header (missing |
| 166 | + #include). Fixed #ifdef guard in G4StatMFMacroBiNucleon header. |
| 167 | + + models/fission: |
| 168 | + o Fixed self-consistency in G4LLNLFission header (missing #include). |
| 169 | + Added missing #ifdef guards in G4fissionEvent header. |
| 170 | + + models/im_r_matrix: |
| 171 | + o Fixed self-consistency in headers (missing #include) in |
| 172 | + G4CrossSectionBuffer, G4DeltaNstarBuilder and G4NNstarBuilder. |
| 173 | + + models/particle_hp: |
| 174 | + o Fixed self-consistency in headers (missing #include) in |
| 175 | + G4FFGEnumerations, G4FPYNubarValues, G4ParticleHPAngularP and |
| 176 | + G4ParticleHPHash. |
| 177 | + + models/parton_string/management: |
| 178 | + o Fixed self-consistency in G4VertexCode header (missing #include). |
| 179 | + + models/parton_string/qgsm: |
| 180 | + o Fixed self-consistency in G4SPPartonInfo header (missing #include). |
| 181 | + + models/radioactive_decay: |
| 182 | + o G4RadioactiveDecay, G4RadioactiveDecayBase: added check that |
| 183 | + environment variable G4RADIOACTIVEDATA is pointing to correct |
| 184 | + directory. Moved check from G4RadioactiveDecay::LoadDecayTable() |
| 185 | + to constructor. Addresses problem report #1942. |
| 186 | + + util: |
| 187 | + o G4StableIsotopes: moved static member function definitions to |
| 188 | + source file. |
| 189 | + o Fixed self-consistency in headers (missing #include) in DumpFrame, |
| 190 | + G4GHEKinematicsVector and G4ping. |
| 191 | + |
| 192 | + o Run: |
| 193 | + --- |
| 194 | + + G4RunManagerKernel: application state is set to G4State_Init while |
| 195 | + application is in RunInitialization(). |
| 196 | + Updated banners by adding last two general papers. |
| 197 | + + Fixed self-consistency in G4FastSimulationVector header |
| 198 | + (missing #include). |
| 199 | + |
| 200 | + o Visualization: |
| 201 | + ------------- |
| 202 | + + modeling: |
| 203 | + o Fixed self-consistency in G4AttValueFilterT header (missing #include). |
| 204 | + + OpenGL: |
| 205 | + o G4OpenGLStoredSceneHandler: removed call to glDrawBuffer(GL_FRONT), |
| 206 | + which seems to cause problems for the case of display list memory |
| 207 | + being exceeded. |
| 208 | + |
| 209 | + o Examples: |
| 210 | + -------- |
| 211 | + + basic/B5: |
| 212 | + o Added missing filling of row n-tuple in EventAction. |
| 213 | + + extended/hadronic/Hadr04: |
| 214 | + o NeutronHPphysics: use pManager->GetProcess(processName). |
| 215 | + + extended/medical/electronScattering2: |
| 216 | + o Removed unused instantiation of G4ScoringManager. |
| 217 | + + extended/physicslists/extensibleFactory: |
| 218 | + + extended/physicslists/factory: |
| 219 | + + extended/physicslists/genericPL: |
| 220 | + o Corrected GNUmake script. |
| 221 | + + extended/physicslists/shared: |
| 222 | + o Corrected copy script. |
| 223 | + |
| 224 | + ---------------------------------------------------------------------------- |
| 225 | + |
| 226 | + Technical Notes |
| 227 | + --------------- |
| 228 | + |
| 229 | + o This patch should be applied on top of release 10.4. |
| 230 | + o Technical notes distributed for release 10.4 are also applicable and |
| 231 | + valid for this patch. |
| 232 | + |
| 233 | +The code and rebuilt binary libraries for release 10.4.p01 are available |
| 234 | +through our "Download" Web page. |
| 235 | + |
| 236 | +Please refer to the Geant4 User Documentation for further information about |
| 237 | +using Geant4. |
0 commit comments