Geant4  9.6.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4VGlauberDataSet.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 G4VGlauberDataSet_h
40 #define G4VGlauberDataSet_h
41 // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
42 //
43 // MODULE: G4VGlauberDataSet.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 #include "globals.hh"
63 
64 #include <fstream>
65 
67 //
69 {
70  public:
72  virtual ~G4VGlauberDataSet ();
74 
76 
77  G4int GetVerboseLevel () const;
78  void SetVerboseLevel (const G4int i);
79 
80  G4int GetAP () const;
81  G4int GetZP () const;
82  G4int GetAT () const;
83  G4int GetZT () const;
84 
86 
87  void SetArrayPointer (const G4int i);
88  G4double *GetArrayPointerN (const G4double ppn = 0.0);
89  G4double *GetArrayPointerM (const G4double ppn = 0.0);
90 
91 // G4double GetValueN (const G4double f);
92 // G4double GetValueM (const G4double f);
93 
94  public:
95  virtual std::ofstream & WriteDataToFile (std::ofstream &File) const;
96  virtual std::ifstream & ReadDataFromFile (std::ifstream &File);
97 
98  public:
107 
112 
114 
117 
119 
120  friend std::ofstream & operator << (std::ofstream &File, const G4VGlauberDataSet &q);
121  friend std::ifstream & operator >> (std::ifstream &File, G4VGlauberDataSet &q);
122 
123 };
124 
125 inline void G4VGlauberDataSet::SetVerboseLevel (const G4int verboseLevel1)
126  {verboseLevel = verboseLevel1;}
127 
129  {return verboseLevel;}
131 //
132 #endif