ATLAS Offline Software
Simulation
ISF
ISF_FastCaloSim
ISF_FastCaloSimEvent
src
TFCSExtrapolationState.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
#include "
ISF_FastCaloSimEvent/TFCSExtrapolationState.h
"
6
#include <iostream>
7
8
//=============================================
9
//======= TFCSExtrapolationState =========
10
//=============================================
11
12
TFCSExtrapolationState::TFCSExtrapolationState
() {
clear
(); }
13
14
void
TFCSExtrapolationState::Print
(Option_t *)
const
{
15
ATH_MSG_INFO
(
"IDCalo: eta="
16
<<
m_IDCaloBoundary_eta
<<
" phi="
<<
m_IDCaloBoundary_phi
17
<<
" r="
<<
m_IDCaloBoundary_r
<<
" z="
<<
m_IDCaloBoundary_z
);
18
for
(
int
i
= 0;
i
<
CaloCell_ID_FCS::MaxSample
; ++
i
) {
19
if
(
m_CaloOK
[
i
][
SUBPOS_MID
]) {
20
ATH_MSG_INFO
(
" layer "
<<
i
<<
" MID eta="
<<
m_etaCalo
[
i
][
SUBPOS_MID
]
21
<<
" phi="
<<
m_phiCalo
[
i
][
SUBPOS_MID
]
22
<<
" r="
<<
m_rCalo
[
i
][
SUBPOS_MID
]
23
<<
" z="
<<
m_zCalo
[
i
][
SUBPOS_MID
]);
24
}
25
}
26
}
27
28
void
TFCSExtrapolationState::clear
() {
29
for
(
int
i
= 0;
i
<
CaloCell_ID_FCS::MaxSample
; ++
i
) {
30
for
(
int
j = 0; j < 3; ++j) {
31
m_CaloOK
[
i
][j] =
false
;
32
m_etaCalo
[
i
][j] = -999;
33
m_phiCalo
[
i
][j] = -999;
34
m_rCalo
[
i
][j] = 0;
35
m_zCalo
[
i
][j] = 0;
36
m_dCalo
[
i
][j] = 0;
37
m_distetaCaloBorder
[
i
][j] = 0;
38
}
39
}
40
41
m_IDCaloBoundary_eta
= -999;
42
m_IDCaloBoundary_phi
= -999;
43
m_IDCaloBoundary_r
= 0;
44
m_IDCaloBoundary_z
= 0;
45
46
m_IDCaloBoundary_AngleEta
= -999;
47
m_IDCaloBoundary_Angle3D
= -999;
48
}
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition:
AthMsgStreamMacros.h:31
TFCSExtrapolationState::clear
void clear()
Definition:
TFCSExtrapolationState.cxx:28
TFCSExtrapolationState::m_phiCalo
double m_phiCalo[CaloCell_ID_FCS::MaxSample][3]
Definition:
TFCSExtrapolationState.h:83
TFCSExtrapolationState::SUBPOS_MID
@ SUBPOS_MID
Definition:
TFCSExtrapolationState.h:20
TFCSExtrapolationState::m_IDCaloBoundary_r
double m_IDCaloBoundary_r
Definition:
TFCSExtrapolationState.h:91
TFCSExtrapolationState::m_CaloOK
bool m_CaloOK[CaloCell_ID_FCS::MaxSample][3]
Definition:
TFCSExtrapolationState.h:81
CaloCell_ID_FCS::MaxSample
@ MaxSample
Definition:
FastCaloSim_CaloCell_ID.h:47
lumiFormat.i
int i
Definition:
lumiFormat.py:85
TFCSExtrapolationState::m_distetaCaloBorder
double m_distetaCaloBorder[CaloCell_ID_FCS::MaxSample][3]
Definition:
TFCSExtrapolationState.h:87
TFCSExtrapolationState::m_IDCaloBoundary_AngleEta
double m_IDCaloBoundary_AngleEta
Definition:
TFCSExtrapolationState.h:94
TFCSExtrapolationState::Print
void Print(Option_t *option="") const
Definition:
TFCSExtrapolationState.cxx:14
TFCSExtrapolationState::m_IDCaloBoundary_Angle3D
double m_IDCaloBoundary_Angle3D
Definition:
TFCSExtrapolationState.h:95
TFCSExtrapolationState::m_IDCaloBoundary_z
double m_IDCaloBoundary_z
Definition:
TFCSExtrapolationState.h:92
TFCSExtrapolationState.h
TFCSExtrapolationState::m_rCalo
double m_rCalo[CaloCell_ID_FCS::MaxSample][3]
Definition:
TFCSExtrapolationState.h:84
TFCSExtrapolationState::m_IDCaloBoundary_phi
double m_IDCaloBoundary_phi
Definition:
TFCSExtrapolationState.h:90
TFCSExtrapolationState::TFCSExtrapolationState
TFCSExtrapolationState()
Definition:
TFCSExtrapolationState.cxx:12
TFCSExtrapolationState::m_IDCaloBoundary_eta
double m_IDCaloBoundary_eta
Definition:
TFCSExtrapolationState.h:89
TFCSExtrapolationState::m_zCalo
double m_zCalo[CaloCell_ID_FCS::MaxSample][3]
Definition:
TFCSExtrapolationState.h:85
TFCSExtrapolationState::m_dCalo
double m_dCalo[CaloCell_ID_FCS::MaxSample][3]
Definition:
TFCSExtrapolationState.h:86
TFCSExtrapolationState::m_etaCalo
double m_etaCalo[CaloCell_ID_FCS::MaxSample][3]
Definition:
TFCSExtrapolationState.h:82
Generated on Thu Nov 7 2024 21:27:32 for ATLAS Offline Software by
1.8.18