Geant4  10.01.p01
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 // $Id: G4VGlauberDataSet.hh 81932 2014-06-06 15:39:45Z gcosmo $
40 //
41 
42 #ifndef G4VGlauberDataSet_h
43 #define G4VGlauberDataSet_h
44 // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
45 //
46 // MODULE: G4VGlauberDataSet.hh
47 //
48 // Version: 0.B
49 // Date: 02/04/08
50 // Author: P R Truscott
51 // Organisation: QinetiQ Ltd, UK
52 // Customer: ESA/ESTEC, NOORDWIJK
53 // Contract: 19770/06/NL/JD
54 //
55 // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
56 //
57 // Class Description
58 //
59 //
60 // Class Description - End
61 //
62 // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
64 //
65 #include "globals.hh"
66 #include "G4SystemOfUnits.hh"
67 
68 #include <fstream>
69 
70 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
72 {
73 public:
74 
76  virtual ~G4VGlauberDataSet ();
77 
80 
81  inline G4int GetVerboseLevel () const;
82  inline void SetVerboseLevel (const G4int i);
83 
84  G4int GetAP () const;
85  G4int GetZP () const;
86  G4int GetAT () const;
87  G4int GetZT () const;
88 
90 
91  void SetArrayPointer (const G4int i);
92  inline G4double *GetArrayPointerN (const G4double ppn = 0.0);
93  inline G4double *GetArrayPointerM (const G4double ppn = 0.0);
94 
95  virtual std::ofstream & WriteDataToFile (std::ofstream &File) const;
96  virtual std::ifstream & ReadDataFromFile (std::ifstream &File);
97 
98 public:
99 
108 
113 
115 
118 
120 
121  friend std::ofstream & operator << (std::ofstream &File,
122  const G4VGlauberDataSet &q);
123  friend std::ifstream & operator >> (std::ifstream &File,
124  G4VGlauberDataSet &q);
125 
126 };
127 
128 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
129 inline void G4VGlauberDataSet::SetVerboseLevel (const G4int verboseLevel1)
130 {verboseLevel = verboseLevel1;}
131 
132 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
134 {return verboseLevel;}
135 
136 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
137 
138 #endif
G4int GetZT() const
G4int GetAT() const
virtual ~G4VGlauberDataSet()
G4int GetGlauberDataSetType() const
void SetArrayPointer(const G4int i)
int G4int
Definition: G4Types.hh:78
friend std::ifstream & operator>>(std::ifstream &File, G4VGlauberDataSet &q)
virtual std::ofstream & WriteDataToFile(std::ofstream &File) const
G4double * GetArrayPointerM(const G4double ppn=0.0)
G4double * GetArrayPointerN(const G4double ppn=0.0)
virtual std::ifstream & ReadDataFromFile(std::ifstream &File)
G4int GetAP() const
friend std::ofstream & operator<<(std::ofstream &File, const G4VGlauberDataSet &q)
void SetVerboseLevel(const G4int i)
const G4VGlauberDataSet & operator=(G4VGlauberDataSet &right)
double G4double
Definition: G4Types.hh:76
G4int GetZP() const
G4int GetVerboseLevel() const