Skip to content

Transition from old cvs mdm distribution to the git gLike standalone distribution

Javier Rico edited this page Dec 9, 2021 · 10 revisions

In order allow for gLike future expansion, several actions were taken when moving from the old cvs mdmd to the new git gLike standalone distribution:

  • gLike classes have been removed from the dark matter oriented mdm library and the resulting standalone gLike distribution has been moved to the gitHub repository
  • More importantly, the naming convention of the different classes have changed. The following table provides the correspondence between old and new class names
Class old name Class new name
MLkl Lkl
MJointLkl JointLkl
MFullLkl Iact1dUnbinnedLkl
MBinnedFullLkl Iact1dBinnedLkl
MBinnedFluxLkl FermiTables2016Lkl
MPoissonLkl PoissonLkl
MParabolaLkl ParabolaLkl
MIACTEventListIRF IactEventListIrf
  • These changes should be transparent to the user except for two aspects:

    • The class names are used in the rcfile for the definition of the joint likelihood, and the new naming convention should be used from now on. This means that if you used to run gLike in the old mdm times, you need to change your rcfiles according to the previous table.
    • Data+IRF input files produced in the format defined in MIACTEventListIRF will not work anymore. The new files should store data+IRF in the format defined in IactEventListIrf. In order to facilitate the conversion, the macro convertGLikeInputFiles.C is provided (v00.09 only). Run the macro from release v00.06.01 in compiled mode. For this purpose, the old class MIACTEventListIRF has also not been yet removed from gLike yet. Both convertGLikeInputFiles.C and MIACTEventListIRF were removed from the gLike distribution since v00.10
  • Remember also to define the environment variable GLIKESYS pointing to your build gLike directory, e.g., for bash:

    export GLIKESYS="/Users/rico/gLike/build"

    and include it in the library path, eg. for Mac:

    export DYLD_LIBRARY_PATH="${GLIKESYS}:${DYLD_LIBRARY_PATH}"