Skip to content

Make geometry loadable from the CCDB - #7415

Merged
jgrosseo merged 2 commits into
AliceO2Group:devfrom
shahor02:pr_geomCCDB
Oct 26, 2021
Merged

Make geometry loadable from the CCDB#7415
jgrosseo merged 2 commits into
AliceO2Group:devfrom
shahor02:pr_geomCCDB

Conversation

@shahor02

Copy link
Copy Markdown
Collaborator

@jgrosseo@victor-gonzalez I've uploaded the geometry both to http://alice-ccdb.cern.ch and http://ccdb-test.cern.ch:8080,
can be loaded via

auto& ccdbmgr = o2::ccdb::BasicCCDBManager::instance();
auto* gm = ccdbmgr.get<TGeoManager>("GLO/Config/Geometry");

No need to call o2::base::GeometryManager::loadGeometry().
For the record: to apply misalignment to loaded geometry on can call o2::base::GeometryManager::applyMisalignent().

Note that the name of the geometry object in the o2sim_geometry.root was changed to ccdb_object, as the CcdbAPI is requiring. The code reading o2sim_geometry.root was made backward compatible (checks for ccdb_object, falls back to FAIRGeom)

@jgrosseo
jgrosseo merged commit ccf0ec1 into AliceO2Group:devOct 26, 2021
ezradlesser pushed a commit to ezradlesser/AliceO2 that referenced this pull request Dec 2, 2021
* TObject cloning by CcdbApi is left for TTree only (to be dropped also)
* Make geometry loadable from the CCDB
Co-authored-by: shahoian <ruben.shahoyan@cern.ch>
@shahor02
shahor02 deleted the pr_geomCCDB branch March 4, 2022 11:59
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@shahor02@jgrosseo