|
||||
File indexing completed on 2025-01-18 09:59:30
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 // 0029 // ---------------------------------------------------------------------- 0030 // Constants, typedefs, enums for Geometry Section 0031 // 0032 // History: 0033 // 30.06.95 P.Kent 0034 0035 #ifndef GeomDefs_hh 0036 #define GeomDefs_hh 0037 0038 #include "globals.hh" 0039 0040 // `Infinity' - Distance returned for no intersection etc. 0041 static const G4double kInfinity = 9.0E99; 0042 0043 // Minimum cosine of angle between surface normal & track direction 0044 // for exiting normal optimisation 0045 static const double kMinExitingNormalCosine = 1E-3; 0046 0047 // Define axes for function params etc. 0048 // X/Y/ZAxis = Normal Catesian axes 0049 // Rho = Radial axis in cylindrical polar 0050 // Radial3D = Radial axis in spherical polar 0051 // Phi = Phi axis in cylindrical polar 0052 // kUndefined = Not defined axis 0053 enum EAxis 0054 { 0055 kXAxis, 0056 kYAxis, 0057 kZAxis, 0058 kRho, 0059 kRadial3D, 0060 kPhi, 0061 kUndefined 0062 }; 0063 0064 // G4VSolid::Inside return codes 0065 // kSurface => within tolerance of exact surface 0066 enum EInside 0067 { 0068 kOutside, 0069 kSurface, 0070 kInside 0071 }; 0072 // enum EInside {kInside=1, kSurface=2, kOutside=3}; 0073 0074 // kNormal = (G4PVPlacement) Conventional positioning 0075 // kReplica = (G4PVReplica) Consumed parameterised case 0076 // => Distances & location computed with 0077 // simple formulae & MOTHER volume(s) 0078 // must also be checked 0079 // kParameterised = (G4PVParameterised) General parameterised volume 0080 // => Distance & location computed to volumes 0081 // after setup/modification via user object 0082 enum EVolume 0083 { 0084 kNormal, 0085 kReplica, 0086 kParameterised, 0087 kExternal 0088 }; 0089 0090 // Default max size of Navigation history 0091 // 0092 static const G4int kHistoryMax = 15; 0093 0094 // History increase stride of Navigation history 0095 // 0096 static const G4int kHistoryStride = 16; 0097 0098 // Voxel stack depth maximum [no resizing] 0099 // 0100 static const G4int kNavigatorVoxelStackMax = 3; 0101 0102 #endif /* GeomDefs_hh */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |