Commit 6798916a35b54d504908a0ea154f9beea602f6c9

Authored by Jürgen Knödlseder
1 parent 7c914de9

Replace $GAMMALIB by $CTOOLS

models/crab.xml
@@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@
12 </spatialModel> 12 </spatialModel>
13 </source> 13 </source>
14 <source name="Background" type="RadialAcceptance" instrument="CTA"> 14 <source name="Background" type="RadialAcceptance" instrument="CTA">
15 - <spectrum type="FileFunction" file="$GAMMALIB/share/models/bkg_dummy.txt"> 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"/> 16 <parameter scale="1.0" name="Normalization" min="0.0" max="1000.0" value="1.0" free="1"/>
17 </spectrum> 17 </spectrum>
18 <radialModel type="Gaussian"> 18 <radialModel type="Gaussian">
models/disk.xml
@@ -13,7 +13,7 @@ @@ -13,7 +13,7 @@
13 </spatialModel> 13 </spatialModel>
14 </source> 14 </source>
15 <source name="Background" type="RadialAcceptance" instrument="CTA"> 15 <source name="Background" type="RadialAcceptance" instrument="CTA">
16 - <spectrum type="FileFunction" file="$GAMMALIB/share/models/bkg_dummy.txt"> 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"/> 17 <parameter scale="1.0" name="Normalization" min="0.0" max="1000.0" value="1.0" free="1"/>
18 </spectrum> 18 </spectrum>
19 <radialModel type="Gaussian"> 19 <radialModel type="Gaussian">
models/gauss.xml
@@ -13,7 +13,7 @@ @@ -13,7 +13,7 @@
13 </spatialModel> 13 </spatialModel>
14 </source> 14 </source>
15 <source name="Background" type="RadialAcceptance" instrument="CTA"> 15 <source name="Background" type="RadialAcceptance" instrument="CTA">
16 - <spectrum type="FileFunction" file="$GAMMALIB/share/models/bkg_dummy.txt"> 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"/> 17 <parameter scale="1.0" name="Normalization" min="0.0" max="1000.0" value="1.0" free="1"/>
18 </spectrum> 18 </spectrum>
19 <radialModel type="Gaussian"> 19 <radialModel type="Gaussian">
models/shell.xml
@@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
14 </spatialModel> 14 </spatialModel>
15 </source> 15 </source>
16 <source name="Background" type="RadialAcceptance" instrument="CTA"> 16 <source name="Background" type="RadialAcceptance" instrument="CTA">
17 - <spectrum type="FileFunction" file="$GAMMALIB/share/models/bkg_dummy.txt"> 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"/> 18 <parameter scale="1.0" name="Normalization" min="0.0" max="1000.0" value="1.0" free="1"/>
19 </spectrum> 19 </spectrum>
20 <radialModel type="Gaussian"> 20 <radialModel type="Gaussian">
src/ctbin/ctbin.par
@@ -17,7 +17,7 @@ @@ -17,7 +17,7 @@
17 # 17 #
18 # General parameters 18 # General parameters
19 #=================== 19 #===================
20 -evfile, f, a, "test/data/crab_events.fits.gz",,,"Input event list or observation definition file" 20 +evfile, f, a, "events.fits",,,"Input event list or observation definition file"
21 outfile, f, a, "cntmap.fits",,, "Output counts map or observation definition file" 21 outfile, f, a, "cntmap.fits",,, "Output counts map or observation definition file"
22 prefix, s, h, "cntmap_",,,"Prefix for counts maps in observation definition file" 22 prefix, s, h, "cntmap_",,,"Prefix for counts maps in observation definition file"
23 # 23 #
src/ctlike/ctlike.par
@@ -17,7 +17,7 @@ @@ -17,7 +17,7 @@
17 # 17 #
18 # General parameters 18 # General parameters
19 #=================== 19 #===================
20 -infile, f, a, "test/data/crab_events.fits.gz",,,"Event list, counts map or observation definition file" 20 +infile, f, a, "events.fits",,,"Event list, counts map or observation definition file"
21 stat, s, h, "POISSON",,, "Optimization statistics" 21 stat, s, h, "POISSON",,, "Optimization statistics"
22 refit, b, h, no,,, "Do refitting?" 22 refit, b, h, no,,, "Do refitting?"
23 caldb, s, a, "",,, "Calibration database" 23 caldb, s, a, "",,, "Calibration database"