Commit 5cdcc8774ece9053375c37b4482d62223ecdd6d2

Authored by Jürgen Knödlseder
1 parent f605926f

Replace CTABackground by CTACubeBackground in XML files.

Replacement follows change in GammaLib.
test/data/model_background_cube.xml
1 1 <?xml version="1.0" standalone="no"?>
2 2 <source_library title="source library">
3   - <source name="CTABackgroundModel" type="CTABackground" instrument="CTA">
  3 + <source name="CTABackgroundModel" type="CTACubeBackground" instrument="CTA">
4 4 <spectrum type="PowerLaw">
5 5 <parameter name="Prefactor" scale="1.0" value="1.0" min="1e-3" max="1e+3" free="1"/>
6 6 <parameter name="Index" scale="1.0" value="0.0" min="-5.0" max="+5.0" free="1"/>
... ...
test/data/model_background_cube_const.xml
1 1 <?xml version="1.0" standalone="no"?>
2 2 <source_library title="source library">
3   - <source name="CTABackgroundModel" type="CTABackground" instrument="CTA">
  3 + <source name="CTABackgroundModel" type="CTACubeBackground" instrument="CTA">
4 4 <spectrum type="ConstantValue">
5 5 <parameter name="Value" scale="1.0" min="0.01" max="1000.0" value="1.0" free="1"/>
6 6 </spectrum>
... ...