source: trunk/source/processes/hadronic/models/cascade/cascade/include/G4BertiniRegionModel.hh @ 819

Last change on this file since 819 was 819, checked in by garnier, 16 years ago

import all except CVS

File size: 3.0 KB
Line 
1//
2// ********************************************************************
3// * License and Disclaimer                                           *
4// *                                                                  *
5// * The  Geant4 software  is  copyright of the Copyright Holders  of *
6// * the Geant4 Collaboration.  It is provided  under  the terms  and *
7// * conditions of the Geant4 Software License,  included in the file *
8// * LICENSE and available at  http://cern.ch/geant4/license .  These *
9// * include a list of copyright holders.                             *
10// *                                                                  *
11// * Neither the authors of this software system, nor their employing *
12// * institutes,nor the agencies providing financial support for this *
13// * work  make  any representation or  warranty, express or implied, *
14// * regarding  this  software system or assume any liability for its *
15// * use.  Please see the license in the file  LICENSE  and URL above *
16// * for the full disclaimer and the limitation of liability.         *
17// *                                                                  *
18// * This  code  implementation is the result of  the  scientific and *
19// * technical work of the GEANT4 collaboration.                      *
20// * By using,  copying,  modifying or  distributing the software (or *
21// * any work based  on the software)  you  agree  to acknowledge its *
22// * use  in  resulting  scientific  publications,  and indicate your *
23// * acceptance of all terms of the Geant4 Software license.          *
24// ********************************************************************
25//
26#ifndef G4BERTINIREGIONMODEL
27#define G4BERTINIREGIONMODEL
28
29#include "G4ios.hh"
30#include <vector>
31#include <cmath>
32#include "globals.hh"
33#include "G4Proton.hh"
34#include "G4Neutron.hh"
35
36
37typedef std::vector<G4double>::const_iterator my_iterator; 
38
39class G4BertiniRegionModel {
40  /*! \class G4BertiniRegionModel
41   *  \brief Implements HETC nucleus regions
42   *  \author Aatos Heikkinen
43   *  \author Original HETC authors
44   *  \version 0.0
45   *  \date 25.11.2002
46   *  \bug
47   *  \warning Wery preliminary
48   */
49
50public:
51  G4BertiniRegionModel(const G4int numberOfLayers, const G4int A, const G4int Z);
52  ~G4BertiniRegionModel();
53
54  G4double GetDensity(G4double radius);
55  G4double GetPotentialEnergy(G4double r, G4int particle);
56  G4double GetMaximumNucleonMomentum(G4double radius, G4int nucleon);
57
58private:
59  std::vector<G4double> radius; /*!< contains the outer radiuses of the shells */
60  std::vector<G4double> density;
61  std::vector<G4double> protonFermiEnergy;
62  std::vector<G4double> neutronFermiEnergy;
63  std::vector<G4double> protonFermiMomentum;
64  std::vector<G4double> neutronFermiMomentum;
65  std::vector<G4double> protonPotentialEnergy;
66  std::vector<G4double> neutronPotentialEnergy;
67  G4int massNumber;
68  G4int protonNumber;
69  static const G4double radius0; 
70  static const G4double BE;
71
72  G4double GetFermiMomentum(G4double density, G4double mass);
73  G4double GetFermiEnergy(G4double density, G4double mass);
74}; 
75#endif
76
77
78
79
80
81
82
83
Note: See TracBrowser for help on using the repository browser.