Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:59:29

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 #ifndef G4XNNstarTable_h
0028 #define G4XNNstarTable_h
0029 
0030 #include "globals.hh"
0031 #include "G4PhysicsVector.hh"
0032 #include "G4VXResonanceTable.hh"
0033 
0034 #include <map>
0035 
0036 class G4XNNstarTable 
0037 {
0038 
0039 public:
0040 
0041   // Constructor
0042   G4XNNstarTable(); 
0043 
0044   // Destructor
0045   virtual ~G4XNNstarTable();
0046 
0047   // Cross section table
0048   virtual const G4PhysicsVector* CrossSectionTable(const G4String& particleName) const;
0049 
0050   // Operators
0051   G4bool operator==(const G4XNNstarTable &right) const;
0052   G4bool operator!=(const G4XNNstarTable &right) const;
0053 
0054 
0055 protected:
0056 
0057 
0058 private:  
0059 
0060   G4XNNstarTable(const G4XNNstarTable &right);
0061   G4XNNstarTable& operator=(const G4XNNstarTable &right);
0062 
0063   std::map <G4String, G4double*, std::less<G4String> > xMap;
0064 
0065   static const G4int sizeNNstar;
0066 
0067   // The energies corresponding to the following cross sections
0068   static const G4double energyTable[121];
0069 
0070   // Cross sections for p p -> N N*
0071   static const G4double sigmaNN1440[121];
0072   static const G4double sigmaNN1520[121];
0073   static const G4double sigmaNN1535[121];
0074   static const G4double sigmaNN1650[121];
0075   static const G4double sigmaNN1675[121];
0076   static const G4double sigmaNN1680[121];
0077   static const G4double sigmaNN1700[121];
0078   static const G4double sigmaNN1710[121];
0079   static const G4double sigmaNN1720[121];
0080   static const G4double sigmaNN1900[121];
0081   static const G4double sigmaNN1990[121];
0082   static const G4double sigmaNN2090[121];
0083   static const G4double sigmaNN2190[121];
0084   static const G4double sigmaNN2220[121];
0085   static const G4double sigmaNN2250[121];
0086 
0087 };
0088 
0089 #endif
0090