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 // *                                                                  *
0021 // * Parts of this code which have been  developed by QinetiQ Ltd     *
0022 // * under contract to the European Space Agency (ESA) are the        *
0023 // * intellectual property of ESA. Rights to use, copy, modify and    *
0024 // * redistribute this software for general public use are granted    *
0025 // * in compliance with any licensing, distribution and development   *
0026 // * policy adopted by the Geant4 Collaboration. This code has been   *
0027 // * written by QinetiQ Ltd for the European Space Agency, under ESA  *
0028 // * contract 17191/03/NL/LvH (Aurora Programme).                     *
0029 // *                                                                  *
0030 // * By using,  copying,  modifying or  distributing the software (or *
0031 // * any work based  on the software)  you  agree  to acknowledge its *
0032 // * use  in  resulting  scientific  publications,  and indicate your *
0033 // * acceptance of all terms of the Geant4 Software license.          *
0034 // ********************************************************************
0035 //
0036 #ifndef G4WilsonRadius_h
0037 #define G4WilsonRadius_h 1
0038 // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0039 //
0040 // MODULE:              G4WilsonRadus.hh
0041 //
0042 // Version:     B.1
0043 // Date:        15/04/04
0044 // Author:      P R Truscott
0045 // Organisation:    QinetiQ Ltd, UK
0046 // Customer:        ESA/ESTEC, NOORDWIJK
0047 // Contract:        17191/03/NL/LvH
0048 //
0049 // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0050 //
0051 // CHANGE HISTORY
0052 // --------------
0053 //
0054 // 6 October 2003, P R Truscott, QinetiQ Ltd, UK
0055 // Created.
0056 //
0057 // 15 March 2004, P R Truscott, QinetiQ Ltd, UK
0058 // Beta release
0059 //
0060 // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0061 //
0062 // Class Description
0063 // Provides functions to calculate the nuclear radius as used in the
0064 // abrasion-ablation model (see Wilson, Tripathi, Cucinotta et al, NASA
0065 // Technical Paper 3533, October 1995), and to determine total nuclear-nuclear
0066 // cross-sections.  The Algorithm comes from Tripathi, Cucinnota and Wilson,
0067 // Nucl Instrum Meth Phys Res B, 152, pp425-431, 1999.
0068 //
0069 // Class Description - End
0070 //
0071 // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0072 ////////////////////////////////////////////////////////////////////////////////
0073 //
0074 #include "globals.hh"
0075 
0076 ////////////////////////////////////////////////////////////////////////////////
0077 //
0078 class G4WilsonRadius
0079 {
0080   public:
0081     G4WilsonRadius ();
0082     ~G4WilsonRadius ();
0083   
0084     G4double GetWilsonRMSRadius (G4double A);
0085     G4double GetWilsonRadius (G4double A);
0086 
0087   private:
0088     G4double r0sq;
0089     G4double factor;
0090     G4double third;
0091 };
0092 ////////////////////////////////////////////////////////////////////////////////
0093 //
0094 #endif