Import Geant4 11.2.2 source tree
This commit is contained in:
@@ -294,7 +294,7 @@ G4int main(G4int argc, char** argv) {
|
||||
<< "Number of hadron projectiles: " << numProjectiles << G4endl
|
||||
<< "Number of materials: " << numMaterials << G4endl
|
||||
<< "IsIonProjectile: " << ( projectileNucleus != nullptr ? "true \t" : "false" )
|
||||
<< ( projectileNucleus != nullptr ? projectileNucleus->GetParticleName() : "") << G4endl
|
||||
<< ( projectileNucleus != nullptr ? projectileNucleus->GetParticleName() : G4String("")) << G4endl
|
||||
<< "===================================================" << G4endl
|
||||
<< G4endl;
|
||||
|
||||
|
||||
@@ -1,20 +1,17 @@
|
||||
-------------------------------------------------------------------
|
||||
# Example HadNucIneEvents History
|
||||
|
||||
=========================================================
|
||||
Geant4 - an Object-Oriented Toolkit for Simulation in HEP
|
||||
=========================================================
|
||||
See `CONTRIBUTING.rst` for details of **required** info/format for each entry,
|
||||
which **must** added in reverse chronological order (newest at the top).
|
||||
It must **not** be used as a substitute for writing good git commit messages!
|
||||
|
||||
HadNucIneEvents History file
|
||||
-------------------
|
||||
This file should be used by the G4 example coordinator to briefly
|
||||
summarize all major modifications introduced in the code and keep
|
||||
track of all tags.
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
----------------------------------------------------------
|
||||
* Reverse chronological order (last date on top), please *
|
||||
----------------------------------------------------------
|
||||
## 2024-04-24 Gabriele Cosmo (exHadNucIneEvents-V11-01-02)
|
||||
- Fixed compilation error on Windows VC++ with C++20 Standard enabled.
|
||||
Make proper use of G4String in HadNucIneEvents main() and
|
||||
in FinalStateHistoManager.
|
||||
|
||||
## 2023-09-13 I. Hrivnacova (exHadNucIneEvents-V11-01-01)
|
||||
## 2023-09-13 Ivana Hrivnacova (exHadNucIneEvents-V11-01-01)
|
||||
- Removed unused function HadronicGenerator::getAllHadronicProcesses()
|
||||
|
||||
## 2023-12-08 Gabrielle Hugo (exHadNucIneEvents-V11-01-00)
|
||||
|
||||
+1
-1
@@ -140,6 +140,6 @@ Average (per event) number of proton 3.2
|
||||
|
||||
Final random number = 0.677923
|
||||
|
||||
Processed 10 events (collisions) in 9.344400e-02 seconds. Average: 9.3444 ms / event.
|
||||
Processed 10 events (collisions) in 4.274400e-02 seconds. Average: 4.2744 ms / event.
|
||||
|
||||
=== End of test ===
|
||||
|
||||
+3
-3
@@ -191,9 +191,9 @@ void FinalStateHistoManager::ScoreSecondary(const G4DynamicParticle* const secon
|
||||
const G4String& particleName = particle->GetParticleName();
|
||||
const G4int particlePDG = secondary->GetPDGcode();
|
||||
|
||||
const G4String histoTitle = (particlePDG == 0 ?
|
||||
"Particle pdg==0 spectrum"
|
||||
: G4String(particleName + " spectrum"));
|
||||
const G4String histoTitle = (particlePDG == 0
|
||||
? G4String("Particle pdg==0 spectrum")
|
||||
: particleName + G4String(" spectrum"));
|
||||
const G4int histoIndex = fAnalysisManager->CreateH1(particleName,
|
||||
histoTitle,
|
||||
fNumBins,
|
||||
|
||||
Reference in New Issue
Block a user