G3G4Interface.hh

Go to the documentation of this file.
00001 //
00002 // ********************************************************************
00003 // * License and Disclaimer                                           *
00004 // *                                                                  *
00005 // * The  Geant4 software  is  copyright of the Copyright Holders  of *
00006 // * the Geant4 Collaboration.  It is provided  under  the terms  and *
00007 // * conditions of the Geant4 Software License,  included in the file *
00008 // * LICENSE and available at  http://cern.ch/geant4/license .  These *
00009 // * include a list of copyright holders.                             *
00010 // *                                                                  *
00011 // * Neither the authors of this software system, nor their employing *
00012 // * institutes,nor the agencies providing financial support for this *
00013 // * work  make  any representation or  warranty, express or implied, *
00014 // * regarding  this  software system or assume any liability for its *
00015 // * use.  Please see the license in the file  LICENSE  and URL above *
00016 // * for the full disclaimer and the limitation of liability.         *
00017 // *                                                                  *
00018 // * This  code  implementation is the result of  the  scientific and *
00019 // * technical work of the GEANT4 collaboration.                      *
00020 // * By using,  copying,  modifying or  distributing the software (or *
00021 // * any work based  on the software)  you  agree  to acknowledge its *
00022 // * use  in  resulting  scientific  publications,  and indicate your *
00023 // * acceptance of all terms of the Geant4 Software license.          *
00024 // ********************************************************************
00025 //
00026 //
00027 // $Id$
00028 //
00029 //   Interfaces for G3 equivalent routines
00030 //
00031 
00032 #ifndef G3G4INTERFACE_HH
00033 #define G3G4INTERFACE_HH 1
00034 
00035 #include "globals.hh"
00036 
00037 class G4LogicalVolume;
00038 
00039 void G4gsvolu(G4String name, G4String shape, G4int nmed, G4double* par,
00040               G4int npar);
00041 
00042 void G4gspos(G4String name, G4int num, G4String moth, 
00043              G4double x, G4double y, G4double z, G4int irot, 
00044              G4String only);
00045 
00046 void G4gsposp(G4String name, G4int num, G4String moth, 
00047               G4double x, G4double y, G4double z, G4int irot, 
00048               G4String only, G4double Rpar[], G4int npar);
00049 
00050 void G4gsbool(G4String volName, G4String manyVolName);
00051 
00052 void G4gsrotm(G4int irot, G4double theta1, G4double phi1,
00053               G4double theta2, G4double phi2, G4double theta3, G4double phi3);
00054 
00055 void G4gsatt(G4String name, G4String attr, G4int ival);
00056 
00057 void G4gsdvn(G4String vname, G4String vmoth, G4int ndiv, G4int iaxis);
00058 
00059 void G4gsdvt(G4String name, G4String moth, G4double Step, G4int iaxis,
00060              G4int numed, G4int ndvmx);
00061 
00062 void G4gsdvx(G4String name, G4String moth, G4int ndiv, G4int iaxis,
00063              G4double Step, G4double c0, G4int numed, G4int ndvmx);
00064 
00065 void G4gsdvn2(G4String name, G4String moth, G4int ndiv, G4int iaxis,
00066               G4double c0, G4int numed);
00067 
00068 void G4gsdvt2(G4String name, G4String moth, G4double Step, G4int iaxis,
00069               G4double c0, G4int numed, G4int ndvmx);
00070 
00071 void G4gsmate(G4int imate, G4String name, G4double a, G4double z,
00072               G4double dens, G4double radl, G4int nwbf, G4double* ubuf);
00073 
00074 void G4gsmixt(G4int imate, G4String name, G4double a[], G4double* z,
00075               G4double dens, G4int nlmat, G4double* wmat);
00076 
00077 void G4gstmed(G4int itmed, G4String name, G4int nmat, G4int isvol,
00078               G4int ifield, G4double fieldm, G4double tmaxfd,
00079               G4double stemax, G4double deemax, G4double epsil,
00080               G4double stmin, G4double* par, G4int npar);
00081 
00082 void G4gstpar(G4int itmed, G4String chpar, G4double parval);
00083 
00084 void G4gspart(G4int ipart, G4String chnpar, G4int itrtyp, G4double amass,
00085               G4double charge, G4double tlife, G4double* ubuf,
00086               G4int nwb);
00087 
00088 void G4gsdk(G4int ipart, G4double* bratio, G4int* mode);
00089 
00090 void G4gsdet(G4String chset, G4String chdet, G4int nv, G4String* chnmsv,
00091              G4int* nbitsv, G4int idtyp, G4int nwhi, G4int nwdi);
00092 
00093 void G4gsdetv(G4String chset, G4String chdet, G4int idtyp, G4int nwhi,
00094               G4int nwdi);
00095 
00096 void G4gsdeta(G4String chset, G4String chdet, G4String chali,
00097               G4int nwhi, G4int nwdi);
00098 
00099 void G4gsdeth(G4String chset, G4String chdet, G4int nh, G4String* chnamh,
00100               G4int* nbitsh, G4double* orig, G4double* fact);
00101 
00102 void G4gsdetd(G4String chset, G4String chdet, G4int nd, G4String* chnmsd,
00103               G4int* nbitsd);
00104 
00105 void G4gsdetu(G4String chset, G4String chdet, G4int nupar, G4double* upar);
00106 
00107 void G4ggclos();
00108 
00109 G4LogicalVolume* G4BuildGeom(G4String& inFile);
00110 #endif
00111 
00112 
00113 
00114 
00115 
00116 
00117 

Generated on Mon May 27 17:47:35 2013 for Geant4 by  doxygen 1.4.7