00001 // 00002 // ******************************************************************** 00003 // * License and Disclaimer * 00004 // * * 00005 // * The Geant4 software is copyright of the Copyright Holders of * 00006 // * the Geant4 Collaboration. It is provided under the terms and * 00007 // * conditions of the Geant4 Software License, included in the file * 00008 // * LICENSE and available at http://cern.ch/geant4/license . These * 00009 // * include a list of copyright holders. * 00010 // * * 00011 // * Neither the authors of this software system, nor their employing * 00012 // * institutes,nor the agencies providing financial support for this * 00013 // * work make any representation or warranty, express or implied, * 00014 // * regarding this software system or assume any liability for its * 00015 // * use. Please see the license in the file LICENSE and URL above * 00016 // * for the full disclaimer and the limitation of liability. * 00017 // * * 00018 // * This code implementation is the result of the scientific and * 00019 // * technical work of the GEANT4 collaboration. * 00020 // * By using, copying, modifying or distributing the software (or * 00021 // * any work based on the software) you agree to acknowledge its * 00022 // * use in resulting scientific publications, and indicate your * 00023 // * acceptance of all terms of the Geant4 Software license. * 00024 // ******************************************************************** 00025 // 00026 // INCL++ intra-nuclear cascade model 00027 // Pekka Kaitaniemi, CEA and Helsinki Institute of Physics 00028 // Davide Mancusi, CEA 00029 // Alain Boudard, CEA 00030 // Sylvie Leray, CEA 00031 // Joseph Cugnon, University of Liege 00032 // 00033 #define INCLXX_IN_GEANT4_MODE 1 00034 00035 #include "globals.hh" 00036 00046 #ifndef G4INCLGLOBALINFO_HH 00047 #define G4INCLGLOBALINFO_HH 1 00048 00049 #ifdef INCL_ROOT_USE 00050 #include <Rtypes.h> 00051 #endif 00052 00053 #include <string> 00054 00055 namespace G4INCL { 00056 #ifndef INCL_ROOT_USE 00057 typedef G4int Int_t; 00058 typedef short Short_t; 00059 typedef G4float Float_t; 00060 #endif 00061 00062 struct GlobalInfo { 00063 GlobalInfo() : 00064 nShots(0), nTransparents(0), nNucleonAbsorptions(0), nPionAbsorptions(0), 00065 nForcedTransparents(0), nForcedCompoundNucleus(0), 00066 nucleonAbsorptionCrossSection(0.0), pionAbsorptionCrossSection(0.0), 00067 geometricCrossSection(0.0), reactionCrossSection(0.0), 00068 Ap(0), Zp(0), At(0), Zt(0), Ep(0.0) 00069 {}; 00070 00072 Int_t nShots; 00074 Int_t nTransparents; 00076 Int_t nNucleonAbsorptions; 00078 Int_t nPionAbsorptions; 00080 Int_t nForcedTransparents; 00082 Int_t nForcedCompoundNucleus; 00084 Float_t nucleonAbsorptionCrossSection; 00086 Float_t pionAbsorptionCrossSection; 00088 Float_t geometricCrossSection; 00090 Float_t reactionCrossSection; 00092 Float_t errorReactionCrossSection; 00093 00094 // \todo{echo all the input parameters here} 00096 Short_t Ap; 00098 Short_t Zp; 00100 Short_t At; 00102 Short_t Zt; 00104 Float_t Ep; 00105 00107 std::string cascadeModel; 00109 std::string deexcitationModel; 00110 }; 00111 } 00112 00113 #endif /* G4INCLGLOBALINFO_HH */