/scratch0/jsnuveri/BDSIM/BDSIMgit/bdsim/include/ggmad.hh

00001 // gmad geometry and field map driver for BDSIM
00002 
00003 #ifndef _GGMAD_H
00004 #define _GGMAD_H
00005 
00006 
00007 #include "globals.hh"
00008 #include "G4LogicalVolume.hh"
00009 
00010 #include <fstream>
00011 
00012 class GGmadDriver {
00013 
00014 public:
00015   GGmadDriver(G4String);
00016   void Construct(G4LogicalVolume *marker);
00017 
00018 private:
00019   std::ifstream inputf;
00020   G4String getWord();
00021   void getParameter(G4double& x, G4String name, G4String lastToken);
00022   void getParameter(G4String& lval, G4String name, G4String lastToken);
00023   void error() {G4cout<<"ggmad parser: error in file format"<<G4endl;}
00024 };
00025 
00026 //void GetMaterial(G4Material *&theMaterial, G4String material);
00027 
00028 #endif

Generated on 28 Jun 2015 for BDSIM by  doxygen 1.4.7