17 tg_ = std::make_shared<geo::TrackersTrackingGeometry>(geometry());
20 test_gctx_.loadTransformations(tg_->layer_surface_map_);
22 std::cout <<
"Storing corrections to default transformations" << std::endl;
25 Acts::Vector3 deltaT{0.1, 0., 0.};
32 Acts::Vector3 deltaR{0., 0., 0.01};
33 test_gctx_.addAlignCorrection(2100, deltaT, deltaR);
34 test_gctx_.addAlignCorrection(2101, deltaT, deltaR);
38 test_gctx_.addAlignCorrection(2100, -deltaT, -deltaR,
false);
42 std::cout <<
"Check propagation of alignment corrections to surfaces"
44 std::cout <<
"wrapping the ldmx test geometry context" << std::endl;
46 Acts::GeometryContext align_gctx(&test_gctx_);
48 std::cout <<
"Loading the tracking geometry" << std::endl;
50 std::cout <<
"Layers in Tracking Geometry" << std::endl;
51 for (
auto entry : tg_->layer_surface_map_) {
52 std::cout << entry.first << std::endl;
54 std::cout <<
"Dumping surfaces information" << std::endl;
56 (entry.second)->toStream(align_gctx);