-
ctobssim was not fully thread save as the models were shared among the threads which led to concurrent memory access when evaluating the Monte Carlo cache. The models are now copied within the parallel section, avoiding concurrent memory access (#1258).
-
Conflicts: ChangeLog scripts/cta_root2caldb.py src/ctlike/ctlike.par src/ctobssim/ctobssim.par
-
True photons are now drawn over a sufficiently large energy band so that when dispersed the selected energy range is correctly filled.
-
We don't want to hide these parameters but parse for the instrument.
-
A new logic has been implemented concerning the caldb parameter. If the name specified by caldb is a directory, the directory is set as the root directory of the calibration database. The file specified by irf must then be a file provided within this root directory. If the name is not a directory it is used as the mission name that is used to build the calibration directory path. The irf is then the response name.
-
The instrument and id attributes provided by an observation were not considering when simulating source and background events. This has been changed now that only events will be simulated when the instrument and id are valid for a given model.
-
Output observation definition files are XML files, hence they should have a .xml suffix to avoid confusion with FITS files.
-
The time slice duration is now adapted to the source model flux. The m_max_photons member now defines the maximum number of photons that should be simulated in one slice. This prevents core dumps due to memory allocation problems in case that large fluxes have been specified. This partially adresses feature #807.
-
The hidden logfile parameter allows specifying the name of the logfile.
-
The GCTARoi::contains() method is now used to check for ROI containment.
-
Background simulations can now be done for any model of type GModelData. This is thanks to the abstract mc() method that has been introduced in GModelData. A test case for the new GCTABackground model has been added to the unit tests.
-
…g so that also sources outside but at the edge of the ROI will be simulated.
-
Conflicts: scripts/cssens.py scripts/cstsdist.py src/ctmodel/ctmodel.cpp
-
GammaLib is undergoing a major interface change which requires adaption of the ctools code.
-
This reverts commit 74af6b7c3902e2286d5c2f57a799c5e9e704b742.
-
This reverts commit 6c5ac97cf36fc45943170964f0377a8abaae5772.
-
The model access operator of GModels now returns a reference, hence the code has been adapted to accomodate this change.
-
The seed value initialization of the random number generator was not correct, leading always to seeds of 0, irrespectively of the specified seed value. This has been fixed.
-
All times are now shown in the CTA time reference. For time slice information, the indentation was corrected.