ATLAS Offline Software
Loading...
Searching...
No Matches
MuonFeatureDetails_p2.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TRIGMUONEVENTTPCNV_MUONFEATUREDETAILS_P2_H
6#define TRIGMUONEVENTTPCNV_MUONFEATUREDETAILS_P2_H
7
9#include <stdint.h>
10
11// transient side of this class is completely wrongly organized. it's all in separate vectors.
12// persistant side is now a bit more optimal (less small vectors) but not much was gained in speed as it again fills all the
13// vectors on the transient side. Hopefully in time this class will dissapear.
14
15
16struct padhit{
17 unsigned int m_pad_hit_onlineId;
18 unsigned int m_pad_hit_code;
24};
25
36
49
51{
53
54 public:
55
58
59 // private:
60
61/**********************************************
62* very important! don't change anything in this file.
63* not even comments. Variables will be stored in the order in which they are listed in comments.
64* If you want to change something make a new version of MuonFeatureDetailsContainer and corresponding MuonFeatureDetails and their converters.
65**********************************************/
66
67
68
70 int m_Address{};
71
72 // uint32_t m_te_id;
73 // uint32_t m_error;
74 //
75 // uint32_t m_lvl1_id;
76 // uint32_t m_lumi_block;
77 // uint32_t m_muondetmask;
78 // uint32_t m_RoIID;
79 // uint32_t m_RoISystem;
80 // uint32_t m_RoISubsystem;
81 // uint32_t m_RoISector;
82 // uint32_t m_RoINumber;
83 // uint32_t m_RoIThreshold;
84 //
85 // uint32_t m_rpc_pad_error;
86 // uint32_t m_tgc_rdo_error;
87
88 uint32_t m_allTheUInts[13]{};
89
90 // long m_tgc_Mid_rho_N;
91 // long m_tgc_Mid_phi_N;
92 // long m_tgc_Inn_rho_N;
93 // long m_tgc_Inn_phi_N;
94 // long m_type;
95
96 long m_allTheLongs[5]{};
97
98 // float m_RoIEta;
99 // float m_RoIPhi;
100 //
101 // float m_rpc1_x;
102 // float m_rpc1_y;
103 // float m_rpc1_z;
104 //
105 // float m_rpc2_x;
106 // float m_rpc2_y;
107 // float m_rpc2_z;
108 //
109 // float m_rpc3_x;
110 // float m_rpc3_y;
111 // float m_rpc3_z;
112 //
113 // float m_tgc_Mid1_eta;
114 // float m_tgc_Mid1_phi;
115 // float m_tgc_Mid1_r;
116 // float m_tgc_Mid1_z;
117 //
118 // float m_tgc_Mid2_eta;
119 // float m_tgc_Mid2_phi;
120 // float m_tgc_Mid2_r;
121 // float m_tgc_Mid2_z;
122 //
123 // float m_tgc_Mid_rho_chi2;
124 // float m_tgc_Mid_phi_chi2;
125 //
126 // float m_tgc_Inn_eta;
127 // float m_tgc_Inn_phi;
128 // float m_tgc_Inn_r;
129 // float m_tgc_Inn_z;
130 // float m_tgc_Inn_rho_std;
131 // float m_tgc_Inn_phi_std;
132 //
133 // float m_tgc_PT;
134 //
135 // float m_t_x_center;
136 // float m_t_y_center;
137 // float m_t_radius;
138 // float m_t_ap;
139 // float m_t_aphi;
140 // float m_t_phi;
141 // float m_extrInnerEta;
142 // float m_extrInnerPhi;
143 //
144 // float m_mdt_Inner_slope;
145 // float m_mdt_Inner_intercept;
146 // float m_mdt_Inner_Z;
147 // float m_mdt_Inner_R;
148 // float m_mdt_Inner_fit_chi;
149 // float m_mdt_Middle_slope;
150 // float m_mdt_Middle_intercept;
151 // float m_mdt_Middle_Z;
152 // float m_mdt_Middle_R;
153 // float m_mdt_Middle_fit_chi;
154 // float m_mdt_Outer_slope;
155 // float m_mdt_Outer_intercept;
156 // float m_mdt_Outer_Z;
157 // float m_mdt_Outer_R;
158 // float m_mdt_Outer_fit_chi;
159 //
160 // float m_Sagitta;
161 // float m_Radius;
162 // float m_Slope;
163 // float m_Intercept;
164 // float m_Alpha;
165 // float m_Beta;
166 // float m_DeltaR;
167 // float m_Speed_over_c;
168 // float m_Eta;
169 // float m_PhiMap;
170 // float m_Phi;
171 // float m_PhiDir;
172 // float m_Pt;
173 // float m_Charge;
174
175 float m_allTheFloats[65]{};
176
177 std::vector<uint32_t> m_extension0;
178 std::vector<uint32_t> m_extension1;
179 std::vector<uint32_t> m_extension2;
180 std::vector<uint32_t> m_extension3;
181 std::vector<uint32_t> m_extension4;
182 std::vector<uint32_t> m_extension5;
183 std::vector<uint32_t> m_extension6;
184 std::vector<uint32_t> m_extension7;
185 std::vector<uint32_t> m_extension8;
186 std::vector<uint32_t> m_extension9;
187 std::vector<uint32_t> m_lvl1_emulation;
188 std::vector<uint32_t> m_rob_id;
189 std::vector<uint32_t> m_csm_id;
190 std::vector<uint32_t> m_csm_size;
191 std::vector<uint32_t> m_csm_error;
192 std::vector<uint32_t> m_removed_rob_id;
193 std::vector<uint32_t> m_removed_csm_id;
194
195 // std::vector<uint32_t> m_pad_hit_onlineId; replaced by vector<padhit>
196 // std::vector<uint32_t> m_pad_hit_code;
197 // std::vector<float> m_pad_hit_x;
198 // std::vector<float> m_pad_hit_y;
199 // std::vector<float> m_pad_hit_z;
200 // std::vector<float> m_pad_hit_r;
201 // std::vector<float> m_pad_hit_p;
202
203 std::vector<padhit> padv;
204
205 // std::vector<uint32_t> m_tgc_Inn_rho_hit_in_seg; replaced by vector<tgchit>
206 // std::vector<float> m_tgc_Inn_rho_hit_phi;
207 // std::vector<float> m_tgc_Inn_rho_hit_r;
208 // std::vector<float> m_tgc_Inn_rho_hit_z;
209 // std::vector<float> m_tgc_Inn_rho_hit_width;
210
211 std::vector<tgchit> tgcInnVrho;
212
213 // std::vector<uint32_t> m_tgc_Inn_phi_hit_in_seg;
214 // std::vector<float> m_tgc_Inn_phi_hit_phi;
215 // std::vector<float> m_tgc_Inn_phi_hit_r;
216 // std::vector<float> m_tgc_Inn_phi_hit_z;
217 // std::vector<float> m_tgc_Inn_phi_hit_width;
218
219 std::vector<tgchit> tgcInnVphi;
220
221 // std::vector<uint32_t> m_tgc_Mid_rho_hit_in_seg;
222 // std::vector<float> m_tgc_Mid_rho_hit_phi;
223 // std::vector<float> m_tgc_Mid_rho_hit_r;
224 // std::vector<float> m_tgc_Mid_rho_hit_z;
225 // std::vector<float> m_tgc_Mid_rho_hit_width;
226
227 std::vector<tgchit> tgcMidVrho;
228
229 // std::vector<uint32_t> m_tgc_Mid_phi_hit_in_seg;
230 // std::vector<float> m_tgc_Mid_phi_hit_phi;
231 // std::vector<float> m_tgc_Mid_phi_hit_r;
232 // std::vector<float> m_tgc_Mid_phi_hit_z;
233 // std::vector<float> m_tgc_Mid_phi_hit_width;
234
235 std::vector<tgchit> tgcMidVphi;
236
237 // std::vector<uint32_t> m_mdt_onlineId; replaced by vector<mdthit>
238 // std::vector<uint32_t> m_mdt_offlineId;
239 // std::vector<float> m_mdt_tube_r;
240 // std::vector<float> m_mdt_tube_z;
241 // std::vector<float> m_mdt_tube_residual;
242 // std::vector<float> m_mdt_tube_time;
243 // std::vector<float> m_mdt_tube_space;
244 // std::vector<float> m_mdt_tube_sigma;
245
246 std::vector<mdthit> mdhv;
247
248 std::vector< std::vector<int> > m_chamber_type_1;
249 std::vector< std::vector<int> > m_chamber_type_2;
250 std::vector< std::vector<int> > m_pos;
251 std::vector< std::vector<float> > m_aw;
252 std::vector< std::vector<float> > m_bw;
253 std::vector< std::vector<float> > m_zetaMin;
254 std::vector< std::vector<float> > m_zetaMax;
255 std::vector< std::vector<float> > m_radMin;
256 std::vector< std::vector<float> > m_radMax;
257 std::vector< std::vector<float> > m_etaMin;
258 std::vector< std::vector<float> > m_etaMax;
259 std::vector< std::vector<float> > m_st_phi;
260 std::vector< std::vector<float> > m_st_roads;
261
262};
263
264#endif
265
std::vector< uint32_t > m_csm_id
std::vector< uint32_t > m_extension6
std::vector< std::vector< float > > m_aw
std::vector< uint32_t > m_extension1
std::vector< std::vector< float > > m_zetaMax
std::vector< uint32_t > m_lvl1_emulation
std::vector< tgchit > tgcInnVrho
std::vector< mdthit > mdhv
std::vector< tgchit > tgcMidVphi
std::vector< std::vector< int > > m_pos
std::vector< uint32_t > m_extension7
std::vector< padhit > padv
std::vector< std::vector< int > > m_chamber_type_2
MuonFeatureDetails::AlgoId m_id
std::vector< uint32_t > m_extension3
std::vector< std::vector< float > > m_etaMin
std::vector< tgchit > tgcMidVrho
std::vector< uint32_t > m_extension5
std::vector< uint32_t > m_csm_error
std::vector< std::vector< float > > m_radMax
std::vector< uint32_t > m_extension2
std::vector< tgchit > tgcInnVphi
std::vector< std::vector< float > > m_st_phi
std::vector< uint32_t > m_csm_size
std::vector< std::vector< float > > m_etaMax
std::vector< uint32_t > m_extension4
std::vector< std::vector< float > > m_zetaMin
std::vector< uint32_t > m_removed_csm_id
std::vector< std::vector< float > > m_st_roads
std::vector< uint32_t > m_removed_rob_id
std::vector< uint32_t > m_extension8
std::vector< std::vector< int > > m_chamber_type_1
std::vector< std::vector< float > > m_bw
std::vector< uint32_t > m_extension0
std::vector< std::vector< float > > m_radMin
std::vector< uint32_t > m_extension9
std::vector< uint32_t > m_rob_id
unsigned int m_mdt_onlineId
float m_mdt_tube_residual
unsigned int m_mdt_offlineId
unsigned int m_pad_hit_onlineId
unsigned int m_pad_hit_code
float m_tgc_phi_hit_width
unsigned int m_tgc_phi_hit_in_seg
unsigned int m_tgc_rho_hit_in_seg
float m_tgc_rho_hit_width
float m_tgc_phi_hit_phi
float m_tgc_rho_hit_phi