]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/EMCAL/AliHLTEMCALConstants.cxx
Optimisation
[u/mrichter/AliRoot.git] / HLT / EMCAL / AliHLTEMCALConstants.cxx
1 //-*- Mode: C++ -*-
2 // $Id: AliHLTEMCALConstants.cxx $
3 //**************************************************************************
4 //* This file is property of and copyright by the ALICE HLT Project        * 
5 //* ALICE Experiment at CERN, All rights reserved.                         *
6 //*                                                                        *
7 //* Primary Authors: Svein Lindal <slindal@fys.uio.no>                     *
8 //*                  for The ALICE HLT Project.                            *
9 //*                                                                        *
10 //* Permission to use, copy, modify and distribute this software and its   *
11 //* documentation strictly for non-commercial purposes is hereby granted   *
12 //* without fee, provided that the above copyright notice appears in all   *
13 //* copies and that both the copyright notice and this permission notice   *
14 //* appear in the supporting documentation. The authors make no claims     *
15 //* about the suitability of this software for any purpose. It is          *
16 //* provided "as is" without express or implied warranty.                  *
17 //**************************************************************************
18
19 /// @file   AliHLTEMCALConstants.cxx
20 /// @author Svein Lindal
21 /// @date   2009-11-12
22 /// @brief  Class containing constants for EMCAL and EMCAL
23 ///         loaded libraries
24
25
26 //#include "AliHLTCaloConstants.h"
27 #include "AliHLTEMCALConstants.h"
28
29 ClassImp(AliHLTEMCALConstants)
30
31 AliHLTEMCALConstants::AliHLTEMCALConstants() : AliHLTCaloConstants()
32 {
33   InitConstants();
34   //Default constructor
35 }
36
37
38
39 AliHLTEMCALConstants::~AliHLTEMCALConstants()
40 {
41   //Default destructor
42 }
43
44
45 void 
46 AliHLTEMCALConstants::InitConstants() 
47 {
48   fkDETNAME = "EMCAL";
49   fkCELLSTEP = 6.0;
50   fkDDLOFFSET =  4608;
51   fkMAXCELLSTEPETA = 6.32;      // FR: max tower dimension along eta
52   fkMINCELLSTEPETA = 5.99;      // FR: min tower dimension along eta
53   fkCELLSTEPPHI = 6.04667;      // FR: tower dimension along phi
54   fkCELLHEIGHT = 27.74;         // FR: tower height
55   fkCELLANGLE = 1.50;           // FR: tower tapeiring angle (DEG)
56   fkRADLENGTH = 1.23;
57   fkCRITICENERGY = 8.0;
58   fkCJ = 0.5 ;
59
60 }
61