Skip to content
Snippets Groups Projects
Commit 9486206e authored by Jannik Geisen's avatar Jannik Geisen
Browse files

add comment to explain hardcoded float limit in python

parent 6c9dd20c
No related branches found
No related tags found
6 merge requests!58791DataQualityConfigurations: Modify L1Calo config for web display,!46784MuonCondInterface: Enable thread-safety checking.,!46776Updated LArMonitoring config file for WD to match new files produced using MT,!45405updated ART test cron job,!42417Draft: DIRE and VINCIA Base Fragments for Pythia 8.3,!39284Multiple Selections in Run3 Offline JetMon
......@@ -125,7 +125,7 @@ def interpretSelStr(selStr):
print("JetMonitoring ERROR can not interpret '>', please use only '<' ")
parts = selStr.split('<')
cmin, cmax = -3.4e38, 3.4e38
cmin, cmax = -3.4e38, 3.4e38 #we declare std::vector<float> for both on the c++ side, but will not necessarily pass actual values for them, so we use min/max float values in python as default (hardcoded numbers, because not easily accessible)
var = selStr
if len(parts)==2:
ismin = False
......
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