CbmRoot
|
Functions | |
void | PrintMedia () |
void | PrintMaterials () |
void | UniqueId () |
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 | LocalToMasterCovarianceMatrix (const TGeoMatrix &m, Double_t &covXX, Double_t &covXY, Double_t &covYY) |
Convert the local X/Y covariance matrix to global coordinates. | |
TGeoManager * | pop_TGeoManager (const char *name) |
bool | add_binary (const char rootFile[], TGeoVolume *top, TGeoMedium *med, Int_t inum, TGeoMatrix *mat) |
TGeoMatrix * | cad_matrix (double XX, double XY, double XZ, double YX, double YY, double YZ, double ZX, double ZY, double ZZ, double TX, double TY, double TZ) |
bool Cbm::GeometryUtils::add_binary | ( | const char | rootFile[], |
TGeoVolume * | top, | ||
TGeoMedium * | med, | ||
Int_t | inum, | ||
TGeoMatrix * | mat ) |
Definition at line 440 of file CbmGeometryUtils.cxx.
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 295 of file CbmGeometryUtils.cxx.
References v.
Referenced by ExpandNodes().
TGeoMatrix * Cbm::GeometryUtils::cad_matrix | ( | double | XX, |
double | XY, | ||
double | XZ, | ||
double | YX, | ||
double | YY, | ||
double | YZ, | ||
double | ZX, | ||
double | ZY, | ||
double | ZZ, | ||
double | TX, | ||
double | TY, | ||
double | TZ ) |
Definition at line 459 of file CbmGeometryUtils.cxx.
void Cbm::GeometryUtils::ExpandNodes | ( | TGeoVolume * | vol, |
FairModule * | mod ) |
Definition at line 362 of file CbmGeometryUtils.cxx.
References AssignMediumAtImport(), ExpandNodes(), and v.
Referenced by ExpandNodes(), and ImportRootGeometry().
void Cbm::GeometryUtils::ImportRootGeometry | ( | TString & | filename, |
FairModule * | mod, | ||
TGeoMatrix * | mat ) |
Definition at line 197 of file CbmGeometryUtils.cxx.
References ExpandNodes(), IsNewGeometryFile(), RemoveDuplicateMaterials(), RemoveDuplicateMedia(), and UniqueId().
Referenced by CbmBmon::ConstructGeometry(), CbmFsdMC::ConstructGeometry(), CbmPipe::ConstructGeometry(), CbmPlatform::ConstructGeometry(), CbmPsdMC::ConstructGeometry(), CbmRich::ConstructGeometry(), CbmBmon::ConstructRootGeometry(), CbmMuch::ConstructRootGeometry(), CbmStsMC::ConstructRootGeometry(), CbmTof::ConstructRootGeometry(), and CbmTrd::ConstructRootGeometry().
bool Cbm::GeometryUtils::IsNewGeometryFile | ( | TString & | filename | ) |
Definition at line 190 of file CbmGeometryUtils.cxx.
References IsNewGeometryFile().
Referenced by CbmPipe::ConstructGeometry(), CbmPlatform::ConstructGeometry(), CbmRich::ConstructGeometry(), CbmBmon::ConstructRootGeometry(), CbmMuch::ConstructRootGeometry(), CbmStsMC::ConstructRootGeometry(), CbmTof::ConstructRootGeometry(), CbmTrd::ConstructRootGeometry(), ImportRootGeometry(), and IsNewGeometryFile().
bool Cbm::GeometryUtils::IsNewGeometryFile | ( | TString & | filename, |
TString & | volumeName, | ||
TGeoMatrix ** | matrix ) |
Definition at line 238 of file CbmGeometryUtils.cxx.
void Cbm::GeometryUtils::LocalToMasterCovarianceMatrix | ( | const TGeoMatrix & | m, |
Double_t & | covXX, | ||
Double_t & | covXY, | ||
Double_t & | covYY ) |
Convert the local X/Y covariance matrix to global coordinates.
m | the transformation matrix |
covXX | covariance X,X |
covXY | covariance X,Y |
covYY | covariance Y,Y |
Definition at line 382 of file CbmGeometryUtils.cxx.
Referenced by CbmStsAlgoFindHits::CreateHit().
TGeoManager * Cbm::GeometryUtils::pop_TGeoManager | ( | const char * | name | ) |
Definition at line 411 of file CbmGeometryUtils.cxx.
void Cbm::GeometryUtils::PrintMaterials | ( | ) |
Definition at line 51 of file CbmGeometryUtils.cxx.
void Cbm::GeometryUtils::PrintMedia | ( | ) |
Definition at line 40 of file CbmGeometryUtils.cxx.
void Cbm::GeometryUtils::ReAssignMediaId | ( | ) |
Definition at line 155 of file CbmGeometryUtils.cxx.
References RemoveDuplicateMaterials(), and RemoveDuplicateMedia().
void Cbm::GeometryUtils::RemoveDuplicateMaterials | ( | ) |
Definition at line 115 of file CbmGeometryUtils.cxx.
Referenced by ImportRootGeometry(), and ReAssignMediaId().
void Cbm::GeometryUtils::RemoveDuplicateMedia | ( | ) |
Definition at line 135 of file CbmGeometryUtils.cxx.
Referenced by ImportRootGeometry(), and ReAssignMediaId().
void Cbm::GeometryUtils::UniqueId | ( | ) |
Definition at line 63 of file CbmGeometryUtils.cxx.
Referenced by ImportRootGeometry().