Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G3toG4.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: G3toG4.hh 67982 2013-03-13 10:36:03Z gcosmo $
28 //
29 // modified by I.Hrivnacova, 27 Sep 99
30 
31 #ifndef G3TOG4_HH
32 #define G3TOG4_HH 1
33 
34 #include "G3toG4Defs.hh"
35 #include "globals.hh"
36 
37 extern G3G4DLL_API char gSeparator;
38 extern G3G4DLL_API G4int Ipar[1000];
39 extern G3G4DLL_API G4double Rpar[1000];
40 extern G3G4DLL_API G4String Spar[1000];
41 
42 void G3fillParams(G4String *tokens, const char *ptypes);
43 // G4bool G3NegVolPars(G4double pars[], G4int* np, G4String vol, G4String moth,
44 // char* routine);
45 
46 #include "G3G4Interface.hh"
47 
48 // Parameter types for Geant routines
49 // s=string i=integer r=real capitalized=array
50 // In case of arrays, the last integer before the array is the
51 // number of elements.
52 #define PTgsvolu "ssiiR"
53 #define PTgspos "sisrrris"
54 #define PTgsposp "sisrrrisiR"
55 #define PTgsatt "ssi"
56 #define PTgsrotm "irrrrrr"
57 #define PTgsdvn "ssii"
58 #define PTgsdvt "ssriii"
59 #define PTgsdvx "ssiirrii"
60 #define PTgsdvn2 "ssiiri"
61 #define PTgsdvt2 "ssririi"
62 #define PTgsmate "isrrrriR"
63 //#define PTgsmixt "isriRRR"
64 #define PTgsmixt "isriQ"
65 #define PTgstmed "isiiirrrrrriR"
66 #define PTgstpar "isr"
67 #define PTgspart "isirrriR"
68 #define PTgsdk "iiRI"
69 #define PTgsdet "ssiSIiii"
70 #define PTgsdetv "ssiii"
71 #define PTgsdeta "sssii"
72 #define PTgsdeth "ssiSIRR"
73 #define PTgsdetd "ssiSI"
74 #define PTgsdetu "ssiR"
75 #endif
G3G4DLL_API G4double Rpar[1000]
Definition: clparse.cc:67
void G3fillParams(G4String *tokens, const char *ptypes)
Definition: clparse.cc:219
int G4int
Definition: G4Types.hh:78
G3G4DLL_API G4String Spar[1000]
Definition: clparse.cc:68
G3G4DLL_API G4int Ipar[1000]
Definition: clparse.cc:66
G3G4DLL_API char gSeparator
double G4double
Definition: G4Types.hh:76
#define G3G4DLL_API
Definition: G3toG4Defs.hh:44