-
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 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.
-
The GModels access operator now returns a pointer instead of a reference. The code has been adapted accordingly.
-
Made code compliant to coding standards and added more text for comments. Updated also the version number to 00-06-00.
-
Filenames are now always accessed using the filename() method so that environment variables get correctly expanded. The prefix is now accessed using the string() method instead of the generic value() method, so that string checkings can be performed.
-
In case that the observation container holds more than a single observation, ctobssim now outputs an observation definition XML file in addition to the event files. The filenames of the event files will be stored in the observation definition XML file so that subsequent ctools can handle all observational data together.
-
…and GCTAModelRadialAcceptance::mc method.
-
Instead of using the m_deadc member we use now the GObservation::deadc method to access the deadtime correction factor.
-
The deadtime is controlled using the deadc parameter. An additional MC process decides whether a photon event or a background event falls within a dead period of the system or not.