diff --git a/ChangeLog b/ChangeLog index d419591..061ec5d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,8 +1,9 @@ -2017-07-07 +2017-07-11 * Bug fix version 1.3.1 released ================================ + ctbkgcube creates XML files compliant with non-CTA instruments (#2140) Reduce computation time of ctmodel and parallelize using OpenMP (#2147) Fix csresmap significance computation error (#2136) Use MigMatrixNoTheta2cut_offaxis and AngularPSF2DEtrue_offaxis histograms to diff --git a/NEWS b/NEWS index 3aa40b1..1747d08 100644 --- a/NEWS +++ b/NEWS @@ -1,6 +1,6 @@ New Features and Important Changes in ctools 1.3.1 -7 July 2017 +11 July 2017 Introduction @@ -79,7 +79,13 @@ None ctbkgcube - CTA background cube generation ------------------------------------------ -None +The XML file created echoed the instruments that were found in the +input XML file but this created some problems when using ctmodel on +data created with ctobssim which always generates CTA data. A clean +fix of the problem requires a proper handling of the TELESCOP keywords +in all classes that read event and IRF information. For the moment a +quick fix is to add all possible VHE instruments as attribute to the +XML file (#2140). ctmapcube - CTA map cube generation diff --git a/src/ctbkgcube/ctbkgcube.cpp b/src/ctbkgcube/ctbkgcube.cpp index 9e02ddd..7bb7ea5 100644 --- a/src/ctbkgcube/ctbkgcube.cpp +++ b/src/ctbkgcube/ctbkgcube.cpp @@ -315,7 +315,8 @@ void ctbkgcube::run(void) model.name("BackgroundModel"); // Set model instruments - model.instruments(instruments); + //model.instruments(instruments); + model.instruments("CTA,HESS,MAGIC,VERITAS"); // Temporary fix for #2140 // Append model to output container m_outmdl.append(model);