|
||||
File indexing completed on 2025-01-18 09:58:38
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 // 0027 // 0028 // Author: Vladimir Grichine, ~25 October 2014 0029 // 0030 // Class Description 0031 // Final state production model for theoretical models of hadron inelastic 0032 // scattering in geant4; 0033 // To be used in your physics list in case you need this physics. 0034 // In this case you want to register an object of this class with 0035 // the corresponding process. 0036 // Note: This class is part of an implementation framework. You need to 0037 // register corresponding high energy generators and transport codes to 0038 // fill it with life; decay of strong resonances is done directly, 0039 // in case there is no residual nucleus. 0040 // Class Description - End 0041 // 0042 // History: 0043 // 0044 // ~25.10.14 V. Grichine: p and kinematics tests 0045 // 20.11.14 V. Grichine: n, pi+-, K+- added 0046 // 0047 // 0048 0049 0050 0051 #ifndef G4LMsdGenerator_h 0052 #define G4LMsdGenerator_h 1 0053 0054 #include "G4HadronicInteraction.hh" 0055 #include "G4HadFinalState.hh" 0056 0057 // class G4ParticleDefinition; 0058 0059 class G4LMsdGenerator : public G4HadronicInteraction 0060 0061 { 0062 public: 0063 0064 G4LMsdGenerator(const G4String& name = "LMsdGenerator"); 0065 ~G4LMsdGenerator(); 0066 0067 private: 0068 0069 G4LMsdGenerator(const G4LMsdGenerator &right); 0070 const G4LMsdGenerator & operator=(const G4LMsdGenerator &right); 0071 int operator == (const G4LMsdGenerator &right) const; 0072 int operator != (const G4LMsdGenerator &right) const; 0073 0074 public: 0075 0076 G4bool IsApplicable(const G4HadProjectile & thePrimary, 0077 G4Nucleus & theNucleus); 0078 0079 G4HadFinalState * ApplyYourself(const G4HadProjectile & thePrimary, 0080 G4Nucleus & theNucleus); 0081 0082 G4double SampleMx(const G4HadProjectile* aParticle ); 0083 0084 G4double SampleT( const G4HadProjectile* aParticle, G4double Mx ); 0085 0086 void ModelDescription(std::ostream& outFile) const; 0087 0088 private: 0089 0090 // G4ParticleDefinition* fParticle; 0091 0092 G4int fPDGencoding; 0093 G4int secID; // Creator model ID for the secondaries created by this model 0094 0095 static const G4double fMxBdata[23][2]; 0096 static const G4double fProbMx[60][2]; 0097 }; 0098 0099 0100 #endif 0101 0102
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |