Skip to content
Snippets Groups Projects
Commit bf1b3b17 authored by Xiaocong Ai's avatar Xiaocong Ai Committed by FASER Reco
Browse files

printout acts tracking geometry surface info in verbose mode

parent 062d0474
No related branches found
No related tags found
No related merge requests found
...@@ -127,6 +127,14 @@ FaserActsTrackingGeometrySvc::initialize() ...@@ -127,6 +127,14 @@ FaserActsTrackingGeometrySvc::initialize()
m_trackingGeometry = trackingGeometryBuilder m_trackingGeometry = trackingGeometryBuilder
->trackingGeometry(constructionContext.context()); ->trackingGeometry(constructionContext.context());
ATH_MSG_VERBOSE("Printing info of ACTS tracking geometry surface:");
m_trackingGeometry->visitSurfaces([&](const Acts::Surface* surface) {
auto center = surface->center(constructionContext.context());
auto rotation = surface->transform(constructionContext.context()).rotation();
ATH_MSG_VERBOSE("ACTS surface " << surface->geometryId() << " has center " << center.transpose() << ", local X axis at " << rotation.col(0).transpose() <<", local Z axis at " << rotation.col(2).transpose());
}
);
ATH_MSG_VERBOSE("Building nominal alignment store"); ATH_MSG_VERBOSE("Building nominal alignment store");
FaserActsAlignmentStore* nominalAlignmentStore = new FaserActsAlignmentStore(); FaserActsAlignmentStore* nominalAlignmentStore = new FaserActsAlignmentStore();
ATH_MSG_VERBOSE("finish Building nominal alignment store"); ATH_MSG_VERBOSE("finish Building nominal alignment store");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment