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