]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSv11GeometrySupport.h
Fast simulation tool for the ITS upgrade from S. Rossegger
[u/mrichter/AliRoot.git] / ITS / AliITSv11GeometrySupport.h
index d776625fc5ef44f60833e9e75c9618cb89d7ea82..3aace251bbcb1c50cf02e798c1672086ff4a63d8 100644 (file)
@@ -40,22 +40,24 @@ class AliITSv11GeometrySupport : public AliITSv11Geometry {
                                         TGeoManager *mgr=gGeoManager);
     virtual void ServicesCableSupportSSD(TGeoVolume *moth,
                                         TGeoManager *mgr=gGeoManager);
+    virtual void ITSTPCSupports(TGeoVolume *moth,
+                               TGeoManager *mgr=gGeoManager);
 
 
   private:
     void CreateSPDThermalShape(Double_t ina, Double_t inb, Double_t inr,
                               Double_t oua, Double_t oub, Double_t our,
                               Double_t   t, Double_t *x , Double_t *y );
-    void CreateSPDOmegaShape(Double_t *xin, Double_t *yin, Double_t  d,
+    void CreateSPDOmegaShape(const Double_t *xin, const Double_t *yin, Double_t  d,
                             Double_t   *x, Double_t *y);
     void FillSPDXtruShape(Double_t a, Double_t  b, Double_t  r,
-                         Double_t t, Double_t *x, Double_t *y);
+                         Double_t t, Double_t *x, Double_t *y) const;
     void PointFromParallelLines(Double_t x1, Double_t y1,
                                Double_t x2, Double_t y2, Double_t d,
-                               Double_t &x, Double_t &y);
+                               Double_t &x, Double_t &y) const;
 
     void ReflectPoint(Double_t x1, Double_t y1, Double_t x2, Double_t y2,
-                     Double_t x3, Double_t y3, Double_t &x, Double_t &y);
+                     Double_t x3, Double_t y3, Double_t &x, Double_t &y) const;
 
     void  TraySupportsSideA(TGeoVolume *moth, TGeoManager *mgr=gGeoManager);
     void SPDCableTraysSideA(TGeoVolume *moth, TGeoManager *mgr=gGeoManager);
@@ -65,7 +67,7 @@ class AliITSv11GeometrySupport : public AliITSv11Geometry {
     void SSDCableTraysSideA(TGeoVolume *moth, TGeoManager *mgr=gGeoManager);
     void SSDCableTraysSideC(TGeoVolume *moth, TGeoManager *mgr=gGeoManager);
 
-    TGeoVolumeAssembly* CreateSDDForwardTraySideA(TGeoManager *mgr);
+    void CreateSDDForwardTraySideA(TGeoVolumeAssembly *tray, TGeoManager *mgr);
 
     TGeoCompositeShape* CreateTrayAForwardCover(const Double_t coverLen);
     TGeoCompositeShape* CreateTrayAExternalCover(const Double_t coverLen);