ATLAS Offline Software
Loading...
Searching...
No Matches
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
13class TFCSExtrapolationState : public TObject, public ISF_FCS::MLogging {
14public:
16
17 void clear();
18
19 enum SUBPOS {
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
48 void set_IDCaloBoundary_eta(double val) { m_IDCaloBoundary_eta = val; };
49 void set_IDCaloBoundary_phi(double val) { m_IDCaloBoundary_phi = val; };
50 void set_IDCaloBoundary_r(double val) { m_IDCaloBoundary_r = val; };
51 void set_IDCaloBoundary_z(double val) { m_IDCaloBoundary_z = val; };
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
71 void set_IDCaloBoundary_AngleEta(double val) {
73 };
74 void set_IDCaloBoundary_Angle3D(double val) {
76 };
77
78 void Print(Option_t *option = "") const;
79
80private:
88
93
96
97 ClassDef(TFCSExtrapolationState, 2) // TFCSExtrapolationState
98};
99
100#endif
Cut down AthMessaging.
Definition MLogging.h:176
double m_dCalo[CaloCell_ID_FCS::MaxSample][3]
double m_distetaCaloBorder[CaloCell_ID_FCS::MaxSample][3]
double m_rCalo[CaloCell_ID_FCS::MaxSample][3]
double phi(int layer, int subpos) const
void set_detaBorder(int layer, int subpos, double val)
void set_d(int layer, int subpos, double val)
double z(int layer, int subpos) const
void set_IDCaloBoundary_AngleEta(double val)
void set_IDCaloBoundary_r(double val)
double r(int layer, int subpos) const
void set_IDCaloBoundary_Angle3D(double val)
double m_phiCalo[CaloCell_ID_FCS::MaxSample][3]
void Print(Option_t *option="") const
bool OK(int layer, int subpos) const
void set_phi(int layer, int subpos, double val)
void set_OK(int layer, int subpos, bool val=true)
double d(int layer, int subpos) const
void set_z(int layer, int subpos, double val)
void set_IDCaloBoundary_z(double val)
double detaBorder(int layer, int subpos) const
double m_zCalo[CaloCell_ID_FCS::MaxSample][3]
bool m_CaloOK[CaloCell_ID_FCS::MaxSample][3]
double m_etaCalo[CaloCell_ID_FCS::MaxSample][3]
void set_IDCaloBoundary_eta(double val)
double eta(int layer, int subpos) const
void set_eta(int layer, int subpos, double val)
void set_r(int layer, int subpos, double val)
void set_IDCaloBoundary_phi(double val)