ATLAS Offline Software
TFCSExtrapolationState.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef ISF_FASTCALOSIMEVENT_TFCSExtrapolationState_h
6 #define ISF_FASTCALOSIMEVENT_TFCSExtrapolationState_h
7 
8 #include <TObject.h>
11 
12 
13 class TFCSExtrapolationState : public TObject, public ISF_FCS::MLogging {
14 public:
16 
17  void clear();
18 
19  enum SUBPOS {
22  SUBPOS_EXT = 2
23  }; // MID=middle, ENT=entrance, EXT=exit of cal layer
24 
25  void set_OK(int layer, int subpos, bool val = true) {
26  m_CaloOK[layer][subpos] = val;
27  };
28 
29  void set_eta(int layer, int subpos, double val) {
30  m_etaCalo[layer][subpos] = val;
31  };
32  void set_phi(int layer, int subpos, double val) {
33  m_phiCalo[layer][subpos] = val;
34  };
35  void set_r(int layer, int subpos, double val) {
36  m_rCalo[layer][subpos] = val;
37  };
38  void set_z(int layer, int subpos, double val) {
39  m_zCalo[layer][subpos] = val;
40  };
41  void set_d(int layer, int subpos, double val) {
42  m_dCalo[layer][subpos] = val;
43  };
44  void set_detaBorder(int layer, int subpos, double val) {
45  m_distetaCaloBorder[layer][subpos] = val;
46  };
47 
52 
53  bool OK(int layer, int subpos) const { return m_CaloOK[layer][subpos]; };
54  double eta(int layer, int subpos) const { return m_etaCalo[layer][subpos]; };
55  double phi(int layer, int subpos) const { return m_phiCalo[layer][subpos]; };
56  double r(int layer, int subpos) const { return m_rCalo[layer][subpos]; };
57  double z(int layer, int subpos) const { return m_zCalo[layer][subpos]; };
58  double d(int layer, int subpos) const { return m_dCalo[layer][subpos]; };
59  double detaBorder(int layer, int subpos) const {
60  return m_distetaCaloBorder[layer][subpos];
61  };
62 
63  double IDCaloBoundary_eta() const { return m_IDCaloBoundary_eta; };
64  double IDCaloBoundary_phi() const { return m_IDCaloBoundary_phi; };
65  double IDCaloBoundary_r() const { return m_IDCaloBoundary_r; };
66  double IDCaloBoundary_z() const { return m_IDCaloBoundary_z; };
67 
70 
73  };
76  };
77 
78  void Print(Option_t *option = "") const;
79 
80 private:
88 
93 
96 
97  ClassDef(TFCSExtrapolationState, 2) // TFCSExtrapolationState
98 };
99 
100 #endif
TFCSExtrapolationState::IDCaloBoundary_Angle3D
double IDCaloBoundary_Angle3D() const
Definition: TFCSExtrapolationState.h:69
ISF_FCS::MLogging
Cut down AthMessaging.
Definition: MLogging.h:176
TFCSExtrapolationState::set_IDCaloBoundary_Angle3D
void set_IDCaloBoundary_Angle3D(double val)
Definition: TFCSExtrapolationState.h:74
TFCSExtrapolationState::eta
double eta(int layer, int subpos) const
Definition: TFCSExtrapolationState.h:54
TFCSExtrapolationState::z
double z(int layer, int subpos) const
Definition: TFCSExtrapolationState.h:57
TFCSExtrapolationState::set_OK
void set_OK(int layer, int subpos, bool val=true)
Definition: TFCSExtrapolationState.h:25
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_ENT
@ SUBPOS_ENT
Definition: TFCSExtrapolationState.h:21
TFCSExtrapolationState
Definition: TFCSExtrapolationState.h:13
TFCSExtrapolationState::SUBPOS_MID
@ SUBPOS_MID
Definition: TFCSExtrapolationState.h:20
TFCSExtrapolationState::m_IDCaloBoundary_r
double m_IDCaloBoundary_r
Definition: TFCSExtrapolationState.h:91
TFCSExtrapolationState::SUBPOS_EXT
@ SUBPOS_EXT
Definition: TFCSExtrapolationState.h:22
TFCSExtrapolationState::detaBorder
double detaBorder(int layer, int subpos) const
Definition: TFCSExtrapolationState.h:59
TFCSExtrapolationState::m_CaloOK
bool m_CaloOK[CaloCell_ID_FCS::MaxSample][3]
Definition: TFCSExtrapolationState.h:81
TFCSExtrapolationState::set_IDCaloBoundary_r
void set_IDCaloBoundary_r(double val)
Definition: TFCSExtrapolationState.h:50
CaloCell_ID_FCS::MaxSample
@ MaxSample
Definition: FastCaloSim_CaloCell_ID.h:47
TFCSExtrapolationState::set_IDCaloBoundary_eta
void set_IDCaloBoundary_eta(double val)
Definition: TFCSExtrapolationState.h:48
TFCSExtrapolationState::set_r
void set_r(int layer, int subpos, double val)
Definition: TFCSExtrapolationState.h:35
TRT::Hit::layer
@ layer
Definition: HitInfo.h:79
TFCSExtrapolationState::IDCaloBoundary_AngleEta
double IDCaloBoundary_AngleEta() const
Definition: TFCSExtrapolationState.h:68
TFCSExtrapolationState::set_IDCaloBoundary_AngleEta
void set_IDCaloBoundary_AngleEta(double val)
Definition: TFCSExtrapolationState.h:71
TFCSExtrapolationState::phi
double phi(int layer, int subpos) const
Definition: TFCSExtrapolationState.h:55
TFCSExtrapolationState::IDCaloBoundary_eta
double IDCaloBoundary_eta() const
Definition: TFCSExtrapolationState.h:63
TFCSExtrapolationState::m_distetaCaloBorder
double m_distetaCaloBorder[CaloCell_ID_FCS::MaxSample][3]
Definition: TFCSExtrapolationState.h:87
TFCSExtrapolationState::set_phi
void set_phi(int layer, int subpos, double val)
Definition: TFCSExtrapolationState.h:32
TFCSExtrapolationState::IDCaloBoundary_z
double IDCaloBoundary_z() const
Definition: TFCSExtrapolationState.h:66
TFCSExtrapolationState::r
double r(int layer, int subpos) const
Definition: TFCSExtrapolationState.h:56
TFCSExtrapolationState::IDCaloBoundary_r
double IDCaloBoundary_r() const
Definition: TFCSExtrapolationState.h:65
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::IDCaloBoundary_phi
double IDCaloBoundary_phi() const
Definition: TFCSExtrapolationState.h:64
TFCSExtrapolationState::m_IDCaloBoundary_Angle3D
double m_IDCaloBoundary_Angle3D
Definition: TFCSExtrapolationState.h:95
TFCSExtrapolationState::OK
bool OK(int layer, int subpos) const
Definition: TFCSExtrapolationState.h:53
TFCSExtrapolationState::m_IDCaloBoundary_z
double m_IDCaloBoundary_z
Definition: TFCSExtrapolationState.h:92
TFCSExtrapolationState::set_eta
void set_eta(int layer, int subpos, double val)
Definition: TFCSExtrapolationState.h:29
TFCSExtrapolationState::SUBPOS
SUBPOS
Definition: TFCSExtrapolationState.h:19
TFCSExtrapolationState::set_z
void set_z(int layer, int subpos, double val)
Definition: TFCSExtrapolationState.h:38
Pythia8_RapidityOrderMPI.val
val
Definition: Pythia8_RapidityOrderMPI.py:14
TFCSExtrapolationState::d
double d(int layer, int subpos) const
Definition: TFCSExtrapolationState.h:58
TFCSExtrapolationState::set_IDCaloBoundary_z
void set_IDCaloBoundary_z(double val)
Definition: TFCSExtrapolationState.h:51
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
FastCaloSim_CaloCell_ID.h
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::set_detaBorder
void set_detaBorder(int layer, int subpos, double val)
Definition: TFCSExtrapolationState.h:44
MLogging.h
TFCSExtrapolationState::set_d
void set_d(int layer, int subpos, double val)
Definition: TFCSExtrapolationState.h:41
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
TFCSExtrapolationState::set_IDCaloBoundary_phi
void set_IDCaloBoundary_phi(double val)
Definition: TFCSExtrapolationState.h:49