]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSMisAligner.cxx
Macros dedicated to SDD QA, OCDB object plotting, noise, gain and drift speed computa...
[u/mrichter/AliRoot.git] / ITS / AliITSMisAligner.cxx
index dcae2ef95d9817193f23fe76750a8a3279615460..8da227b4100352985d0cd583a22bbdef776bf34e 100644 (file)
@@ -170,8 +170,8 @@ TClonesArray* AliITSMisAligner::MakeAlObjsArray() {
     }else{
        Printf("survey array contains %d entries", surveyArray->GetEntriesFast());
     }
-
-    AddAlignObj("ITS",fWholeITS[0],fWholeITS[1],fWholeITS[2],fWholeITS[3],fWholeITS[4],fWholeITS[5],"fixed");
+    char strtemp[5]="ITS";
+    AddAlignObj(strtemp,fWholeITS[0],fWholeITS[1],fWholeITS[2],fWholeITS[3],fWholeITS[4],fWholeITS[5],"fixed");
 
     AddSectorAlignObj(1,5,fSPDSector[0],fSPDSector[1],fSPDSector[2],fSPDSector[3],fSPDSector[4],fSPDSector[5],
            fSPDLadderShiftT[0],fSPDLadderShiftT[1],fSPDLadderShiftT[2],fSPDLadderShiftT[3],fSPDLadderShiftT[4],fSPDLadderShiftT[5],fUnifSPDSector);
@@ -640,7 +640,7 @@ Bool_t AliITSMisAligner::AddAlignObj(char* name,Double_t dx,Double_t dy,Double_t
        vtheta=dtheta;
        vphi=dphi;
     }else{
-       AliFatal(Form("Invalid string \"%s\" specifying the misalignment type for the volume \"%s\""));
+      AliFatal(Form("Invalid string \"%s\" specifying the misalignment type for the volume \"%s\"",sdistrib.Data(),name));
     }
 
     new((*fAlignObjArray)[fInd]) AliAlignObjParams(name,0,vx,vy,vz,vpsi,vtheta,vphi,kFALSE);