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 // modified by I.Hrivnacova, 27 Sep 99 00030 00031 #ifndef G3TOG4_HH 00032 #define G3TOG4_HH 1 00033 00034 #include "G3toG4Defs.hh" 00035 #include "globals.hh" 00036 00037 extern G3G4DLL_API char gSeparator; 00038 extern G3G4DLL_API G4int Ipar[1000]; 00039 extern G3G4DLL_API G4double Rpar[1000]; 00040 extern G3G4DLL_API G4String Spar[1000]; 00041 00042 void G3fillParams(G4String *tokens, const char *ptypes); 00043 // G4bool G3NegVolPars(G4double pars[], G4int* np, G4String vol, G4String moth, 00044 // char* routine); 00045 00046 #include "G3G4Interface.hh" 00047 00048 // Parameter types for Geant routines 00049 // s=string i=integer r=real capitalized=array 00050 // In case of arrays, the last integer before the array is the 00051 // number of elements. 00052 #define PTgsvolu "ssiiR" 00053 #define PTgspos "sisrrris" 00054 #define PTgsposp "sisrrrisiR" 00055 #define PTgsatt "ssi" 00056 #define PTgsrotm "irrrrrr" 00057 #define PTgsdvn "ssii" 00058 #define PTgsdvt "ssriii" 00059 #define PTgsdvx "ssiirrii" 00060 #define PTgsdvn2 "ssiiri" 00061 #define PTgsdvt2 "ssririi" 00062 #define PTgsmate "isrrrriR" 00063 //#define PTgsmixt "isriRRR" 00064 #define PTgsmixt "isriQ" 00065 #define PTgstmed "isiiirrrrrriR" 00066 #define PTgstpar "isr" 00067 #define PTgspart "isirrriR" 00068 #define PTgsdk "iiRI" 00069 #define PTgsdet "ssiSIiii" 00070 #define PTgsdetv "ssiii" 00071 #define PTgsdeta "sssii" 00072 #define PTgsdeth "ssiSIRR" 00073 #define PTgsdetd "ssiSI" 00074 #define PTgsdetu "ssiR" 00075 #endif