Line data Source code
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 6 : ClassImp(AliHLTEMCALConstants)
30 :
31 33 : AliHLTEMCALConstants::AliHLTEMCALConstants() : AliHLTCaloConstants()
32 165 : {
33 33 : InitConstants();
34 : //Default constructor
35 66 : }
36 :
37 :
38 :
39 : AliHLTEMCALConstants::~AliHLTEMCALConstants()
40 0 : {
41 : //Default destructor
42 0 : }
43 :
44 :
45 : void
46 : AliHLTEMCALConstants::InitConstants()
47 : {
48 66 : fkDETNAME = "EMCAL";
49 33 : fkCELLSTEP = 6.0;
50 33 : fkDDLOFFSET = 4608;
51 33 : fkCELLSTEPPHI = 6.04667; // FR: tower dimension along phi
52 33 : fkCELLHEIGHT = 27.74; // FR: tower height
53 33 : fkCELLANGLE = 1.50; // FR: tower tapeiring angle (DEG)
54 33 : fkRADLENGTH = 1.23;
55 33 : fkCRITICENERGY = 8.0;
56 33 : fkCJ = 0.5 ;
57 :
58 33 : }
59 :
|