Geant4  10.02
G3G4Interface.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 //
27 // $Id: G3G4Interface.hh 67982 2013-03-13 10:36:03Z gcosmo $
28 //
29 // Interfaces for G3 equivalent routines
30 //
31 
32 #ifndef G3G4INTERFACE_HH
33 #define G3G4INTERFACE_HH 1
34 
35 #include "globals.hh"
36 
37 class G4LogicalVolume;
38 
39 void G4gsvolu(G4String name, G4String shape, G4int nmed, G4double* par,
40  G4int npar);
41 
42 void G4gspos(G4String name, G4int num, G4String moth,
43  G4double x, G4double y, G4double z, G4int irot,
44  G4String only);
45 
46 void G4gsposp(G4String name, G4int num, G4String moth,
47  G4double x, G4double y, G4double z, G4int irot,
48  G4String only, G4double Rpar[], G4int npar);
49 
50 void G4gsbool(G4String volName, G4String manyVolName);
51 
52 void G4gsrotm(G4int irot, G4double theta1, G4double phi1,
53  G4double theta2, G4double phi2, G4double theta3, G4double phi3);
54 
55 void G4gsatt(G4String name, G4String attr, G4int ival);
56 
57 void G4gsdvn(G4String vname, G4String vmoth, G4int ndiv, G4int iaxis);
58 
59 void G4gsdvt(G4String name, G4String moth, G4double Step, G4int iaxis,
60  G4int numed, G4int ndvmx);
61 
62 void G4gsdvx(G4String name, G4String moth, G4int ndiv, G4int iaxis,
63  G4double Step, G4double c0, G4int numed, G4int ndvmx);
64 
65 void G4gsdvn2(G4String name, G4String moth, G4int ndiv, G4int iaxis,
66  G4double c0, G4int numed);
67 
68 void G4gsdvt2(G4String name, G4String moth, G4double Step, G4int iaxis,
69  G4double c0, G4int numed, G4int ndvmx);
70 
72  G4double dens, G4double radl, G4int nwbf, G4double* ubuf);
73 
74 void G4gsmixt(G4int imate, G4String name, G4double a[], G4double* z,
75  G4double dens, G4int nlmat, G4double* wmat);
76 
77 void G4gstmed(G4int itmed, G4String name, G4int nmat, G4int isvol,
78  G4int ifield, G4double fieldm, G4double tmaxfd,
79  G4double stemax, G4double deemax, G4double epsil,
80  G4double stmin, G4double* par, G4int npar);
81 
82 void G4gstpar(G4int itmed, G4String chpar, G4double parval);
83 
84 void G4gspart(G4int ipart, G4String chnpar, G4int itrtyp, G4double amass,
85  G4double charge, G4double tlife, G4double* ubuf,
86  G4int nwb);
87 
88 void G4gsdk(G4int ipart, G4double* bratio, G4int* mode);
89 
90 void G4gsdet(G4String chset, G4String chdet, G4int nv, G4String* chnmsv,
91  G4int* nbitsv, G4int idtyp, G4int nwhi, G4int nwdi);
92 
93 void G4gsdetv(G4String chset, G4String chdet, G4int idtyp, G4int nwhi,
94  G4int nwdi);
95 
96 void G4gsdeta(G4String chset, G4String chdet, G4String chali,
97  G4int nwhi, G4int nwdi);
98 
99 void G4gsdeth(G4String chset, G4String chdet, G4int nh, G4String* chnamh,
100  G4int* nbitsh, G4double* orig, G4double* fact);
101 
102 void G4gsdetd(G4String chset, G4String chdet, G4int nd, G4String* chnmsd,
103  G4int* nbitsd);
104 
105 void G4gsdetu(G4String chset, G4String chdet, G4int nupar, G4double* upar);
106 
107 void G4ggclos();
108 
110 #endif
111 
112 
113 
114 
115 
116 
117 
G3G4DLL_API G4double Rpar[1000]
Definition: clparse.cc:67
void G4gsatt(G4String name, G4String attr, G4int ival)
Definition: G4gsatt.cc:46
void G4gsdet(G4String chset, G4String chdet, G4int nv, G4String *chnmsv, G4int *nbitsv, G4int idtyp, G4int nwhi, G4int nwdi)
Definition: G4gsdet.cc:51
void G4gsrotm(G4int irot, G4double theta1, G4double phi1, G4double theta2, G4double phi2, G4double theta3, G4double phi3)
Definition: G4gsrotm.cc:54
const G4double fact
void G4gsdvn(G4String vname, G4String vmoth, G4int ndiv, G4int iaxis)
Definition: G4gsdvn.cc:103
G4double z
Definition: TRTMaterials.hh:39
G4String name
Definition: TRTMaterials.hh:40
void G4gsdk(G4int ipart, G4double *bratio, G4int *mode)
Definition: G4gsdk.cc:46
void G4gsdetv(G4String chset, G4String chdet, G4int idtyp, G4int nwhi, G4int nwdi)
Definition: G4gsdetv.cc:51
G4double a
Definition: TRTMaterials.hh:39
int G4int
Definition: G4Types.hh:78
void G4gspos(G4String name, G4int num, G4String moth, G4double x, G4double y, G4double z, G4int irot, G4String only)
Definition: G4gspos.cc:65
void G4gsdvx(G4String name, G4String moth, G4int ndiv, G4int iaxis, G4double Step, G4double c0, G4int numed, G4int ndvmx)
Definition: G4gsdvx.cc:58
void G4gsbool(G4String volName, G4String manyVolName)
Definition: G4gsbool.cc:35
void G4gsmate(G4int imate, G4String name, G4double a, G4double z, G4double dens, G4double radl, G4int nwbf, G4double *ubuf)
Definition: G4gsmate.cc:105
void G4gsmixt(G4int imate, G4String name, G4double a[], G4double *z, G4double dens, G4int nlmat, G4double *wmat)
void G4gsdvt(G4String name, G4String moth, G4double Step, G4int iaxis, G4int numed, G4int ndvmx)
Definition: G4gsdvt.cc:57
void G4gsdvn2(G4String name, G4String moth, G4int ndiv, G4int iaxis, G4double c0, G4int numed)
Definition: G4gsdvn2.cc:56
void G4gsdeta(G4String chset, G4String chdet, G4String chali, G4int nwhi, G4int nwdi)
Definition: G4gsdeta.cc:53
void G4gsvolu(G4String name, G4String shape, G4int nmed, G4double *par, G4int npar)
Definition: G4gsvolu.cc:73
void G4gstpar(G4int itmed, G4String chpar, G4double parval)
Definition: G4gstpar.cc:45
void G4gstmed(G4int itmed, G4String name, G4int nmat, G4int isvol, G4int ifield, G4double fieldm, G4double tmaxfd, G4double stemax, G4double deemax, G4double epsil, G4double stmin, G4double *par, G4int npar)
Definition: G4gstmed.cc:68
static const G4double c0
void G4gsposp(G4String name, G4int num, G4String moth, G4double x, G4double y, G4double z, G4int irot, G4String only, G4double Rpar[], G4int npar)
Definition: G4gsposp.cc:297
G4LogicalVolume * G4BuildGeom(G4String &inFile)
Definition: G4BuildGeom.cc:55
const G4double x[NPOINTSGL]
Definition: Step.hh:41
void G4gsdeth(G4String chset, G4String chdet, G4int nh, G4String *chnamh, G4int *nbitsh, G4double *orig, G4double *fact)
Definition: G4gsdeth.cc:52
void G4gspart(G4int ipart, G4String chnpar, G4int itrtyp, G4double amass, G4double charge, G4double tlife, G4double *ubuf, G4int nwb)
Definition: G4gspart.cc:51
double G4double
Definition: G4Types.hh:76
void G4ggclos()
Definition: G4ggclos.cc:36
void G4gsdvt2(G4String name, G4String moth, G4double Step, G4int iaxis, G4double c0, G4int numed, G4int ndvmx)
Definition: G4gsdvt2.cc:58
void G4gsdetu(G4String chset, G4String chdet, G4int nupar, G4double *upar)
Definition: G4gsdetu.cc:45
void G4gsdetd(G4String chset, G4String chdet, G4int nd, G4String *chnmsd, G4int *nbitsd)
Definition: G4gsdetd.cc:50