28 m_tower_id(id_modifier + iphi + (nphi * ieta)),
84 if (SCpass){
m_et = outET; }
181 return getFWID(iPhiFW, iEtaFW);
208 bool is_central =
true;
209 if (iEta <= 7 || iEta >= 32) is_central =
false;
217 gFEXtowerID = (
iEta - 8) + (
iPhi * 12);
221 gFEXtowerID = 10000 + (
iEta - 20) + (
iPhi * 12);
232 gFEXtowerID = gFEXtowerID + (
iPhi*24);
236 else if (
iEta == 1 ){
237 gFEXtowerID = gFEXtowerID + ((
iPhi*24) + 12);
241 else if (
iEta == 2 ){
242 gFEXtowerID = gFEXtowerID + ((
iPhi*24) + 1);
246 else if (
iEta == 3 ){
247 gFEXtowerID = gFEXtowerID + ((
iPhi*24) + 13);
251 else if (
iEta >= 4 and
iEta <= 7 ){
252 gFEXtowerID = gFEXtowerID + ((
iPhi*12) + (
iEta -2));
260 gFEXtowerID = gFEXtowerID + (
iPhi*12) + (
iEta -32 +6);
262 else if (
iEta == 36 ){
263 gFEXtowerID = gFEXtowerID + ((
iPhi*24) + 22);
267 else if (
iEta == 37 ){
268 gFEXtowerID = gFEXtowerID + ((
iPhi*24) + 10);
272 else if (
iEta == 38 ){
273 gFEXtowerID = gFEXtowerID + ((
iPhi*24) + 23);
277 else if (
iEta == 39 ){
278 gFEXtowerID = gFEXtowerID + ((
iPhi*24) + 11);
292 float s_centralPhiWidth = (2*
M_PI)/32;
293 float s_forwardPhiWidth = (2*
M_PI)/16;
295 constexpr std::array<float, 40> s_EtaCenter = { -4.5, -3.8, -3.38, -3.18, -3.15, -3,
296 -2.8, -2.6, -2.35, -2.1, -1.9, -1.7, -1.5, -1.3, -1.1, -0.9,
297 -0.7, -0.5, -0.3, -0.1, 0.1, 0.3, 0.5, 0.7, 0.9, 1.1,
298 1.3, 1.5, 1.7, 1.9, 2.1, 2.35, 2.6, 2.8, 3.0,
299 3.15, 3.18, 3.38, 3.8, 4.5};
303 float Phi_gFex = -99;
304 if ((
iEta <= 3 ) || ( (
iEta >= 36) )){
305 Phi_gFex = ( (
iPhi * s_forwardPhiWidth) + s_forwardPhiWidth/2);
308 Phi_gFex = ( (
iPhi * s_centralPhiWidth) + s_centralPhiWidth/2);
311 if (Phi_gFex <
M_PI) {