We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When datacards include rateParam lines featuring RooFormulaVars such as:
rateParam
RooFormulaVar
alphaMuon2FJ_2018_SRH rateParam Muon2FJ_2018_SRH DYJ @0 alphaMuon2FJ_2018_2Lep
the ValidateDatacards.py tool seem not to able to compile the above expression and brakes:
ValidateDatacards.py
Error in <RooFormula::Compile>: Bad numerical expression : "@0"
It seems that replacing the formula with "1.0*@0" fixes the compilation.
"1.0*@0"
Edit: It seems that in general, if the RooFormula is expressed as a string, this does not cause compilation issues. So even:
alphaMuon2FJ_2018_SRH rateParam Muon2FJ_2018_SRH DYJ "@0" alphaMuon2FJ_2018_2Lep
would work.
An example of datacard to reproduce the issue is this HIG-22-005 card.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When datacards include
rateParam
lines featuringRooFormulaVar
s such as:the
ValidateDatacards.py
tool seem not to able to compile the above expression and brakes:It seems that replacing the formula with
"1.0*@0"
fixes the compilation.Edit: It seems that in general, if the RooFormula is expressed as a string, this does not cause compilation issues. So even:
would work.
An example of datacard to reproduce the issue is this HIG-22-005 card.
The text was updated successfully, but these errors were encountered: