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