00001 #ifndef BDSMAGNETGEOMETRYTYPE_H 00002 #define BDSMAGNETGEOMETRYTYPE_H 00003 00004 #include "BDSTypeSafeEnum.hh" 00005 #include "globals.hh" // geant4 globals / types 00006 00014 struct magnetgeometrytypes_def { 00015 enum type { none, cylindrical, polescircular, polessquare, polesfacet, 00016 polesfacetcrop, lhcleft, lhcright }; 00017 00018 }; 00019 00020 typedef BDSTypeSafeEnum<magnetgeometrytypes_def, G4int> BDSMagnetGeometryType; 00021 00022 namespace BDS { 00024 BDSMagnetGeometryType DetermineMagnetGeometryType(G4String geometryType); 00025 } 00026 00027 #endif