13 const std::string& et_high,
14 const std::string& eta_low,
15 const std::string& eta_high,
16 const std::string& phi_low,
17 const std::string& phi_high):
18 m_et_low{std::stoul(et_low)},
19 m_eta_low{std::stoul(eta_low)},
20 m_phi_low{std::stoul(phi_low)} {
22 if(et_high ==
"inf") {
23 m_et_high = ULONG_MAX;
25 m_et_high = std::stoul(et_high);
28 if(eta_high ==
"inf") {
29 m_eta_high = ULONG_MAX;
31 m_eta_high = std::stoul(eta_high);
34 if(eta_high ==
"inf") {
35 m_phi_high = ULONG_MAX;
37 m_phi_high = std::stoul(phi_high);
50 if (eta < m_eta_low or eta >=
m_eta_high) {
return false;}
55 if (phi < m_phi_low or phi >=
m_phi_high) {
return false;}
63 auto ss = std::stringstream();