ATLAS Offline Software
Reconstruction
eflowRec
src
eflowDatabase.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
/********************************************************************
6
7
NAME: eflowDatabase.h
8
PACKAGE: offline/Reconstruction/eflowRec
9
10
AUTHORS: M.Hodgkinson
11
CREATED: 23rd Aug, 2005
12
13
********************************************************************/
14
15
//Athena Headers
16
#include "
eflowRec/eflowDatabase.h
"
17
#include "
eflowRec/eflowCaloRegions.h
"
18
19
//CLHEP Headers
20
#include "GaudiKernel/SystemOfUnits.h"
21
22
//C++ Headers
23
#include <cmath>
24
25
eflowDatabase::eflowDatabase
() :
26
m_cellEtaWidth(
eflowCalo
::nRegions),
27
m_cellPhiWidth(
eflowCalo
::nRegions)
28
{
29
30
m_etaUnit
= 0.025;
// (2nd layer EM)
31
m_phiUnit
=
M_PI
/ 128;
// ~0.025 (2nd layer EM)
32
33
m_emX0PerUnitLength
= 47.44680851/
Gaudi::Units::meter
;
// calo tdr fig.2-ii
34
m_hadX0PerUnitLength
= 44.44444444/
Gaudi::Units::meter
;
// atlas note tile-cal-no-127 (J.A. Budagov et.al.)
35
36
m_fcal0
= 27.5/(0.45*
Gaudi::Units::meter
);
37
m_fcal1
= 91.3/(0.45*
Gaudi::Units::meter
);
38
m_fcal2
= 89.2/(0.45*
Gaudi::Units::meter
);
39
40
41
m_cellEtaWidth
[
eflowCalo::EMB1
] = 1.0 / 8.0;
42
m_cellEtaWidth
[
eflowCalo::EMB2
] = 1.0;
43
m_cellEtaWidth
[
eflowCalo::EMB3
] = 2.0;
44
m_cellEtaWidth
[
eflowCalo::EME1
] = 1.0 / 8.0;
45
m_cellEtaWidth
[
eflowCalo::EME2
] = 1.0;
46
m_cellEtaWidth
[
eflowCalo::EME3
] = 2.0;
47
m_cellEtaWidth
[
eflowCalo::HEC1
] = 4.0;
48
m_cellEtaWidth
[
eflowCalo::HEC2
] = 4.0;
49
m_cellEtaWidth
[
eflowCalo::HEC3
] = 4.0;
50
m_cellEtaWidth
[
eflowCalo::HEC4
] = 4.0;
51
m_cellEtaWidth
[
eflowCalo::Tile1
] = 4.0;
52
m_cellEtaWidth
[
eflowCalo::Tile2
] = 4.0;
53
m_cellEtaWidth
[
eflowCalo::Tile3
] = 8.0;
54
m_cellEtaWidth
[
eflowCalo::FCAL0
] = 8.0;
55
m_cellEtaWidth
[
eflowCalo::FCAL1
] = 8.0;
56
m_cellEtaWidth
[
eflowCalo::FCAL2
] = 8.0;
57
58
m_cellPhiWidth
[
eflowCalo::EMB1
] = 4.0;
59
m_cellPhiWidth
[
eflowCalo::EMB2
] = 1.0;
60
m_cellPhiWidth
[
eflowCalo::EMB3
] = 1.0;
61
m_cellPhiWidth
[
eflowCalo::EME1
] = 4.0;
62
m_cellPhiWidth
[
eflowCalo::EME2
] = 1.0;
63
m_cellPhiWidth
[
eflowCalo::EME3
] = 1.0;
64
m_cellPhiWidth
[
eflowCalo::HEC1
] = 4.0;
65
m_cellPhiWidth
[
eflowCalo::HEC2
] = 4.0;
66
m_cellPhiWidth
[
eflowCalo::HEC3
] = 4.0;
67
m_cellPhiWidth
[
eflowCalo::HEC4
] = 4.0;
68
m_cellPhiWidth
[
eflowCalo::Tile1
] = 4.0;
69
m_cellPhiWidth
[
eflowCalo::Tile2
] = 4.0;
70
m_cellPhiWidth
[
eflowCalo::Tile3
] = 4.0;
71
m_cellPhiWidth
[
eflowCalo::FCAL0
] = 8.0;
72
m_cellPhiWidth
[
eflowCalo::FCAL1
] = 8.0;
73
m_cellPhiWidth
[
eflowCalo::FCAL2
] = 8.0;
74
75
76
}
eflowCaloRegions.h
eflowCalo::EME3
@ EME3
Definition:
eflowCaloRegions.h:46
eflowDatabase::m_fcal0
double m_fcal0
Definition:
eflowDatabase.h:62
eflowCalo::FCAL0
@ FCAL0
Definition:
eflowCaloRegions.h:49
eflowCalo
This defines the eflowCalo enum, which is used to label calorimeter layers in a simplified scheme whi...
Definition:
eflowCaloRegions.h:25
eflowDatabase::m_cellPhiWidth
std::vector< double > m_cellPhiWidth
Definition:
eflowDatabase.h:67
eflowCalo::EMB2
@ EMB2
Definition:
eflowCaloRegions.h:45
eflowDatabase.h
eflowDatabase::m_emX0PerUnitLength
double m_emX0PerUnitLength
Definition:
eflowDatabase.h:59
M_PI
#define M_PI
Definition:
ActiveFraction.h:11
eflowDatabase::m_cellEtaWidth
std::vector< double > m_cellEtaWidth
Definition:
eflowDatabase.h:66
eflowDatabase::m_etaUnit
double m_etaUnit
Definition:
eflowDatabase.h:56
python.SystemOfUnits.meter
int meter
Definition:
SystemOfUnits.py:61
eflowDatabase::m_phiUnit
double m_phiUnit
Definition:
eflowDatabase.h:57
eflowCalo::HEC2
@ HEC2
Definition:
eflowCaloRegions.h:47
eflowCalo::Tile1
@ Tile1
Definition:
eflowCaloRegions.h:48
eflowDatabase::eflowDatabase
eflowDatabase()
Definition:
eflowDatabase.cxx:25
eflowCalo::Tile2
@ Tile2
Definition:
eflowCaloRegions.h:48
eflowDatabase::m_fcal2
double m_fcal2
Definition:
eflowDatabase.h:64
eflowCalo::HEC4
@ HEC4
Definition:
eflowCaloRegions.h:47
eflowCalo::EME2
@ EME2
Definition:
eflowCaloRegions.h:46
eflowCalo::Tile3
@ Tile3
Definition:
eflowCaloRegions.h:48
eflowCalo::HEC1
@ HEC1
Definition:
eflowCaloRegions.h:47
eflowCalo::EMB1
@ EMB1
Definition:
eflowCaloRegions.h:45
eflowCalo::FCAL2
@ FCAL2
Definition:
eflowCaloRegions.h:49
eflowDatabase::m_hadX0PerUnitLength
double m_hadX0PerUnitLength
Definition:
eflowDatabase.h:60
eflowCalo::HEC3
@ HEC3
Definition:
eflowCaloRegions.h:47
eflowCalo::EMB3
@ EMB3
Definition:
eflowCaloRegions.h:45
eflowCalo::FCAL1
@ FCAL1
Definition:
eflowCaloRegions.h:49
eflowDatabase::m_fcal1
double m_fcal1
Definition:
eflowDatabase.h:63
eflowCalo::EME1
@ EME1
Definition:
eflowCaloRegions.h:46
Generated on Sun Dec 22 2024 21:09:43 for ATLAS Offline Software by
1.8.18