CbmRoot
|
Functions | |
void | PrintMedia () |
void | PrintMaterials () |
void | CorrectMediaId () |
void | RemoveDuplicateMaterials () |
void | RemoveDuplicateMedia () |
void | ReAssignMediaId () |
Bool_t | IsNewGeometryFile (TString &filename) |
void | ImportRootGeometry (TString &filename, FairModule *mod, TGeoMatrix *mat) |
Bool_t | IsNewGeometryFile (TString &filename, TString &volumeName, TGeoMatrix **matrix) |
void | AssignMediumAtImport (TGeoVolume *v) |
void | ExpandNodes (TGeoVolume *vol, FairModule *mod) |
void Cbm::GeometryUtils::AssignMediumAtImport | ( | TGeoVolume * | v | ) |
Assign medium to the the volume v, this has to be done in all cases: case 1: For CAD converted volumes they have no mediums (only names) case 2: TGeoVolumes, we need to be sure that the material is defined in this session
The Material is not yet defined in the TGeoManager, we try to create one if we have enough information about it
Material is already available in the TGeoManager and we can set it
Definition at line 240 of file CbmGeometryUtils.cxx.
References v.
Referenced by ExpandNodes().
void Cbm::GeometryUtils::CorrectMediaId | ( | ) |
Definition at line 54 of file CbmGeometryUtils.cxx.
References counter.
Referenced by ImportRootGeometry().
void Cbm::GeometryUtils::ExpandNodes | ( | TGeoVolume * | vol, |
FairModule * | mod | ||
) |
Definition at line 306 of file CbmGeometryUtils.cxx.
References AssignMediumAtImport(), and v.
Referenced by ImportRootGeometry().
void Cbm::GeometryUtils::ImportRootGeometry | ( | TString & | filename, |
FairModule * | mod, | ||
TGeoMatrix * | mat | ||
) |
Definition at line 140 of file CbmGeometryUtils.cxx.
References CorrectMediaId(), ExpandNodes(), IsNewGeometryFile(), RemoveDuplicateMaterials(), and RemoveDuplicateMedia().
Referenced by CbmPipe::ConstructGeometry(), CbmPlatform::ConstructGeometry(), CbmPsdMC::ConstructGeometry(), CbmRich::ConstructGeometry(), CbmMuch::ConstructRootGeometry(), CbmTrd::ConstructRootGeometry(), CbmStsMC::ConstructRootGeometry(), and CbmTof::ConstructRootGeometry().
bool Cbm::GeometryUtils::IsNewGeometryFile | ( | TString & | filename | ) |
Definition at line 133 of file CbmGeometryUtils.cxx.
Referenced by CbmPipe::ConstructGeometry(), CbmPlatform::ConstructGeometry(), CbmRich::ConstructGeometry(), CbmMuch::ConstructRootGeometry(), CbmTrd::ConstructRootGeometry(), CbmStsMC::ConstructRootGeometry(), CbmTof::ConstructRootGeometry(), and ImportRootGeometry().
bool Cbm::GeometryUtils::IsNewGeometryFile | ( | TString & | filename, |
TString & | volumeName, | ||
TGeoMatrix ** | matrix | ||
) |
Definition at line 179 of file CbmGeometryUtils.cxx.
References f.
void Cbm::GeometryUtils::PrintMaterials | ( | ) |
Definition at line 43 of file CbmGeometryUtils.cxx.
void Cbm::GeometryUtils::PrintMedia | ( | ) |
Definition at line 33 of file CbmGeometryUtils.cxx.
void Cbm::GeometryUtils::ReAssignMediaId | ( | ) |
Definition at line 100 of file CbmGeometryUtils.cxx.
References i, RemoveDuplicateMaterials(), and RemoveDuplicateMedia().
void Cbm::GeometryUtils::RemoveDuplicateMaterials | ( | ) |
Definition at line 64 of file CbmGeometryUtils.cxx.
Referenced by ImportRootGeometry(), and ReAssignMediaId().
void Cbm::GeometryUtils::RemoveDuplicateMedia | ( | ) |
Definition at line 82 of file CbmGeometryUtils.cxx.
Referenced by ImportRootGeometry(), and ReAssignMediaId().