Skip to content
Snippets Groups Projects
Commit 6758c643 authored by Emilio Meschi's avatar Emilio Meschi :bicyclist_tone1:
Browse files

Revert "removed some compilation warning"

This reverts commit 8e4fc07c
parent 511955a4
No related branches found
No related tags found
No related merge requests found
......@@ -130,16 +130,16 @@ void ElasticProcessor::makeAppendToBulkRequest(std::ostringstream &particle_data
if (ipt < pt_cut) continue;
uint32_t qual = (mf >> shifts::qual) & masks::qual;
if (qual < qual_cut) continue;
float pt = float(ipt - 1) * gmt_scales::pt_scale;
float phiext = float((mf >> shifts::phiext) & masks::phiext) * gmt_scales::phi_scale;
float pt = (ipt - 1) * gmt_scales::pt_scale;
float phiext = ((mf >> shifts::phiext) & masks::phiext) * gmt_scales::phi_scale;
uint32_t ietaext = ((mf >> shifts::etaext) & masks::etaextv);
if (((mf >> shifts::etaext) & masks::etaexts) != 0) ietaext -= 512;
float etaext = float(ietaext) * gmt_scales::eta_scale;
float etaext = ietaext * gmt_scales::eta_scale;
uint32_t iso = (ms >> shifts::iso) & masks::iso;
uint32_t chrg = (ms >> shifts::chrg) & masks::chrg;
uint32_t chrgv = (ms >> shifts::chrgv) & masks::chrgv;
uint32_t index = (ms >> shifts::index) & masks::index;
float phi = float((ms >> shifts::phi) & masks::phi) * gmt_scales::phi_scale;
float phi = ((ms >> shifts::phi) & masks::phi) * gmt_scales::phi_scale;
// uint32_t ieta = (ms >> shifts::eta) & masks::etav;
// if(((mf >> shifts::eta) & masks::etas)!=0) ieta -= 512;
// float eta = ieta*gmt_scales::eta_scale;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment