|
||||
File indexing completed on 2025-01-18 09:57:51
0001 // 0002 // ******************************************************************** 0003 // * License and Disclaimer * 0004 // * * 0005 // * The Geant4 software is copyright of the Copyright Holders of * 0006 // * the Geant4 Collaboration. It is provided under the terms and * 0007 // * conditions of the Geant4 Software License, included in the file * 0008 // * LICENSE and available at http://cern.ch/geant4/license . These * 0009 // * include a list of copyright holders. * 0010 // * * 0011 // * Neither the authors of this software system, nor their employing * 0012 // * institutes,nor the agencies providing financial support for this * 0013 // * work make any representation or warranty, express or implied, * 0014 // * regarding this software system or assume any liability for its * 0015 // * use. Please see the license in the file LICENSE and URL above * 0016 // * for the full disclaimer and the limitation of liability. * 0017 // * * 0018 // * This code implementation is the result of the scientific and * 0019 // * technical work of the GEANT4 collaboration. * 0020 // * By using, copying, modifying or distributing the software (or * 0021 // * any work based on the software) you agree to acknowledge its * 0022 // * use in resulting scientific publications, and indicate your * 0023 // * acceptance of all terms of the Geant4 Software license. * 0024 // ******************************************************************** 0025 // 0026 // ABLAXX statistical de-excitation model 0027 // Jose Luis Rodriguez, GSI (translation from ABLA07 and contact person) 0028 // Pekka Kaitaniemi, HIP (initial translation of ablav3p) 0029 // Aleksandra Kelic, GSI (ABLA07 code) 0030 // Davide Mancusi, CEA (contact person INCL) 0031 // Aatos Heikkinen, HIP (project coordination) 0032 // 0033 0034 #ifndef G4AblaInterface_hh 0035 #define G4AblaInterface_hh 1 0036 0037 #include "globals.hh" 0038 0039 #include "G4VPreCompoundModel.hh" 0040 #include "G4ReactionProduct.hh" 0041 #include "G4Fragment.hh" 0042 #include "G4HadFinalState.hh" 0043 #include "G4HadProjectile.hh" 0044 #include "G4Nucleus.hh" 0045 #include "G4Abla.hh" 0046 0047 class G4ExcitationHandler; 0048 class G4HadFinalState; 0049 0050 class G4AblaInterface : public G4VPreCompoundModel 0051 { 0052 public: 0053 G4AblaInterface(G4ExcitationHandler* ptr = nullptr); 0054 virtual ~G4AblaInterface(); 0055 0056 virtual G4ReactionProductVector* DeExcite(G4Fragment& aFragment); 0057 0058 virtual G4HadFinalState* ApplyYourself(G4HadProjectile const&, G4Nucleus&) final; 0059 0060 virtual void BuildPhysicsTable(const G4ParticleDefinition&) final; 0061 0062 virtual void InitialiseModel() final; 0063 0064 virtual void ModelDescription(std::ostream& outFile) const; 0065 0066 virtual void DeExciteModelDescription(std::ostream& outFile) const; 0067 0068 private: 0069 G4HadFinalState applyYourselfResult; 0070 G4VarNtp* ablaResult; 0071 G4Volant* volant; 0072 G4Abla* theABLAModel; 0073 G4long eventNumber; 0074 G4int secID; // Creator model ID for the secondaries created by ABLA 0075 0076 G4bool isInitialised; 0077 0078 /// \brief Convert an Abla particle to a G4DynamicParticle 0079 G4ReactionProduct* toG4Particle(G4int A, G4int Z, G4int S, G4double kinE, 0080 G4double px, G4double py, G4double pz) const; 0081 0082 /// \brief Convert A, Z and S to a G4ParticleDefinition 0083 G4ParticleDefinition* toG4ParticleDefinition(G4int A, G4int Z, G4int S) const; 0084 }; 0085 0086 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |