LCOV - code coverage report
Current view: top level - PHOS/PHOSUtils - AliPHOSSupportGeometry.cxx (source / functions) Hit Total Coverage
Test: coverage.info Lines: 34 34 100.0 %
Date: 2016-06-14 17:26:59 Functions: 3 3 100.0 %

          Line data    Source code
       1             : /**************************************************************************
       2             :  * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
       3             :  *                                                                        *
       4             :  * Author: The ALICE Off-line Project.                                    *
       5             :  * Contributors are mentioned in the code where appropriate.              *
       6             :  *                                                                        *
       7             :  * Permission to use, copy, modify and distribute this software and its   *
       8             :  * documentation strictly for non-commercial purposes is hereby granted   *
       9             :  * without fee, provided that the above copyright notice appears in all   *
      10             :  * copies and that both the copyright notice and this permission notice   *
      11             :  * appear in the supporting documentation. The authors make no claims     *
      12             :  * about the suitability of this software for any purpose. It is          *
      13             :  * provided "as is" without express or implied warranty.                  *
      14             :  **************************************************************************/
      15             : 
      16             : /* $Id$ */
      17             : 
      18             : //_________________________________________________________________________
      19             : // Geometry class  for PHOS : Support which holds all PHOS modules.
      20             : // Its data members provide geometry parametrization of
      21             : // the PHOS support which can be changed in the constructor only.
      22             : // Author:   Yuri Kharlov (IHEP, Protvino)
      23             : // 13 November 2000
      24             : 
      25             : // --- AliRoot header files ---
      26             : 
      27             : #include "AliPHOSSupportGeometry.h"
      28             : 
      29          46 : ClassImp(AliPHOSSupportGeometry)
      30             : 
      31             : //____________________________________________________________________________
      32           3 : AliPHOSSupportGeometry::AliPHOSSupportGeometry() :
      33           3 :   fRailLength(1200.0),
      34           3 :   fDistanceBetwRails(420.0),
      35           3 :   fRailsDistanceFromIP(590.),
      36           3 :   fCradleWallThickness(2.0)
      37          15 : {
      38             : 
      39             :   // Initializes the PHOS support parameters
      40             :   
      41             : 
      42           3 :   fRailPart1[0] =   28.0;
      43           3 :   fRailPart1[1] =    3.0;
      44           3 :   fRailPart1[2] = fRailLength;
      45             : 
      46           3 :   fRailPart2[0] =    1.5;
      47           3 :   fRailPart2[1] =   34.0;
      48           3 :   fRailPart2[2] = fRailLength;
      49             : 
      50           3 :   fRailPart3[0] =    6.0;
      51           3 :   fRailPart3[1] =    5.0;
      52           3 :   fRailPart3[2] = fRailLength;
      53             : 
      54           3 :   fRailPos[0] = 0.;
      55           3 :   fRailPos[1] = 0.;
      56           3 :   fRailPos[2] = 0.;
      57             : 
      58           3 :   fRailOuterSize[0] = fRailPart1[0];
      59           3 :   fRailOuterSize[1] = fRailPart1[1]*2 + fRailPart2[1] + fRailPart3[1];
      60           3 :   fRailOuterSize[2] = fRailLength;
      61             : 
      62           3 :   fRailRoadSize[0] = fDistanceBetwRails + fRailOuterSize[0];
      63           3 :   fRailRoadSize[1] = fRailOuterSize[1];
      64           3 :   fRailRoadSize[2] = fRailOuterSize[2];
      65             : 
      66           3 :   fCradleWall[0] =   0.;  // Inner radius, to be defined from PHOS parameters
      67           3 :   fCradleWall[1] =  65.;  // Diff. between outer and inner radii
      68           3 :   fCradleWall[2] =  18.;
      69           3 :   fCradleWall[3] = 270. - 50.;
      70           3 :   fCradleWall[4] = 270. + 50.;
      71             : 
      72           3 :   fCradleWheel[0] = 30.0;
      73           3 :   fCradleWheel[1] = 80.0;
      74           3 :   fCradleWheel[2] = 30.0;
      75           6 : }

Generated by: LCOV version 1.11