Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:57:53

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 // Angular distribution according to:
0028 // G. Mao et al., Phys. Rev. C57 (1998) 1938
0029 // G. Mao et al., Phys. Rev. C53 (1996) 2933 
0030 //
0031 // Id: G4AngularDistribution.hh,v 1.16 2000/05/11 19:07:29 pia Exp $ //
0032 //
0033 // -------------------------------------------------------------------
0034 
0035 #ifndef G4ANGULARDISTRIBUTION_HH
0036 #define G4ANGULARDISTRIBUTION_HH
0037 
0038 #include "globals.hh"
0039 #include "G4VAngularDistribution.hh"
0040 
0041 
0042 class G4AngularDistribution : public G4VAngularDistribution
0043 {
0044 
0045 public:
0046 
0047   // Constructors
0048   G4AngularDistribution(G4bool symmetrize);
0049 
0050   virtual ~G4AngularDistribution();
0051 
0052   virtual G4double CosTheta(G4double s, G4double m1, G4double m2) const;
0053 
0054 protected:
0055 public:        // for testing only...
0056 
0057   G4double DifferentialCrossSection(G4double sIn, G4double m1, G4double m2, G4double cosTheta) const;
0058 
0059   G4double Cross(G4double tpPion, G4double tpSigma, G4double tpOmega,
0060          G4double tmPion, G4double tmSigma, G4double tmOmega,
0061          G4double bMix_o1, G4double bMix_s1, G4double bMix_Omega,
0062          G4double bMix_sm, G4double bMix_oL, G4double bMix_sL,
0063          G4double bOmega_0, G4double bOmega_1, G4double bOmega_2,
0064          G4double bOmega_3, G4double bOmega_m, G4double bOmega_L) const;
0065 
0066 private: 
0067 
0068   G4bool sym;
0069 
0070   // Model parameters
0071 
0072   G4double mPion;
0073   G4double mSigma;
0074   G4double mOmega;
0075 
0076   G4double cmPion;
0077   G4double cmSigma;
0078   G4double cmOmega;
0079 
0080   G4double gPion;
0081   G4double gSigma;
0082   G4double gOmega;
0083 
0084   G4double mNucleon;
0085 
0086   // Variables for pion-Term
0087 
0088   G4double m42;
0089   G4double mPion2;          
0090   G4double cmPion2;
0091   G4double dPion1;
0092   G4double dPion2;
0093   G4double cm6gp;
0094   
0095   G4double cPion_3;
0096   G4double cPion_2;
0097   G4double cPion_1;
0098   G4double cPion_m;
0099   G4double cPion_L;
0100   G4double cPion_0;
0101 
0102   // Variables for sigma-Term 
0103 
0104   G4double mSigma2;
0105   G4double cmSigma2;
0106   G4double cmSigma4;
0107   G4double cmSigma6;
0108   G4double dSigma1;
0109   G4double dSigma2;
0110   G4double dSigma3;
0111   G4double cm2gs;     
0112   
0113   G4double cSigma_3;
0114   G4double cSigma_2;
0115   G4double cSigma_1;
0116   G4double cSigma_m;
0117   G4double cSigma_L;
0118   G4double cSigma_0;
0119 
0120   // Variables for omega-Term
0121 
0122   G4double mOmega2;
0123   G4double cmOmega2;
0124   G4double cmOmega4;
0125   G4double cmOmega6;
0126   G4double dOmega1;
0127   G4double dOmega2;
0128   G4double dOmega3;
0129   G4double sOmega1;
0130   
0131   G4double cm2go;
0132   
0133   G4double cOmega_3;
0134   G4double cOmega_2;
0135   G4double cOmega_1;
0136   G4double cOmega_m;
0137   G4double cOmega_L;
0138 
0139   // Variables for mix-Term
0140 
0141   G4double fac1;  
0142   G4double dMix1;
0143   G4double dMix2;
0144   G4double dMix3;
0145   G4double cMix_o1;
0146   G4double cMix_s1;
0147   G4double cMix_Omega;
0148   G4double cMix_sm; 
0149   G4double fac2;
0150   G4double fac3; 
0151   
0152   G4double cMix_oLc;
0153   G4double cMix_oLs;
0154   G4double cMix_sLc;
0155   G4double cMix_sLs;
0156 
0157 };
0158 #endif
0159 
0160 
0161 
0162 
0163 
0164 
0165 
0166 
0167 
0168 
0169 
0170 
0171 
0172