-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
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
Adding IAXO sensitivity examples and updating sensitivity classes when necessary #521
Conversation
… contain Component in the name
…might be generated with average number opf counts
for more information, see https://pre-commit.ci
@@ -231,6 +237,9 @@ void TRestComponentFormula::InitFromConfigFile() { | |||
|
|||
if (!fFormulas.empty()) return; | |||
|
|||
/// For some reason I need to do this manually. Dont understand why! | |||
fFormulaUnits = GetParameter("formulaUnits"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nkx111 may be you know why I needed to use this? This line seemed to solve my problems with formulaUnits
initialization from config file. However, it seems to be working properly (I don't need to implement that line) for all members inside TRestAxionHelioscopeSignal
that also inherits from TRestComponent
.
Some fixes I had to add in order to properly calculate the axion helioscope sensitivity in the axionlib PR.
Some new features:
TRestComponent
may initialize parameterization nodes using initial/final values and a step. Linear o logarithmic scales are allowed.TRestExperiment::GenerateMockDataSet
might receive a boolean, when it is true, the number of counts of the mock dataset will be generated with the exact average from background, instead of performing a Poissonian MC-distribution.fUseAverage
member toTRestExperimentList
andTRestExperiment
so that we can enable/disable this feature.This PR is related to PR rest-for-physics/axionlib#93