Make CP3 alignable and change the macro accordingly.
authorcvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 10 May 2012 13:05:18 +0000 (13:05 +0000)
committercvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 10 May 2012 13:05:18 +0000 (13:05 +0000)
GRP/MakeForwardMisAlignment.C
STRUCT/AliPIPEv3.cxx

index a3a8777..1d39050 100644 (file)
@@ -38,6 +38,8 @@ void MakeForwardMisAlignment(Int_t inputRun){
 
   new((*array)[18]) AliAlignObjParams("CP1",dvoluid,inputTrans[0],inputTrans[1],0.,0.,0.,0.,kTRUE);
   array->At(18)->Print();
+  new((*array)[19]) AliAlignObjParams("CP3",dvoluid,inputTrans[0],inputTrans[1],0.,0.,0.,0.,kTRUE);
+  array->At(19)->Print();
   printf("\n\n\n");
 
   // FMD
@@ -80,9 +82,7 @@ void MakeForwardMisAlignment(Int_t inputRun){
     md->SetComment("Misalignment for FRAME and beam pipe");
     md->SetAliRootVersion(gSystem->Getenv("ARVERSION"));
     AliCDBId id("GRP/Align/Data",0,AliCDBRunRange::Infinity());
-    // The following line is commented as the pipe alignment is done
-    // in a separate macro
-    //    storage->Put(array,id,md);
+    storage->Put(array,id,md);
     AliCDBMetaData* mdFMD = new AliCDBMetaData();
     mdFMD->SetResponsible("FMD Experts");
     mdFMD->SetComment("Misalignment for FMD using ITS object");
index b9b142f..a95837b 100644 (file)
@@ -2997,8 +2997,8 @@ void AliPIPEv3::AddAlignableVolumes() const
     AliFatal(Form("Alignable entry %s not created. Volume path %s not valid",
                  symname.Data(),volpath.Data()));
 
-  TString symname2("CPSUPC");
-  TString volpath2("/ALIC_1/CP_1/Cp3_1/CpSupC_3");
+  TString symname2("CP3");
+  TString volpath2("/ALIC_1/CP_1/Cp3_1");
   if(!gGeoManager->SetAlignableEntry(symname2.Data(),volpath2.Data()))
     AliFatal(Form("Alignable entry %s not created. Volume path %s not valid",
                  symname2.Data(),volpath2.Data()));