]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliAlignObj.cxx
changing msg to aliinfo
[u/mrichter/AliRoot.git] / STEER / AliAlignObj.cxx
index e7b2ad32fdf7b87e8fad3bb8ca8dbc69eab3b4c1..669a950f041de56782433d7d1b7e4367acc63d59 100644 (file)
@@ -36,6 +36,7 @@ ClassImp(AliAlignObj)
 
 //_____________________________________________________________________________
 AliAlignObj::AliAlignObj():
+  TObject(),
   fVolPath(),
   fVolUID(0)
 {
@@ -735,7 +736,7 @@ Bool_t AliAlignObj::SetLocalMatrix(const TGeoMatrix& m)
     pn = pne->GetPhysicalNode();
     if(pn){
       if (pn->IsAligned())
-       AliWarning(Form("Volume %s has been already misaligned!",symname));
+       AliWarning(Form("Volume %s has been misaligned already!",symname));
       gprime = *pn->GetMatrix();
     }else{
       gprime = pne->GetGlobalOrig();
@@ -846,8 +847,8 @@ Bool_t AliAlignObj::GetLocalMatrix(TGeoHMatrix& m) const
     AliError(Form("Volume name or path %s not valid!",symname));
     return kFALSE;
   }
-  if (node->IsAligned())
-    AliWarning(Form("Volume %s has been already misaligned!",symname));
+//  if (node->IsAligned())
+//    AliWarning(Form("Volume %s has been misaligned already!",symname));
 
   GetMatrix(m);
   TGeoHMatrix gprime,gprimeinv;
@@ -891,7 +892,7 @@ Bool_t AliAlignObj::ApplyToGeometry(Bool_t ovlpcheck)
       return kFALSE;
     }
     if (gGeoManager->GetListOfPhysicalNodes()->FindObject(path)) {
-      AliError(Form("Volume %s has already been misaligned!",path));
+      AliError(Form("Volume %s has been misaligned already!",path));
       return kFALSE;
     }
     node = (TGeoPhysicalNode*) gGeoManager->MakePhysicalNode(path);