Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:57:51

0001 //
0002 // ********************************************************************
0003 // * License and Disclaimer                                           *
0004 // *                                                                  *
0005 // * The  Geant4 software  is  copyright of the Copyright Holders  of *
0006 // * the Geant4 Collaboration.  It is provided  under  the terms  and *
0007 // * conditions of the Geant4 Software License,  included in the file *
0008 // * LICENSE and available at  http://cern.ch/geant4/license .  These *
0009 // * include a list of copyright holders.                             *
0010 // *                                                                  *
0011 // * Neither the authors of this software system, nor their employing *
0012 // * institutes,nor the agencies providing financial support for this *
0013 // * work  make  any representation or  warranty, express or implied, *
0014 // * regarding  this  software system or assume any liability for its *
0015 // * use.  Please see the license in the file  LICENSE  and URL above *
0016 // * for the full disclaimer and the limitation of liability.         *
0017 // *                                                                  *
0018 // * This  code  implementation is the result of  the  scientific and *
0019 // * technical work of the GEANT4 collaboration.                      *
0020 // * By using,  copying,  modifying or  distributing the software (or *
0021 // * any work based  on the software)  you  agree  to acknowledge its *
0022 // * use  in  resulting  scientific  publications,  and indicate your *
0023 // * acceptance of all terms of the Geant4 Software license.          *
0024 // ********************************************************************
0025 //
0026 //
0027 //
0028 //   Interfaces for G3 equivalent routines
0029 //
0030 
0031 #ifndef G3G4INTERFACE_HH
0032 #define G3G4INTERFACE_HH 1
0033 
0034 #include "globals.hh"
0035 
0036 class G4LogicalVolume;
0037 
0038 void G4gsvolu(G4String name, G4String shape, G4int nmed, G4double* par,
0039               G4int npar);
0040 
0041 void G4gspos(G4String name, G4int num, G4String moth, 
0042          G4double x, G4double y, G4double z, G4int irot, 
0043          G4String only);
0044 
0045 void G4gsposp(G4String name, G4int num, G4String moth, 
0046           G4double x, G4double y, G4double z, G4int irot, 
0047           G4String only, G4double Rpar[], G4int npar);
0048 
0049 void G4gsbool(G4String volName, G4String manyVolName);
0050 
0051 void G4gsrotm(G4int irot, G4double theta1, G4double phi1,
0052               G4double theta2, G4double phi2, G4double theta3, G4double phi3);
0053 
0054 void G4gsatt(G4String name, G4String attr, G4int ival);
0055 
0056 void G4gsdvn(G4String vname, G4String vmoth, G4int ndiv, G4int iaxis);
0057 
0058 void G4gsdvt(G4String name, G4String moth, G4double Step, G4int iaxis,
0059              G4int numed, G4int ndvmx);
0060 
0061 void G4gsdvx(G4String name, G4String moth, G4int ndiv, G4int iaxis,
0062              G4double Step, G4double c0, G4int numed, G4int ndvmx);
0063 
0064 void G4gsdvn2(G4String name, G4String moth, G4int ndiv, G4int iaxis,
0065               G4double c0, G4int numed);
0066 
0067 void G4gsdvt2(G4String name, G4String moth, G4double Step, G4int iaxis,
0068               G4double c0, G4int numed, G4int ndvmx);
0069 
0070 void G4gsmate(G4int imate, G4String name, G4double a, G4double z,
0071               G4double dens, G4double radl, G4int nwbf, G4double* ubuf);
0072 
0073 void G4gsmixt(G4int imate, G4String name, G4double a[], G4double* z,
0074               G4double dens, G4int nlmat, G4double* wmat);
0075 
0076 void G4gstmed(G4int itmed, G4String name, G4int nmat, G4int isvol,
0077               G4int ifield, G4double fieldm, G4double tmaxfd,
0078               G4double stemax, G4double deemax, G4double epsil,
0079               G4double stmin, G4double* par, G4int npar);
0080 
0081 void G4gstpar(G4int itmed, G4String chpar, G4double parval);
0082 
0083 void G4gspart(G4int ipart, G4String chnpar, G4int itrtyp, G4double amass,
0084               G4double charge, G4double tlife, G4double* ubuf,
0085               G4int nwb);
0086 
0087 void G4gsdk(G4int ipart, G4double* bratio, G4int* mode);
0088 
0089 void G4gsdet(G4String chset, G4String chdet, G4int nv, G4String* chnmsv,
0090              G4int* nbitsv, G4int idtyp, G4int nwhi, G4int nwdi);
0091 
0092 void G4gsdetv(G4String chset, G4String chdet, G4int idtyp, G4int nwhi,
0093               G4int nwdi);
0094 
0095 void G4gsdeta(G4String chset, G4String chdet, G4String chali,
0096               G4int nwhi, G4int nwdi);
0097 
0098 void G4gsdeth(G4String chset, G4String chdet, G4int nh, G4String* chnamh,
0099               G4int* nbitsh, G4double* orig, G4double* fact);
0100 
0101 void G4gsdetd(G4String chset, G4String chdet, G4int nd, G4String* chnmsd,
0102               G4int* nbitsd);
0103 
0104 void G4gsdetu(G4String chset, G4String chdet, G4int nupar, G4double* upar);
0105 
0106 void G4ggclos();
0107 
0108 G4LogicalVolume* G4BuildGeom(G4String& inFile);
0109 #endif
0110 
0111 
0112 
0113 
0114 
0115 
0116