LCOV - code coverage report
Current view: top level - PHOS/PHOSUtils - AliPHOSCPVGeometry.cxx (source / functions) Hit Total Coverage
Test: coverage.info Lines: 29 29 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 : CPV (Charged particle veto, IHEP version)
      20             : // Its data members provide geometry parametrization of CPV
      21             : // which can be changed in the constructor only.
      22             : // Author: Yuri Kharlov (IHEP, Protvino)
      23             : // 15 September 2000
      24             : //
      25             : // --- ROOT system ---
      26             : 
      27             : // --- Standard library ---
      28             : 
      29             : // --- AliRoot header files ---
      30             : 
      31             : #include "AliPHOSCPVGeometry.h"
      32             : 
      33          46 : ClassImp(AliPHOSCPVGeometry)
      34             : 
      35             : //____________________________________________________________________________
      36           3 : AliPHOSCPVGeometry::AliPHOSCPVGeometry()
      37           3 :   : fNumberOfCPVLayers(1),
      38           3 :     fNumberOfCPVPadsPhi(128),
      39           3 :     fNumberOfCPVPadsZ(60),
      40           3 :     fCPVPadSizePhi(1.13),
      41           3 :     fCPVPadSizeZ(2.1093),
      42           3 :     fNumberOfCPVChipsPhi(8),
      43           3 :     fNumberOfCPVChipsZ(8),
      44           3 :     fCPVGasThickness(1.3),
      45           3 :     fCPVTextoliteThickness(0.1),
      46           3 :     fCPVCuNiFoilThickness(56e-04)
      47          15 : {
      48             : 
      49             :   // Initializes the CPV parameters
      50           3 :   fCPVFrameSize[0]       = 2.5;
      51           3 :   fCPVFrameSize[1]       = 5.1;
      52           3 :   fCPVFrameSize[2]       = 2.5;
      53           3 :   fGassiplexChipSize[0]  = 4.2;
      54           3 :   fGassiplexChipSize[1]  = 0.1;
      55           3 :   fGassiplexChipSize[2]  = 6.0;
      56           3 :   fFTPosition[0]         = 0.7;
      57           3 :   fFTPosition[1]         = 2.2;
      58           3 :   fFTPosition[2]         = 3.6;
      59           3 :   fFTPosition[3]         = 5.1;
      60             : 
      61           3 :   fCPVActiveSize[0]      = fNumberOfCPVPadsPhi * fCPVPadSizePhi;
      62           3 :   fCPVActiveSize[1]      = fNumberOfCPVPadsZ   * fCPVPadSizeZ;
      63           3 :   fCPVBoxSize[0]         = fCPVActiveSize[0] + 2 * fCPVFrameSize[0];
      64           3 :   fCPVBoxSize[1]         = fCPVFrameSize[1] * fNumberOfCPVLayers + 0.1;
      65           3 :   fCPVBoxSize[2]         = fCPVActiveSize[1] + 2 * fCPVFrameSize[2];
      66             : 
      67           6 : }
      68             : //____________________________________________________________________________

Generated by: LCOV version 1.11