Commit 756605e6221d5b11ebe1f72c0560b4808d1526b6

Authored by Jürgen Knödlseder
1 parent 276e7423

Add MAGIC to the list of possible instruments (i.e. now all that are globals in GCTAObservation)

Showing 1 changed file with 3 additions and 2 deletions
src/ctbkgcube/ctbkgcube.cpp
... ... @@ -263,9 +263,10 @@ void ctbkgcube::run(void)
263 263 // Flag removal
264 264 bool remove = true;
265 265  
266   - // Do we have a CTA, HESS or VERITAS specific model?
  266 + // Do we have a CTA, HESS, MAGIC or VERITAS specific model?
267 267 if (m_bkgmdl[i]->is_valid("CTA", "") ||
268 268 m_bkgmdl[i]->is_valid("HESS", "") ||
  269 + m_bkgmdl[i]->is_valid("MAGIC", "") ||
269 270 m_bkgmdl[i]->is_valid("VERITAS", "")) {
270 271  
271 272 // Do we have a background model?
... ... @@ -275,7 +276,7 @@ void ctbkgcube::run(void)
275 276 remove = false;
276 277  
277 278 } // endif: had a background model
278   - } // endif: had a CTA, HESS or VERITAS model
  279 + } // endif: had a CTA, HESS, MAGIC or VERITAS model
279 280  
280 281 // Log results
281 282 if (logTerse()) {
... ...