]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSv11Hybrid.cxx
bug fixes for SPD1 and SDD1 (A. Dainese)
[u/mrichter/AliRoot.git] / ITS / AliITSv11Hybrid.cxx
index 848599bbb52f9c1977f2b48ce57dc72b83fd5cf1..3a257b647542c5e7ac58ea15e438d3f2feb26f8f 100644 (file)
@@ -33,6 +33,9 @@
 
 
 // $Log$
+// Revision 1.12  2007/12/17 14:48:23  masera
+// Thermal shield between SPD and SDD (M. Sitta)
+//
 // Revision 1.11  2007/11/22 08:32:48  masera
 // Second thermal shield updated in agreement with the installed one. Correction concerning the chemical composition of Rohacell (M.Sitta)
 //
@@ -439,8 +442,8 @@ void AliITSv11Hybrid::AddAlignableVolumes() const
            if(!gGeoManager->SetAlignableEntry(strEntryName4.Data(),module.Data()))
              AliFatal("Unable to set alignable entry!!");    
            
-           SetT2Lmatrix(strEntryName4.Data(), -0.0081, kTRUE, kTRUE);
-           // -0.0081 is the shift between the centers of alignable and sensitive volumes
+           SetT2Lmatrix(strEntryName4.Data(), 0.0081, kTRUE, kTRUE);
+           // 0.0081 is the shift between the centers of alignable and sensitive volumes
            // It is directly extracted from the new SPD geometry
  
          }
@@ -657,7 +660,11 @@ void AliITSv11Hybrid::AddAlignableVolumes() const
        if(!gGeoManager->SetAlignableEntry(strEntryName2.Data(),wafer.Data()))
          AliFatal("Unable to set alignable entry!!");
 
+       if(c1 != 2) { 
        SetT2Lmatrix(strEntryName2.Data(), 0, kFALSE, c2>=3);
+                 } else {// for ladder 2, mounted with a pi rot around y
+         SetT2Lmatrix(strEntryName2.Data(), 0, kFALSE, c2<3);
+         }
       }
     }
 
@@ -6354,3 +6361,4 @@ void AliITSv11Hybrid::StepManager(){
 
     return;
 }
+