Geant4 Cross Reference |
1 // 1 2 // ******************************************* 3 // * License and Disclaimer 4 // * 5 // * The Geant4 software is copyright of th 6 // * the Geant4 Collaboration. It is provided 7 // * conditions of the Geant4 Software License 8 // * LICENSE and available at http://cern.ch/ 9 // * include a list of copyright holders. 10 // * 11 // * Neither the authors of this software syst 12 // * institutes,nor the agencies providing fin 13 // * work make any representation or warran 14 // * regarding this software system or assum 15 // * use. Please see the license in the file 16 // * for the full disclaimer and the limitatio 17 // * 18 // * This code implementation is the result 19 // * technical work of the GEANT4 collaboratio 20 // * By using, copying, modifying or distri 21 // * any work based on the software) you ag 22 // * use in resulting scientific publicati 23 // * acceptance of all terms of the Geant4 Sof 24 // ******************************************* 25 // 26 // gpaterno, March 2019 27 // 28 //....oooOO0OOooo........oooOO0OOooo........oo 29 30 #ifndef G4MIData_h 31 #define G4MIData_h 1 32 33 #include "globals.hh" 34 #include "G4VMaterialExtension.hh" 35 36 //....oooOO0OOooo........oooOO0OOooo........oo 37 38 class G4MIData : public G4VMaterialExtension { 39 40 public: 41 explicit G4MIData(const G4String&); 42 virtual ~G4MIData(); 43 44 public: 45 void Print() const override 46 {G4cout << "Molecular Interference data for 47 48 void SetFilenameFF(const G4String& filenamef 49 void SetFilenameCS(const G4String& filenamec 50 void SetMolWeight(const G4double mw) {fMolWe 51 52 const G4String& GetFilenameFF() {return fFil 53 const G4String& GetFilenameCS() {return fFil 54 const G4double& GetMolWeight() {return fMolW 55 56 private: 57 G4String fFilenameFF; 58 G4String fFilenameCS; 59 G4double fMolWeight; 60 }; 61 62 //....oooOO0OOooo........oooOO0OOooo........oo 63 64 #endif 65 66 67 68 69 70 71 72