Geant4
10.00.p03
|
#include <G4tgrUtils.hh>
Public Member Functions | |
G4tgrUtils () | |
~G4tgrUtils () | |
Static Public Member Functions | |
static G4bool | IsSeparator (char) |
static G4bool | IsNumber (const G4String &str) |
static G4bool | IsInteger (const G4double val, const G4double precision=1.e-6) |
static G4bool | IsFunction (const G4String &word) |
static G4bool | WordIsUnit (const G4String &word) |
static void | Dump3v (const G4ThreeVector &vec, const char *msg) |
static void | Dumprm (const G4RotationMatrix &rm, const char *msg) |
static void | DumpVS (const std::vector< G4String > &wl, const char *msg) |
static void | DumpVS (const std::vector< G4String > &wl, const char *msg, std::ostream &outs) |
static void | CheckWLsize (const std::vector< G4String > &wl, unsigned int nWCheck, WLSIZEtype st, const G4String &methodName) |
static G4bool | CheckListSize (unsigned int nWreal, unsigned int nWcheck, WLSIZEtype st, G4String &outstr) |
static G4String | SubColon (const G4String &str) |
static G4String | GetString (const G4String &str) |
static G4double | GetDouble (const G4String &str, G4double unitval=1.) |
static G4int | GetInt (const G4String &str) |
static G4bool | GetBool (const G4String &str) |
static G4RotationMatrix | GetRotationFromDirection (G4ThreeVector dir) |
static G4bool | AreWordsEquivalent (const G4String &word1, const G4String &word2) |
Static Private Attributes | |
static G4ThreadLocal G4tgrEvaluator * | theEvaluator = 0 |
Definition at line 54 of file G4tgrUtils.hh.
G4tgrUtils::G4tgrUtils | ( | ) |
Definition at line 52 of file G4tgrUtils.cc.
References theEvaluator.
G4tgrUtils::~G4tgrUtils | ( | ) |
Definition at line 59 of file G4tgrUtils.cc.
References theEvaluator.
Definition at line 672 of file G4tgrUtils.cc.
References FatalException, and G4Exception().
Referenced by ExTGRCRegionCutsMgr::FindRegionData(), and G4tgrVolumeMgr::FindVolumes().
|
static |
Definition at line 497 of file G4tgrUtils.cc.
References G4cerr, G4endl, WLSIZE_EQ, WLSIZE_GE, WLSIZE_GT, WLSIZE_LE, WLSIZE_LT, and WLSIZE_NE.
Referenced by G4tgbPlaceParameterisation::CheckNExtraData(), and CheckWLsize().
|
static |
Definition at line 475 of file G4tgrUtils.cc.
References CheckListSize(), G4UIcommand::ConvertToString(), DumpVS(), FatalException, and G4Exception().
Referenced by G4tgrVolume::AddCheckOverlaps(), G4tgrVolumeAssembly::AddPlace(), G4tgrVolume::AddPlace(), G4tgrVolume::AddPlaceReplica(), G4tgrVolume::AddRGBColour(), G4tgrVolume::AddVisibility(), G4tgrParameterMgr::CheckIfNewParameter(), G4tgrElementFromIsotopes::G4tgrElementFromIsotopes(), G4tgrElementSimple::G4tgrElementSimple(), G4tgrIsotope::G4tgrIsotope(), G4tgrMaterialMixture::G4tgrMaterialMixture(), G4tgrMaterialSimple::G4tgrMaterialSimple(), G4tgrPlaceDivRep::G4tgrPlaceDivRep(), G4tgrPlaceParameterisation::G4tgrPlaceParameterisation(), G4tgrVolumeAssembly::G4tgrVolumeAssembly(), and G4tgrVolumeDivision::G4tgrVolumeDivision().
|
static |
Definition at line 126 of file G4tgrUtils.cc.
|
static |
Definition at line 134 of file G4tgrUtils.cc.
|
static |
Definition at line 158 of file G4tgrUtils.cc.
References G4cout.
Referenced by G4tgrRotationMatrixFactory::AddRotMatrix(), CheckWLsize(), G4tgrMaterialFactory::ErrorAlreadyExists(), G4tgrSolidBoolean::G4tgrSolidBoolean(), G4tgrLineProcessor::ProcessLine(), and G4tgrFileReader::ReadFiles().
|
static |
Definition at line 144 of file G4tgrUtils.cc.
References G4endl.
Definition at line 448 of file G4tgrUtils.cc.
References FatalException, and G4Exception().
Referenced by G4tgrVolume::AddCheckOverlaps(), and G4tgrVolume::AddVisibility().
Definition at line 205 of file G4tgrUtils.cc.
References G4UIcommand::ConvertToString(), DBL_MAX, DBL_MIN, FatalException, G4tgrParameterMgr::FindParameter(), FLT_MAX, FLT_MIN, G4cout, G4endl, G4Exception(), G4tgrParameterMgr::GetInstance(), G4UnitDefinition::GetValueOf(), G4tgrMessenger::GetVerboseLevel(), INT_MAX, INT_MIN, IsFunction(), IsNumber(), G4tgrEvaluator::print_error(), theEvaluator, and WordIsUnit().
Referenced by G4tgrParameterMgr::AddParameterNumber(), G4tgrVolume::AddPlaceReplica(), G4tgrVolume::AddRGBColour(), G4tgrSolid::FillSolidParams(), G4tgrElementFromIsotopes::G4tgrElementFromIsotopes(), G4tgrElementSimple::G4tgrElementSimple(), G4tgrIsotope::G4tgrIsotope(), G4tgrMaterialMixture::G4tgrMaterialMixture(), G4tgrMaterialSimple::G4tgrMaterialSimple(), G4tgrPlaceDivRep::G4tgrPlaceDivRep(), G4tgrPlaceParameterisation::G4tgrPlaceParameterisation(), G4tgrPlaceSimple::G4tgrPlaceSimple(), G4tgrRotationMatrix::G4tgrRotationMatrix(), G4tgrSolidBoolean::G4tgrSolidBoolean(), G4tgrVolumeAssembly::G4tgrVolumeAssembly(), G4tgrVolumeDivision::G4tgrVolumeDivision(), GetInt(), G4tgrLineProcessor::ProcessLine(), and ExTGRCRegionData::SetCutsData().
Definition at line 430 of file G4tgrUtils.cc.
References FatalException, G4Exception(), GetDouble(), and IsInteger().
Referenced by G4tgrElementFromIsotopes::G4tgrElementFromIsotopes(), G4tgrElementSimple::G4tgrElementSimple(), G4tgrIsotope::G4tgrIsotope(), G4tgrMaterialMixture::G4tgrMaterialMixture(), G4tgrPlaceDivRep::G4tgrPlaceDivRep(), G4tgrPlaceParameterisation::G4tgrPlaceParameterisation(), G4tgrPlaceSimple::G4tgrPlaceSimple(), G4tgrVolumeAssembly::G4tgrVolumeAssembly(), and G4tgrVolumeDivision::G4tgrVolumeDivision().
|
static |
Definition at line 626 of file G4tgrUtils.cc.
References G4UIcommand::ConvertToString(), G4Exception(), G4GeometryTolerance::GetInstance(), G4GeometryTolerance::GetSurfaceTolerance(), JustWarning, and G4INCL::Math::pi.
Definition at line 180 of file G4tgrUtils.cc.
References G4tgrParameterMgr::FindParameter(), G4cout, G4endl, G4tgrParameterMgr::GetInstance(), and G4tgrMessenger::GetVerboseLevel().
Referenced by G4tgrMaterialFactory::AddElementFromIsotopes(), G4tgrMaterialFactory::AddElementSimple(), G4tgrMaterialFactory::AddIsotope(), G4tgrMaterialFactory::AddMaterialMixture(), G4tgrMaterialFactory::AddMaterialSimple(), G4tgrRotationMatrixFactory::AddRotMatrix(), G4tgrElementFromIsotopes::G4tgrElementFromIsotopes(), G4tgrElementSimple::G4tgrElementSimple(), G4tgrIsotope::G4tgrIsotope(), G4tgrMaterialMixture::G4tgrMaterialMixture(), G4tgrMaterialSimple::G4tgrMaterialSimple(), G4tgrPlaceDivRep::G4tgrPlaceDivRep(), G4tgrPlaceParameterisation::G4tgrPlaceParameterisation(), G4tgrPlaceSimple::G4tgrPlaceSimple(), G4tgrRotationMatrix::G4tgrRotationMatrix(), G4tgrSolid::G4tgrSolid(), G4tgrSolidBoolean::G4tgrSolidBoolean(), G4tgrVolume::G4tgrVolume(), G4tgrVolumeAssembly::G4tgrVolumeAssembly(), G4tgrVolumeDivision::G4tgrVolumeDivision(), and G4tgrLineProcessor::ProcessLine().
Definition at line 595 of file G4tgrUtils.cc.
Referenced by GetDouble().
Definition at line 112 of file G4tgrUtils.cc.
Referenced by GetInt().
Definition at line 81 of file G4tgrUtils.cc.
Referenced by GetDouble(), and WordIsUnit().
|
static |
Definition at line 66 of file G4tgrUtils.cc.
Definition at line 165 of file G4tgrUtils.cc.
References FatalException, and G4Exception().
Definition at line 556 of file G4tgrUtils.cc.
References IsNumber().
Referenced by GetDouble().
|
staticprivate |
Definition at line 108 of file G4tgrUtils.hh.
Referenced by G4tgrUtils(), GetDouble(), and ~G4tgrUtils().