-
Notifications
You must be signed in to change notification settings - Fork 14
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
Add new massDependences and expansions #171
base: master
Are you sure you want to change the base?
Conversation
decayAmplitude/massDependence.cc
Outdated
|
||
const double M = parent->lzVec().M(); | ||
|
||
if (_mMin <= M && M < _mMax) { |
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.
&&
-> and
please (you could also change it in the binnedMassDependence
while you are at it).
Add a polynomial mass dependece with arbitrary complex coefficients Add a complex exponential mass dependence (fourier mode) Add an arbitrary mass dependence, that uses two TFormulae as real and imag part
Add a sawtooth mass dependence to allow not only zeroth but also first order extractions in freed isobar fits
Remove some 'std::' despite a 'using namespace std'.
Add the new mass dependencies to the python interface.
Could you please check suhlatwork/ROOTPWA@d9728c1? Mostly my changes are cosmetic, but:
I still see potential issues with
|
The commit you just added (5701792) is already included in master. |
Did not intend to, sorry. |
@@ -142,6 +144,7 @@ namespace rpwa { | |||
double getMassMax() const { return _mMax; } | |||
|
|||
private: | |||
|
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.
doxygen comment for class:
trivial flat mass dependence over a range
->
flat mass dependence over given mass range; zero amplitude outside (rectangle function)
if (not setting->lookupValue(expandTypeName, expandType)) { | ||
printErr << "no expand type given." << std::endl; | ||
printErr << "no expand type given." << endl; |
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.
expand -> expansion (everywhere)
if it is not fatal, it should be printWarn (everywhere)
Mass dependences:
Expansions: