[819] | 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 | // |
---|
[962] | 27 | // $Id: G4LundStringFragmentation.hh,v 1.6 2008/04/25 14:20:14 vuzhinsk Exp $ |
---|
[1228] | 28 | // GEANT4 tag $Name: geant4-09-03 $ Maxim Komogorov |
---|
[819] | 29 | // |
---|
| 30 | // ----------------------------------------------------------------------------- |
---|
| 31 | // GEANT 4 class implementation file |
---|
| 32 | // |
---|
| 33 | // History: first implementation, Maxim Komogorov, 10-Jul-1998 |
---|
| 34 | // ----------------------------------------------------------------------------- |
---|
| 35 | |
---|
| 36 | #ifndef G4LundStringFragmentation_h |
---|
| 37 | #define G4LundStringFragmentation_h 1 |
---|
| 38 | |
---|
| 39 | #include "G4VLongitudinalStringDecay.hh" |
---|
| 40 | |
---|
| 41 | //************************************************************************************************************** |
---|
| 42 | |
---|
| 43 | class G4LundStringFragmentation: public G4VLongitudinalStringDecay |
---|
| 44 | { |
---|
| 45 | public: |
---|
[962] | 46 | |
---|
[819] | 47 | G4LundStringFragmentation(); |
---|
[962] | 48 | G4LundStringFragmentation(const G4LundStringFragmentation &right); |
---|
| 49 | virtual ~G4LundStringFragmentation(); |
---|
[819] | 50 | |
---|
| 51 | const G4LundStringFragmentation & operator=(const G4LundStringFragmentation &right); |
---|
| 52 | int operator==(const G4LundStringFragmentation &right) const; |
---|
| 53 | int operator!=(const G4LundStringFragmentation &right) const; |
---|
| 54 | |
---|
[962] | 55 | virtual G4KineticTrackVector* FragmentString(const G4ExcitedString& theString); |
---|
[819] | 56 | |
---|
| 57 | private: |
---|
[962] | 58 | void SetMinimalStringMass(const G4FragmentingString * const string); |
---|
| 59 | void SetMinimalStringMass2(const G4double aValue); |
---|
[819] | 60 | |
---|
| 61 | virtual G4bool StopFragmenting(const G4FragmentingString * const string); |
---|
| 62 | virtual G4bool IsFragmentable(const G4FragmentingString * const string); |
---|
[962] | 63 | |
---|
[819] | 64 | virtual G4bool SplitLast(G4FragmentingString * string, |
---|
[962] | 65 | G4KineticTrackVector * LeftVector, |
---|
| 66 | G4KineticTrackVector * RightVector); |
---|
[819] | 67 | |
---|
[962] | 68 | virtual void Sample4Momentum(G4LorentzVector* Mom, G4double Mass, |
---|
| 69 | G4LorentzVector* AntiMom, G4double AntiMass, |
---|
| 70 | G4double InitialMass); |
---|
| 71 | |
---|
| 72 | virtual G4LorentzVector * SplitEandP(G4ParticleDefinition * pHadron, |
---|
| 73 | G4FragmentingString * string, |
---|
| 74 | G4FragmentingString * newString); // Uzhi |
---|
| 75 | |
---|
| 76 | virtual G4double GetLightConeZ(G4double zmin, G4double zmax, |
---|
| 77 | G4int PartonEncoding, |
---|
| 78 | G4ParticleDefinition* pHadron, |
---|
| 79 | G4double Px, G4double Py); |
---|
| 80 | |
---|
[819] | 81 | private: |
---|
[962] | 82 | // ------ For estimation of a minimal string mass --------------- |
---|
| 83 | G4double Mass_of_light_quark; |
---|
| 84 | G4double Mass_of_heavy_quark; |
---|
| 85 | G4double Mass_of_string_junction; |
---|
| 86 | // ------ An estimated minimal string mass ---------------------- |
---|
[819] | 87 | G4double MinimalStringMass; |
---|
| 88 | G4double MinimalStringMass2; |
---|
[962] | 89 | // ------ Minimal invariant mass used at a string fragmentation - |
---|
[819] | 90 | G4double WminLUND; |
---|
| 91 | }; |
---|
| 92 | |
---|
| 93 | //************************************************************************************************************** |
---|
| 94 | // Class G4LundStringFragmentation |
---|
| 95 | #endif |
---|
| 96 | |
---|
| 97 | |
---|