source: trunk/source/g3tog4/include/G3toG4.hh @ 1202

Last change on this file since 1202 was 965, checked in by garnier, 15 years ago

update g3tog4

File size: 2.9 KB
Line 
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,v 1.9 2006/06/29 18:12:33 gunter Exp $
28// GEANT4 tag $Name: geant4-09-02-ref-02 $
29//
30// modified by I.Hrivnacova, 27 Sep 99
31
32#ifndef G3TOG4_HH
33#define G3TOG4_HH 1
34
35#include "globals.hh"
36
37extern char gSeparator; 
38
39extern G4int Ipar[1000];
40extern G4double Rpar[1000];
41extern G4String Spar[1000];
42
43//extern G4double min(G4double, G4double);
44
45void G3fillParams(G4String *tokens, const char *ptypes);
46// G4bool G3NegVolPars(G4double pars[], G4int* np, G4String vol, G4String moth,
47//               char* routine);
48
49#include "G3G4Interface.hh"
50
51// Parameter types for Geant routines
52//   s=string  i=integer r=real   capitalized=array
53//   In case of arrays, the last integer before the array is the
54//   number of elements.
55#define PTgsvolu "ssiiR"
56#define PTgspos  "sisrrris"
57#define PTgsposp "sisrrrisiR"
58#define PTgsatt  "ssi"
59#define PTgsrotm "irrrrrr"
60#define PTgsdvn  "ssii"
61#define PTgsdvt  "ssriii"
62#define PTgsdvx  "ssiirrii"
63#define PTgsdvn2 "ssiiri"
64#define PTgsdvt2 "ssririi"
65#define PTgsmate "isrrrriR"
66//#define PTgsmixt "isriRRR"
67#define PTgsmixt "isriQ"
68#define PTgstmed "isiiirrrrrriR"
69#define PTgstpar "isr"
70#define PTgspart "isirrriR"
71#define PTgsdk   "iiRI"
72#define PTgsdet  "ssiSIiii"
73#define PTgsdetv "ssiii"
74#define PTgsdeta "sssii"
75#define PTgsdeth "ssiSIRR"
76#define PTgsdetd "ssiSI"
77#define PTgsdetu "ssiR"
78#endif
Note: See TracBrowser for help on using the repository browser.