Closed suhlatwork closed 8 years ago
@fkrinner: maybe you have an idea on the following points
CalculateObservables
method is called about 10 times more often than LogLikelihood
, for my pi eta eta test case with 10000 events the prior is called 21809 times, the likelihood 20352, and the calculation of observables 184000.I reimplemented the possibility to set a mass prior. This could be used to create a flat final state mass distribution.
Unfortunately it turned out that the simple way of enabling multi-rank fits was rather slow as it relies on fitResult
internals which need to parse the reflectivities from wave names for each call to the spin-density matrix elements. So for the moment again a simplified calculation only correct for rank-1 fits is added, the multi-rank stuff should be added again once the fitResult
is updated.
Rebased to current master to get rid of merge conflicts.
I hope I have answered to all the comments either by changing the code or by commenting.
Improved the description of the two genPseudoData...
scripts.
Rebased to current master to fix a merge conflict.
Another rebase to fix merge conflicts
fixed the failing test
Merged, thank you.
update of #139:
fitResult
class to get the intensity of the model, this adds supports for more than one rankimportanceSampler
class and the weight calculation inmodelIntensity
modelIntensity
class also in the standardgenPseudoData
genPseudoData
andgenPseudoDataImportanceSampler
, integrals can still be overwritten with the new-i
optionnBodyPhaseSpaceKinematics
class to calculate phase-space weights from theimportanceSampler