Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4MIData.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// * 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// gpaterno, March 2019
27//
28//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
29
30#ifndef G4MIData_h
31#define G4MIData_h 1
32
33#include "globals.hh"
35
36//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
37
39
40public:
41 explicit G4MIData(const G4String&);
42 virtual ~G4MIData();
43
44public:
45 void Print() const override
46 {G4cout << "Molecular Interference data for Rayleigh scattering" << G4endl;};
47
48 void SetFilenameFF(const G4String& filenameff) {fFilenameFF = filenameff;};
49 void SetFilenameCS(const G4String& filenamecs) {fFilenameCS = filenamecs;};
50 void SetMolWeight(const G4double mw) {fMolWeight = mw;};
51
52 const G4String& GetFilenameFF() {return fFilenameFF;};
53 const G4String& GetFilenameCS() {return fFilenameCS;};
54 const G4double& GetMolWeight() {return fMolWeight;};
55
56private:
57 G4String fFilenameFF;
58 G4String fFilenameCS;
59 G4double fMolWeight;
60};
61
62//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
63
64#endif
65
66
67
68
69
70
71
double G4double
Definition G4Types.hh:83
#define G4endl
Definition G4ios.hh:67
G4GLOB_DLL std::ostream G4cout
const G4String & GetFilenameFF()
Definition G4MIData.hh:52
const G4double & GetMolWeight()
Definition G4MIData.hh:54
void Print() const override
Definition G4MIData.hh:45
void SetMolWeight(const G4double mw)
Definition G4MIData.hh:50
const G4String & GetFilenameCS()
Definition G4MIData.hh:53
void SetFilenameFF(const G4String &filenameff)
Definition G4MIData.hh:48
G4MIData(const G4String &)
Definition G4MIData.cc:37
void SetFilenameCS(const G4String &filenamecs)
Definition G4MIData.hh:49
virtual ~G4MIData()
Definition G4MIData.cc:46