Geant4  9.6.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4ParamType1GlaubAADataSet.hh
Go to the documentation of this file.
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 // * *
21 // * Parts of this code which have been developed by QinetiQ Ltd *
22 // * under contract to the European Space Agency (ESA) are the *
23 // * intellectual property of ESA. Rights to use, copy, modify and *
24 // * redistribute this software for general public use are granted *
25 // * in compliance with any licensing, distribution and development *
26 // * policy adopted by the Geant4 Collaboration. This code has been *
27 // * written by QinetiQ Ltd for the European Space Agency, under ESA *
28 // * contract 19770/06/NL/JD (Technology Research Programme). *
29 // * *
30 // * By using, copying, modifying or distributing the software (or *
31 // * any work based on the software) you agree to acknowledge its *
32 // * use in resulting scientific publications, and indicate your *
33 // * acceptance of all terms of the Geant4 Software license. *
34 // ********************************************************************
35 //
38 //
39 #ifndef G4ParamType1GlaubAADataSet_h
40 #define G4ParamType1GlaubAADataSet_h
41 // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
42 //
43 // MODULE: G4ParamType1GlaubAADataSet.hh
44 //
45 // Version: 0.B
46 // Date: 02/04/08
47 // Author: P R Truscott
48 // Organisation: QinetiQ Ltd, UK
49 // Customer: ESA/ESTEC, NOORDWIJK
50 // Contract: 19770/06/NL/JD
51 //
52 // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
53 //
54 // Class Description
55 //
56 //
57 // Class Description - End
58 //
59 // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
61 //
62 
63 #include "G4FullGlaubAADataSet.hh"
64 #include "G4GlaubAADataSet.hh"
66 
67 #include "G4DPMJET2_5Interface.hh"
68 
69 #include "globals.hh"
70 #include <fstream>
72 //
75 {
76  public:
78  G4ParamType1GlaubAADataSet (const G4int AP1, const G4int AT1);
82 
84 
85  G4bool CreateGlauberData (const G4int AP1, const G4int AT1);
86  G4bool CreateGlauberData (G4FullGlaubAADataSet *fullGlauberDataSet);
87 // G4FullGlaubAADataSet *GetFullGlauberDataSet ();
88 
89  G4double GetValueN (const G4double f, const G4double ppn = 0.0) const;
90  G4double GetValueM (const G4double f, const G4double ppn = 0.0) const;
91 
92 // G4double *GetArrayPointerN (const G4double ppn);
93 // G4double *GetArrayPointerM (const G4double ppn);
94 
95  std::ofstream & WriteDataToFile (std::ofstream &File) const;
96  std::ifstream & ReadDataFromFile (std::ifstream &File);
97 
98  public:
99 // G4double bsiten[200];
100 // G4double bsitem[200];
101 };
102 
104 //
105 // GetValueN
106 //
108  const G4double ppn) const
109  {return GetParameterisedValueN (f, ppn);}
111 //
112 // GetValueM
113 //
115  const G4double ppn) const
116  {return GetParameterisedValueM (f, ppn);}
117 #endif