Geant4  10.01.p03
G4INCLGlobalInfo.hh
Go to the documentation of this file.
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 // INCL++ intra-nuclear cascade model
27 // Alain Boudard, CEA-Saclay, France
28 // Joseph Cugnon, University of Liege, Belgium
29 // Jean-Christophe David, CEA-Saclay, France
30 // Pekka Kaitaniemi, CEA-Saclay, France, and Helsinki Institute of Physics, Finland
31 // Sylvie Leray, CEA-Saclay, France
32 // Davide Mancusi, CEA-Saclay, France
33 //
34 #define INCLXX_IN_GEANT4_MODE 1
35 
36 #include "globals.hh"
37 
47 #ifndef G4INCLGLOBALINFO_HH
48 #define G4INCLGLOBALINFO_HH 1
49 
50 #ifdef INCL_ROOT_USE
51 #include <Rtypes.h>
52 #endif
53 
54 #include <string>
55 #include <vector>
56 
57 namespace G4INCL {
58 #ifndef INCL_ROOT_USE
59  typedef G4int Int_t;
60  typedef short Short_t;
61  typedef G4float Float_t;
62 #endif
63 
64  struct GlobalInfo {
66 #ifdef INCL_ROOT_USE
67 
68 #endif
69  Ap(0),
70  Zp(0),
71  At(0),
72  Zt(0),
73  Ep((Float_t)0.0),
74  nShots(0),
75  geometricCrossSection((Float_t)0.0),
76  nTransparents(0),
77  reactionCrossSection((Float_t)0.0),
78  errorReactionCrossSection((Float_t)0.0),
80  nucleonAbsorptionCrossSection((Float_t)0.0),
82  pionAbsorptionCrossSection((Float_t)0.0),
85  forcedCNCrossSection((Float_t)0.0),
86  errorForcedCNCrossSection((Float_t)0.0),
87  nCompleteFusion(0),
88  completeFusionCrossSection((Float_t)0.0),
89  errorCompleteFusionCrossSection((Float_t)0.0),
92  {
93 #ifdef INCL_ROOT_USE
94 
95 #endif
96 
97  }
98 #ifdef INCL_ROOT_USE
99 
100  std::string rootSelection;
101 #endif
102 
103  std::string cascadeModel;
105  std::string deexcitationModel;
107  Short_t Ap;
109  Short_t Zp;
111  Short_t At;
113  Short_t Zt;
115  Float_t Ep;
117  Int_t nShots;
153  std::vector<Int_t> initialRandomSeeds;
155  std::vector<Int_t> finalRandomSeeds;
156  };
157 }
158 
159 #endif /* G4INCLGLOBALINFO_HH */
Short_t Ap
Projectile mass number given as input.
Float_t nucleonAbsorptionCrossSection
Nucleon absorption cross section.
Int_t nForcedCompoundNucleus
Number of forced compound-nucleus events.
std::string cascadeModel
Name of the cascade model.
Float_t errorReactionCrossSection
Error on the calculated reaction cross section.
float G4float
Definition: G4Types.hh:77
Float_t forcedCNCrossSection
Calculated forced-compound-nucleus cross section.
Float_t pionAbsorptionCrossSection
Pion absorption cross section.
std::vector< Int_t > finalRandomSeeds
Final seeds for the pseudo-random-number generator.
Float_t Ep
Projectile kinetic energy given as input.
Short_t At
Target mass number given as input.
short Short_t
Int_t nTransparents
Number of transparent shots.
std::vector< Int_t > initialRandomSeeds
Initial seeds for the pseudo-random-number generator.
int G4int
Definition: G4Types.hh:78
G4int Int_t
Int_t nForcedTransparents
Number of forced transparents.
std::string deexcitationModel
Name of the de-excitation model.
Float_t completeFusionCrossSection
Calculated complete-fusion cross section (nParticles==0)
Int_t nShots
Number of shots.
Float_t reactionCrossSection
Calculated reaction cross section.
Float_t geometricCrossSection
Geometric cross section.
Short_t Zp
Projectile charge number given as input.
Float_t errorCompleteFusionCrossSection
Error on the calculated complete-fusion cross section (nParticles==0)
Int_t nPionAbsorptions
Number of nucleon absorptions (no outcoming pions)
G4float Float_t
Int_t nEnergyViolationInteraction
Number of attempted collisions/decays for which the energy-conservation algorithm failed to find a so...
Short_t Zt
Target charge number given as input.
Int_t nNucleonAbsorptions
Number of nucleon absorptions (no outcoming particles)
Float_t energyViolationInteractionCrossSection
Cross section for attempted collisions/decays for which the energy-conservation algorithm failed to f...
Float_t errorForcedCNCrossSection
Error on the calculated forced-compound-nucleus cross section.
Int_t nCompleteFusion
Number of complete-fusion events (nParticles==0)