Back to home page

EIC code displayed by LXR

 
 

    


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

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 #ifndef G4BaryonWidth_h
0030 #define G4BaryonWidth_h
0031 
0032 #include "globals.hh"
0033 #include "G4ResonanceWidth.hh"
0034 #include <map>
0035 #include <vector>
0036 
0037 class G4PhysicsVector;
0038 
0039 class G4BaryonWidth : public G4ResonanceWidth
0040 {
0041 public:
0042 
0043   G4BaryonWidth();
0044 
0045   virtual ~G4BaryonWidth();
0046 
0047   G4bool operator==(const G4BaryonWidth& right) const;
0048   G4bool operator!=(const G4BaryonWidth& right) const;
0049 
0050   // Returned pointer is owned by the client
0051   virtual G4PhysicsVector* MassDependentWidth(const G4String& name) const;
0052 
0053 protected:
0054 
0055   
0056 private:  
0057 
0058   G4BaryonWidth(const G4BaryonWidth& right);
0059   G4BaryonWidth& operator=(const G4BaryonWidth& right);
0060 
0061   // Map of PhysicsVectors for width interpolation
0062   std::map<G4String, G4double*, std::less<G4String> > wMap;
0063   //  std::map<G4String, G4double*, std::less<const G4String> > wMap;
0064 
0065   static const G4double baryonEnergyTable[120];
0066 
0067   static const G4double wN1440[120];
0068   static const G4double wN1520[120];
0069   static const G4double wN1535[120];
0070   static const G4double wN1650[120];
0071   static const G4double wN1675[120];
0072   static const G4double wN1680[120];
0073   static const G4double wN1700[120];
0074   static const G4double wN1710[120];
0075   static const G4double wN1720[120];
0076   static const G4double wN1900[120];
0077   static const G4double wN1990[120];
0078   static const G4double wN2090[120];
0079   static const G4double wN2190[120];
0080   static const G4double wN2220[120];
0081   static const G4double wN2250[120];
0082 
0083   static const G4double wD1600[120];
0084   static const G4double wD1620[120];
0085   static const G4double wD1700[120];
0086   static const G4double wD1900[120];
0087   static const G4double wD1905[120];
0088   static const G4double wD1910[120];
0089   static const G4double wD1920[120];
0090   static const G4double wD1930[120];
0091   static const G4double wD1950[120];
0092 
0093   static const G4double wDelta[120];
0094 
0095   static const G4double wL1405[120];
0096   static const G4double wL1520[120];
0097   static const G4double wL1600[120];
0098   static const G4double wL1670[120];
0099   static const G4double wL1690[120];
0100   static const G4double wL1800[120];
0101   static const G4double wL1810[120];
0102   static const G4double wL1820[120];
0103   static const G4double wL1830[120];
0104   static const G4double wL1890[120];
0105   static const G4double wL2100[120];
0106   static const G4double wL2110[120];
0107 
0108   static const G4double wS1385[120];
0109   static const G4double wS1660[120];
0110   static const G4double wS1670[120];
0111   static const G4double wS1750[120];
0112   static const G4double wS1775[120];
0113   static const G4double wS1915[120];
0114   static const G4double wS1940[120];
0115   static const G4double wS2030[120];
0116 
0117   static const G4double wX1530[120];
0118   static const G4double wX1690[120];
0119   static const G4double wX1820[120];
0120   static const G4double wX1950[120];
0121   static const G4double wX2030[120];
0122 
0123   G4int wSize;
0124 };
0125   
0126 #endif