+ newTransform->WriteMisAlignmentData("misalign.root");
+
+ // Apply misAlignment via AliRoot framework
+ TGeoManager::Import("geometry.root");
+ AliRun::ApplyDisplacements(
+ const_cast<TClonesArray*>(newTransform->GetMisAlignmentData()));
+ // Save new geometry file
+ gGeoManager->Export("geometry2.root");
+
+ // Extract new transformations
+ AliMUONGeometryTransformer* transform3 = new AliMUONGeometryTransformer(true);
+ transform3->ReadGeometryData("volpath.dat", "geometry2.root");
+ transform3->WriteTransformations("transform3.dat");
+ // Check that transform3.dat is equal to transform2.dat