Back to home page

EIC code displayed by LXR

 
 

    


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 // -----------------------------------------------------------------------------
0029 //      GEANT 4 class implementation file
0030 //
0031 //      History: first implementation, Maxim Komogorov, 10-Jul-1998
0032 // -----------------------------------------------------------------------------
0033 
0034 #ifndef G4LundStringFragmentation_h
0035 #define G4LundStringFragmentation_h 1
0036 
0037 #include "G4VLongitudinalStringDecay.hh"
0038 
0039 //******************************************************************************
0040 
0041 class G4LundStringFragmentation: public G4VLongitudinalStringDecay
0042 {
0043   public:
0044     G4LundStringFragmentation();
0045     virtual ~G4LundStringFragmentation();
0046 
0047     virtual G4KineticTrackVector* FragmentString(const G4ExcitedString& theString);
0048 
0049   private:
0050     // not implemented to protect/forbid use
0051     G4LundStringFragmentation(const G4LundStringFragmentation &right);
0052     const G4LundStringFragmentation & operator=(const G4LundStringFragmentation &right);
0053     G4bool operator==(const G4LundStringFragmentation &right) const;
0054     G4bool operator!=(const G4LundStringFragmentation &right) const;
0055 
0056   private:
0057     virtual G4bool StopFragmenting(const G4FragmentingString  * const string);
0058     virtual G4bool IsItFragmentable(const G4FragmentingString * const string);
0059 
0060     virtual G4bool SplitLast(G4FragmentingString * string, 
0061                      G4KineticTrackVector * LeftVector,
0062                      G4KineticTrackVector * RightVector);
0063 
0064     virtual void Sample4Momentum(G4LorentzVector* Mom,     G4double Mass, 
0065                                  G4LorentzVector* AntiMom, G4double AntiMass, 
0066                                  G4double InitialMass); 
0067 
0068     virtual G4KineticTrack * Splitup(G4FragmentingString *string,
0069                                      G4FragmentingString *&newString);
0070 
0071     virtual G4LorentzVector * SplitEandP(G4ParticleDefinition * pHadron, 
0072                                          G4FragmentingString * string,
0073                                          G4FragmentingString * newString);
0074 
0075     virtual G4double GetLightConeZ(G4double zmin, G4double zmax, 
0076                                    G4int PartonEncoding,  
0077                                    G4ParticleDefinition* pHadron,
0078                                    G4double Px, G4double Py);      
0079 
0080     G4double lambda(G4double s, G4double m1_Sqr, G4double m2_Sqr);
0081 
0082     // virtual G4ParticleDefinition * QuarkSplitup(G4ParticleDefinition* decay, 
0083     //                                             G4ParticleDefinition *&created);
0084 
0085     virtual G4ParticleDefinition * DiQuarkSplitup(G4ParticleDefinition* decay, 
0086                                                   G4ParticleDefinition *&created);
0087 
0088   private:
0089     G4bool Loop_toFragmentString(const G4ExcitedString & theStringInCMS,
0090                                  G4KineticTrackVector * & LeftVector, 
0091                                  G4KineticTrackVector * & RightVector);
0092 
0093     G4bool Diquark_AntiDiquark_belowThreshold_lastSplitting(G4FragmentingString * & string,
0094                                                             G4ParticleDefinition * & LeftHadron,
0095                                                             G4ParticleDefinition * & RightHadron);
0096 
0097     G4bool Diquark_AntiDiquark_aboveThreshold_lastSplitting(G4FragmentingString * & string,
0098                                                             G4ParticleDefinition * & LeftHadron,
0099                                                             G4ParticleDefinition * & RightHadron);
0100 
0101     G4bool Quark_AntiQuark_lastSplitting(G4FragmentingString * & string,
0102                                          G4ParticleDefinition * & LeftHadron,
0103                                          G4ParticleDefinition * & RightHadron);
0104 
0105     G4bool Quark_Diquark_lastSplitting(G4FragmentingString * & string,
0106                                        G4ParticleDefinition * & LeftHadron,
0107                                        G4ParticleDefinition * & RightHadron );
0108 
0109     G4int SampleState(void);
0110 
0111     G4double Tmt;  // "Temperature" for sampling Pt of hadrons
0112 
0113 };
0114 
0115 //******************************************************************************
0116 // Class G4LundStringFragmentation 
0117 
0118 #endif
0119