G4VLongitudinalStringDecay.hh

Go to the documentation of this file.
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 //
00027 // $Id$
00028 // Maxim Komogorov
00029 //
00030 // -----------------------------------------------------------------------------
00031 //      GEANT 4 class implementation file
00032 //
00033 //      History: first implementation, Maxim Komogorov, 1-Jul-1998
00034 // -----------------------------------------------------------------------------
00035 #ifndef G4VLongitudinalStringDecay_h
00036 #define G4VLongitudinalStringDecay_h 1
00037 #include "G4VStringFragmentation.hh"
00038 #include "G4DynamicParticle.hh"
00039 #include "G4KineticTrack.hh"
00040 #include "G4KineticTrackVector.hh"
00041 #include "G4HadronBuilder.hh"
00042 
00043 class G4FragmentingString;
00044 //**************************************************************************************
00045 
00046 class G4VLongitudinalStringDecay 
00047    {
00048 public:
00049             G4VLongitudinalStringDecay();     
00050    virtual ~G4VLongitudinalStringDecay();
00051 
00052 private:
00053    // not implemented to protect/forbid use
00054    G4VLongitudinalStringDecay(const G4VLongitudinalStringDecay &right);
00055    const G4VLongitudinalStringDecay & operator=(const G4VLongitudinalStringDecay &right);
00056    int operator==(const G4VLongitudinalStringDecay &right) const;
00057    int operator!=(const G4VLongitudinalStringDecay &right) const;
00058 
00059 public:
00060    virtual G4KineticTrackVector* FragmentString(const G4ExcitedString& theString)=0;
00061 
00062 protected: 
00063 
00064 // For changing Mass Cut used for selection of very small mass strings
00065    virtual void SetMassCut(G4double aValue);
00066 
00067 // For handling a string with very low mass
00068    G4KineticTrackVector * LightFragmentationTest(const G4ExcitedString * const theString);
00069 
00070 // To store created quarks or 2 last hadrons
00071    typedef std::pair<G4ParticleDefinition*, G4ParticleDefinition*> pDefPair;
00072 
00073 // For creation of hadrons from given quark pair 
00074    typedef G4ParticleDefinition * (G4HadronBuilder::*Pcreate)
00075                                         (G4ParticleDefinition*, G4ParticleDefinition*);
00076 
00077 //-----------------------------------------------------------------------------
00078 // Used by LightFragmentationTest for estimation of lowest possible mass of
00079 // given quark system
00080    G4double FragmentationMass(const G4FragmentingString * const string,
00081                               Pcreate build=0,
00082                               pDefPair * pdefs=0);
00083 
00084    G4ParticleDefinition* FindParticle(G4int Encoding); 
00085 
00086    virtual void Sample4Momentum(G4LorentzVector* Mom,     G4double Mass, 
00087                                 G4LorentzVector* AntiMom, G4double AntiMass, 
00088                                 G4double InitialMass)=0; 
00089 //-----------------------------------------------------------------------------
00090 // For decision on continue or stop string fragmentation
00091    virtual G4bool StopFragmenting(const G4FragmentingString  * const string)=0;
00092    virtual G4bool IsFragmentable(const G4FragmentingString * const string)=0;
00093 
00094 // If a string can not fragment, make last break into 2 hadrons
00095    virtual G4bool SplitLast(G4FragmentingString * string, 
00096                     G4KineticTrackVector * LeftVector,
00097                     G4KineticTrackVector * RightVector)=0;
00098 //-----------------------------------------------------------------------------
00099 
00100 // If a string fragments, do the following
00101 
00102 // For transver of a string to its CMS frame
00103    G4ExcitedString *CPExcited(const G4ExcitedString& string);
00104 
00105    G4KineticTrack * Splitup(G4FragmentingString *string, 
00106                             G4FragmentingString *&newString);
00107 
00108    G4ParticleDefinition * QuarkSplitup(G4ParticleDefinition* decay,
00109                                        G4ParticleDefinition *&created);
00110 
00111    G4ParticleDefinition * DiQuarkSplitup(G4ParticleDefinition* decay,
00112                                          G4ParticleDefinition *&created);
00113                                         
00114    pDefPair CreatePartonPair(G4int NeedParticle, G4bool AllowDiquarks=true);
00115 
00116 public:
00117 //   used by G4VKinkyStringDecy..
00118    G4int SampleQuarkFlavor(void);
00119    G4ThreeVector SampleQuarkPt(G4double ptMax=-1.); // -1. no limit on maxpt.
00120 
00121 protected:
00122 
00123 //-----------------------------------------------------------------------------
00124 // For determination of kinematical properties of created hadron
00125 //   virtual G4LorentzVector * SplitEandP(G4ParticleDefinition * pHadron,    // Uzhi
00126 //                                        G4FragmentingString * string  )=0; // Uzhi
00127 
00128    virtual G4LorentzVector * SplitEandP(G4ParticleDefinition * pHadron,      // Uzhi
00129                                         G4FragmentingString * string,        // Uzhi
00130                                         G4FragmentingString * newString  )=0;// Uzhi
00131 
00132    virtual G4double GetLightConeZ(G4double zmin, G4double zmax, 
00133                                   G4int PartonEncoding,  
00134                                   G4ParticleDefinition* pHadron, 
00135                                   G4double Px, G4double Py       ) = 0;      
00136 
00137    void CalculateHadronTimePosition(G4double theInitialStringMass, 
00138                                     G4KineticTrackVector *);
00139 
00140 // Used for some test purposes ------------------------------------------------ 
00141    void ConstructParticle();
00142 
00143    G4ParticleDefinition* CreateHadron(G4int id1, G4int id2, 
00144                                       G4bool theGivenSpin, G4int theSpin); 
00145    
00146 //-----------------------------------------------------------------------------
00147 public:
00148 
00149    G4KineticTrackVector* DecayResonans (G4KineticTrackVector* aHadrons);
00150 
00151    void SetSigmaTransverseMomentum(G4double aQT);
00152    void SetStrangenessSuppression(G4double aValue);
00153    void SetDiquarkSuppression(G4double aValue);
00154    void SetDiquarkBreakProbability(G4double aValue);
00155 
00156    void SetVectorMesonProbability(G4double aValue);
00157    void SetSpinThreeHalfBarionProbability(G4double aValue);
00158    
00159    void SetScalarMesonMixings( std::vector<G4double> aVector);
00160    void SetVectorMesonMixings( std::vector<G4double> aVector);
00161 
00162    void SetStringTensionParameter(G4double aValue);            // Uzhi 20 June 08
00163 
00164 //private:
00165 protected:  
00166    G4double GetDiquarkSuppress()        {return DiquarkSuppress;};
00167    G4double GetDiquarkBreakProb()       {return DiquarkBreakProb;};
00168    G4double GetStrangeSuppress()        {return StrangeSuppress;};
00169    G4double GetClusterMass()            {return ClusterMass;};
00170    G4int    GetClusterLoopInterrupt()   {return ClusterLoopInterrupt;};
00171 
00172    G4double GetStringTensionParameter() {return Kappa;};       // Uzhi 20 June 08
00173    
00174 //private:
00175 protected:  
00176    G4double  MassCut;
00177    G4double  ClusterMass;
00178    G4double  SigmaQT;          // sigma_q_t is quark transverse momentum distribution parameter 
00179    G4double  DiquarkSuppress;  // is Diquark suppression parameter  
00180    G4double  DiquarkBreakProb; // is Diquark breaking probability 
00181    G4double  SmoothParam;      // model parameter
00182    G4double  StrangeSuppress ;
00183    G4int     StringLoopInterrupt;
00184    G4int     ClusterLoopInterrupt;
00185    G4HadronBuilder *hadronizer;
00186 
00187    G4double pspin_meson;
00188    G4double pspin_barion;
00189    std::vector<G4double> vectorMesonMix;
00190    std::vector<G4double> scalarMesonMix;
00191    
00192    G4bool    PastInitPhase;
00193 
00194    G4double Kappa; // String tension parameter                 // Uzhi 20 June 08
00195 
00196 //   G4double MinFragmentationMass(G4ExcitedString * theString,
00197 //                              G4ParticleDefinition*& Hadron1,
00198 //                              G4ParticleDefinition*& Hadron2);
00199 
00200 };
00201 
00202 //*************************************************************************************
00203 // Class G4VLongitudinalStringDecay 
00204 #endif

Generated on Mon May 27 17:50:17 2013 for Geant4 by  doxygen 1.4.7