Geometry translation from AgSTAR to AgML/ROOT
At present, we can convert every geometry used in the y2009a geometry tag to AgML. These AgML files can be exported to a set of c++ source files. These files can be compiled and linked with a dedicated library (StarAgmlLibrary) which can create a ROOT/TGeo geometry. The translation is not yet automatic. There are several modifications which need to be made to several files. I will summarize these below. Figure 1 shows the resulting detector.

Analytical mass reported by ROOT for the original y2009a geometry:
Info in <TGeoManager::Weight>: Computing analytically weight of CALB
Info in <TGeoManager::Weight>: Computed weight: 119248.464024 [kg]
Info in <TGeoManager::Weight>: Computing analytically weight of ECAL
Info in <TGeoManager::Weight>: Computed weight: 26166.831867 [kg]
Info in <TGeoManager::Weight>: Computing analytically weight of BTOF
Info in <TGeoManager::Weight>: Computed weight: 2995.779982 [kg]
Info in <TGeoManager::Weight>: Computing analytically weight of TPCE
Info in <TGeoManager::Weight>: Computed weight: 7144.368263 [kg]
Info in <TGeoManager::Weight>: Computing analytically weight of PIPE
Info in <TGeoManager::Weight>: Computed weight: 22.124841 [kg]
Info in <TGeoManager::Weight>: Computing analytically weight of MAGP
Info in <TGeoManager::Weight>: Computed weight: 774396.399439 [kg]
Info in <TGeoManager::Weight>: Computing analytically weight of BBCM
Info in <TGeoManager::Weight>: Computed weight: 19.164608 [kg]
Info in <TGeoManager::Weight>: Computing analytically weight of FBOX
Info in <TGeoManager::Weight>: Computed weight: 148.289125 [kg]
Info in <TGeoManager::Weight>: Computing analytically weight of FTPC
Info in <TGeoManager::Weight>: Computed weight: 127.386452 [kg]
Info in <TGeoManager::Weight>: Computing analytically weight of SCON
Info in <TGeoManager::Weight>: Computed weight: 18.784701 [kg]
Analytical weight for the translated geometry:
Info in <TGeoManager::Weight>: Computing analytically weight of CALB
Info in <TGeoManager::Weight>: Computed weight: 120424.087164 [kg]
Info in <TGeoManager::Weight>: Computing analytically weight of ECAL
Info in <TGeoManager::Weight>: Computed weight: 26167.081929 [kg]
Info in <TGeoManager::Weight>: Computing analytically weight of BTOF
Info in <TGeoManager::Weight>: Computed weight: 2647.514625 [kg]
Info in <TGeoManager::Weight>: Computing analytically weight of TPCE
Info in <TGeoManager::Weight>: Computed weight: 7170.827237 [kg]
Info in <TGeoManager::Weight>: Computing analytically weight of PIPE
Info in <TGeoManager::Weight>: Computed weight: 22.124850 [kg]
Info in <TGeoManager::Weight>: Computing analytically weight of MAGP
Info in <TGeoManager::Weight>: Computed weight: 774396.434217 [kg]
Info in <TGeoManager::Weight>: Computing analytically weight of BBCM
Info in <TGeoManager::Weight>: Computed weight: 19.164610 [kg]
Info in <TGeoManager::Weight>: Computing analytically weight of FBOX
Info in <TGeoManager::Weight>: Computed weight: 148.289119 [kg]
Info in <TGeoManager::Weight>: Computing analytically weight of FTPC
Info in <TGeoManager::Weight>: Computed weight: 126.800333 [kg]
Info in <TGeoManager::Weight>: Computing analytically weight of SCON
Info in <TGeoManager::Weight>: Computed weight: 18.784701 [kg]
09/17/2010


- jwebb's blog
- Login or register to post comments