Commit f817d449 authored by scott snyder's avatar scott snyder
Browse files

L1CaloFEXSim: Fix clang warning.

Redundant parentheses in comparison.
parent 09a746db
...@@ -284,7 +284,7 @@ std::map<int, jFEXForwardJetsInfo> LVL1::jFEXForwardJetsAlgo::calculateJetETs(){ ...@@ -284,7 +284,7 @@ std::map<int, jFEXForwardJetsInfo> LVL1::jFEXForwardJetsAlgo::calculateJetETs(){
for(int nphi = 0; nphi < FEXAlgoSpaceDefs::jFEX_algoSpace_height; nphi++) { for(int nphi = 0; nphi < FEXAlgoSpaceDefs::jFEX_algoSpace_height; nphi++) {
for(int neta = 0; neta < FEXAlgoSpaceDefs::jFEX_wide_algoSpace_width; neta++) { for(int neta = 0; neta < FEXAlgoSpaceDefs::jFEX_wide_algoSpace_width; neta++) {
if((m_jFEXalgoTowerID[nphi][neta] == (it->first))){continue;} if (m_jFEXalgoTowerID[nphi][neta] == it->first) {continue;}
float TT_phi = globalPhi(nphi, neta); float TT_phi = globalPhi(nphi, neta);
float TT_eta = globalEta(nphi, neta); float TT_eta = globalEta(nphi, neta);
float R = sqrt(pow((centreTT_eta - TT_eta),2) + pow((centreTT_phi - TT_phi),2)); float R = sqrt(pow((centreTT_eta - TT_eta),2) + pow((centreTT_phi - TT_phi),2));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment