]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - FMD/scripts/ApplyAlignment.C
Fixes to DAs
[u/mrichter/AliRoot.git] / FMD / scripts / ApplyAlignment.C
index 9b7212690dd24b9a875fb007b39fcca40f916ca1..98969dce381efd8a5649c8a7942bbac66c4001b4 100644 (file)
@@ -5,6 +5,9 @@
 // Read in the geometry, and get alignment data from CDB, and  apply
 // that to the geometry. 
 //
+/** Apply alignment to a geometry 
+    @ingroup simple_script
+ */
 void
 ApplyAlignment()
 {
@@ -23,7 +26,7 @@ ApplyAlignment()
     else {
       Int_t nAlign = array->GetEntries();
       for (Int_t i = 0; i < nAlign; i++) {
-       AliAlignObjAngles* a = static_cast<AliAlignObjAngles*>(array->At(i));
+       AliAlignObjParams* a = static_cast<AliAlignObjParams*>(array->At(i));
        if (!a->ApplyToGeometry()) {
          Warning("ApplyAlignement", "Failed to apply alignment to %s", 
                  a->GetVolPath());