-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Labels
questionFurther information is requestedFurther information is requested
Description
Dear devs,
we are experiencing some trouble trying to implement a TFormula in correctionlib. Our understanding is that problem is related to the parsing of the "&&" logic operator in the TFormula.
cset = _core.CorrectionSet.from_file(fname)
RuntimeError: Failed to parse Formula expression at position 28:
((min(max(x,20.),140.)>20.0&&min(max(x,20.),140.)<=30.0))*0.8434999999999999
^
syntax error, unexpected '&', expecting , .
Can you please clarify if this indeed the case? If indeed the case do you think i'd be possible to rectify this?
In the meantime, is there a way to test a-priory a given TFormula or even parse it and then pass it to correctionlib?
Perhaps an example script or documentation?
Thank you in advance.
Best regards,
Alexandros
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested