Closed fkrinner closed 8 years ago
--enable-parallel
optiongenPseudoDataImportanceSampling.py
cannot be used to create events at a fixed mass -B 0
generatePhaseSpace
some options are missing: --beamfile <file>
, --noRandomBeam
, --randomBlockBeam
(to be fair those are also missing in genPseudoData.py
)^2
) missing for the axis labels of some of the BAT plotsFurther issues:
clang
the changes no longer compile due to the unused variable nChainsDefault
.rpwa::importanceSampler::SetNChains(unsigned)
method? Boost.Python is able to export inherited methods.utilities/physUtils.hpp
?phaseSpaceOnly
/phaseSpeaceOnly
in the Python script.generator.overrideBeamFile
needs to be called before generator.readReactionFile
.lag
, as it then sets the number of iterations to zero, which is not caught by BAT.A more general issue:
rootPwaConfig
?I started working on this again, so far the status from commit 0f100e2fe85709dd07f2e4429b73503d587224ad has been rebased onto the current master and coding-style issues have been fixed. The current progress can be tracked in my importanceSampling
branch.
The issues encountered so far are:
OMP_NUM_THREADS=1
is set as an environment variable (note that this is probably not a problem of the changes themselves, but improper usage of the amplitude calculation)modelIntensity
class contains the fourth (or so) attempt to sum up amplitudes correctly (pwaLikelihood
, fitResult
, weightEvents
are those that come to my mind immediately). While there is a clear distinction to what is done in pwaLikelihood
, one should be able to implement a (rather slim) method covering all the other use cases (probably in fitResult
). (also at the moment it is only working for rank-1.)I will try to work on those issues in the next days.
genPseudoData.py
the mass distribution within the given mass range is not flat, but follows phase space.