Commit a4fbcc45e7ae4107effbcc263c8095ead2192648
1 parent
2e981729
Remove dummy background rate file and use now internal IRF background model.
Showing
6 changed files
with
28 additions
and
52 deletions
models/Makefile.am
| 1 | ## Process this file with automake to produce Makefile.in | 1 | ## Process this file with automake to produce Makefile.in |
| 2 | 2 | ||
| 3 | # Background rate files to distribute | 3 | # Background rate files to distribute |
| 4 | -bkgs = bkg_dummy.txt | ||
| 5 | -bkgsdir = $(datadir)/models | ||
| 6 | -bkgs_DATA = $(bkgs) | 4 | +#bkgs = bkg_dummy.txt |
| 5 | +#bkgsdir = $(datadir)/models | ||
| 6 | +#bkgs_DATA = $(bkgs) | ||
| 7 | 7 | ||
| 8 | # Models to distribute | 8 | # Models to distribute |
| 9 | models = crab.xml \ | 9 | models = crab.xml \ |
| @@ -16,4 +16,4 @@ modelsdir = $(datadir)/models | @@ -16,4 +16,4 @@ modelsdir = $(datadir)/models | ||
| 16 | models_DATA = $(models) | 16 | models_DATA = $(models) |
| 17 | 17 | ||
| 18 | # Extra files to be distributed in the tar file | 18 | # Extra files to be distributed in the tar file |
| 19 | -EXTRA_DIST = $(bkgs) $(models) | 19 | +EXTRA_DIST = $(models) |
models/bkg_dummy.txt deleted
| 1 | -19952.6231497 0.00888770093889 | ||
| 2 | -31622.7766017 0.0528862764556 | ||
| 3 | -50118.7233627 0.0584088588708 | ||
| 4 | -79432.8234724 0.0245627698931 | ||
| 5 | -125892.541179 0.00930817022553 | ||
| 6 | -199526.231497 0.00117990856387 | ||
| 7 | -316227.766017 0.000458229904465 | ||
| 8 | -501187.233627 0.000135628482432 | ||
| 9 | -794328.234724 8.99472876298e-05 | ||
| 10 | -1258925.41179 1.46319988679e-05 | ||
| 11 | -1995262.31497 2.23452132224e-05 | ||
| 12 | -3162277.66017 4.28526605833e-06 | ||
| 13 | -5011872.33627 3.02154407423e-06 | ||
| 14 | -7943282.34724 8.46588074886e-07 | ||
| 15 | -12589254.1179 1.05217831413e-06 | ||
| 16 | -19952623.1497 4.95410035794e-07 | ||
| 17 | -31622776.6017 3.77171043065e-07 | ||
| 18 | -50118723.3627 4.05250267135e-07 | ||
| 19 | -79432823.4724 1.31996926243e-07 | ||
| 20 | -125892541.179 3.23120422483e-08 |
models/crab.xml
| @@ -11,12 +11,11 @@ | @@ -11,12 +11,11 @@ | ||
| 11 | <parameter name="DEC" scale="1.0" value="22.0145" min="-90" max="90" free="0"/> | 11 | <parameter name="DEC" scale="1.0" value="22.0145" min="-90" max="90" free="0"/> |
| 12 | </spatialModel> | 12 | </spatialModel> |
| 13 | </source> | 13 | </source> |
| 14 | - <source name="Background" type="RadialAcceptance" instrument="CTA"> | ||
| 15 | - <spectrum type="FileFunction" file="$CTOOLS/share/models/bkg_dummy.txt"> | ||
| 16 | - <parameter scale="1.0" name="Normalization" min="0.0" max="1000.0" value="1.0" free="1"/> | 14 | + <source name="CTABackgroundModel" type="CTAIrfBackground" instrument="CTA"> |
| 15 | + <spectrum type="PowerLaw"> | ||
| 16 | + <parameter name="Prefactor" scale="1.0" value="1.0" min="1e-3" max="1e+3" free="1"/> | ||
| 17 | + <parameter name="Index" scale="1.0" value="0.0" min="-5.0" max="+5.0" free="1"/> | ||
| 18 | + <parameter name="Scale" scale="1e6" value="1.0" min="0.01" max="1000.0" free="0"/> | ||
| 17 | </spectrum> | 19 | </spectrum> |
| 18 | - <radialModel type="Gaussian"> | ||
| 19 | - <parameter name="Sigma" scale="1.0" value="3.0" min="0.01" max="10.0" free="1"/> | ||
| 20 | - </radialModel> | ||
| 21 | - </source> | 20 | + </source> |
| 22 | </source_library> | 21 | </source_library> |
models/disk.xml
| @@ -12,12 +12,11 @@ | @@ -12,12 +12,11 @@ | ||
| 12 | <parameter name="Radius" scale="1.0" value="0.45" min="0.01" max="10" free="1"/> | 12 | <parameter name="Radius" scale="1.0" value="0.45" min="0.01" max="10" free="1"/> |
| 13 | </spatialModel> | 13 | </spatialModel> |
| 14 | </source> | 14 | </source> |
| 15 | - <source name="Background" type="RadialAcceptance" instrument="CTA"> | ||
| 16 | - <spectrum type="FileFunction" file="$CTOOLS/share/models/bkg_dummy.txt"> | ||
| 17 | - <parameter scale="1.0" name="Normalization" min="0.0" max="1000.0" value="1.0" free="1"/> | 15 | + <source name="CTABackgroundModel" type="CTAIrfBackground" instrument="CTA"> |
| 16 | + <spectrum type="PowerLaw"> | ||
| 17 | + <parameter name="Prefactor" scale="1.0" value="1.0" min="1e-3" max="1e+3" free="1"/> | ||
| 18 | + <parameter name="Index" scale="1.0" value="0.0" min="-5.0" max="+5.0" free="1"/> | ||
| 19 | + <parameter name="Scale" scale="1e6" value="1.0" min="0.01" max="1000.0" free="0"/> | ||
| 18 | </spectrum> | 20 | </spectrum> |
| 19 | - <radialModel type="Gaussian"> | ||
| 20 | - <parameter name="Sigma" scale="1.0" value="3.0" min="0.01" max="10.0" free="1"/> | ||
| 21 | - </radialModel> | ||
| 22 | - </source> | 21 | + </source> |
| 23 | </source_library> | 22 | </source_library> |
models/gauss.xml
| @@ -12,12 +12,11 @@ | @@ -12,12 +12,11 @@ | ||
| 12 | <parameter name="Sigma" scale="1.0" value="0.20" min="0.01" max="10" free="1"/> | 12 | <parameter name="Sigma" scale="1.0" value="0.20" min="0.01" max="10" free="1"/> |
| 13 | </spatialModel> | 13 | </spatialModel> |
| 14 | </source> | 14 | </source> |
| 15 | - <source name="Background" type="RadialAcceptance" instrument="CTA"> | ||
| 16 | - <spectrum type="FileFunction" file="$CTOOLS/share/models/bkg_dummy.txt"> | ||
| 17 | - <parameter scale="1.0" name="Normalization" min="0.0" max="1000.0" value="1.0" free="1"/> | 15 | + <source name="CTABackgroundModel" type="CTAIrfBackground" instrument="CTA"> |
| 16 | + <spectrum type="PowerLaw"> | ||
| 17 | + <parameter name="Prefactor" scale="1.0" value="1.0" min="1e-3" max="1e+3" free="1"/> | ||
| 18 | + <parameter name="Index" scale="1.0" value="0.0" min="-5.0" max="+5.0" free="1"/> | ||
| 19 | + <parameter name="Scale" scale="1e6" value="1.0" min="0.01" max="1000.0" free="0"/> | ||
| 18 | </spectrum> | 20 | </spectrum> |
| 19 | - <radialModel type="Gaussian"> | ||
| 20 | - <parameter name="Sigma" scale="1.0" value="3.0" min="0.01" max="10.0" free="1"/> | ||
| 21 | - </radialModel> | ||
| 22 | - </source> | 21 | + </source> |
| 23 | </source_library> | 22 | </source_library> |
models/shell.xml
| @@ -13,12 +13,11 @@ | @@ -13,12 +13,11 @@ | ||
| 13 | <parameter name="Width" scale="1.0" value="0.10" min="0.01" max="10" free="1"/> | 13 | <parameter name="Width" scale="1.0" value="0.10" min="0.01" max="10" free="1"/> |
| 14 | </spatialModel> | 14 | </spatialModel> |
| 15 | </source> | 15 | </source> |
| 16 | - <source name="Background" type="RadialAcceptance" instrument="CTA"> | ||
| 17 | - <spectrum type="FileFunction" file="$CTOOLS/share/models/bkg_dummy.txt"> | ||
| 18 | - <parameter scale="1.0" name="Normalization" min="0.0" max="1000.0" value="1.0" free="1"/> | 16 | + <source name="CTABackgroundModel" type="CTAIrfBackground" instrument="CTA"> |
| 17 | + <spectrum type="PowerLaw"> | ||
| 18 | + <parameter name="Prefactor" scale="1.0" value="1.0" min="1e-3" max="1e+3" free="1"/> | ||
| 19 | + <parameter name="Index" scale="1.0" value="0.0" min="-5.0" max="+5.0" free="1"/> | ||
| 20 | + <parameter name="Scale" scale="1e6" value="1.0" min="0.01" max="1000.0" free="0"/> | ||
| 19 | </spectrum> | 21 | </spectrum> |
| 20 | - <radialModel type="Gaussian"> | ||
| 21 | - <parameter name="Sigma" scale="1.0" value="3.0" min="0.01" max="10.0" free="1"/> | ||
| 22 | - </radialModel> | ||
| 23 | - </source> | 22 | + </source> |
| 24 | </source_library> | 23 | </source_library> |