From 756605e6221d5b11ebe1f72c0560b4808d1526b6 Mon Sep 17 00:00:00 2001 From: Jürgen Knödlseder Date: Thu, 30 Oct 2014 17:34:41 +0100 Subject: [PATCH] Add MAGIC to the list of possible instruments (i.e. now all that are globals in GCTAObservation) --- src/ctbkgcube/ctbkgcube.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/ctbkgcube/ctbkgcube.cpp b/src/ctbkgcube/ctbkgcube.cpp index 51232b6..c7d722b 100644 --- a/src/ctbkgcube/ctbkgcube.cpp +++ b/src/ctbkgcube/ctbkgcube.cpp @@ -263,9 +263,10 @@ void ctbkgcube::run(void) // Flag removal bool remove = true; - // Do we have a CTA, HESS or VERITAS specific model? + // Do we have a CTA, HESS, MAGIC or VERITAS specific model? if (m_bkgmdl[i]->is_valid("CTA", "") || m_bkgmdl[i]->is_valid("HESS", "") || + m_bkgmdl[i]->is_valid("MAGIC", "") || m_bkgmdl[i]->is_valid("VERITAS", "")) { // Do we have a background model? @@ -275,7 +276,7 @@ void ctbkgcube::run(void) remove = false; } // endif: had a background model - } // endif: had a CTA, HESS or VERITAS model + } // endif: had a CTA, HESS, MAGIC or VERITAS model // Log results if (logTerse()) { -- libgit2 0.21.4