Commit 7d70effd5e40e742e585f6df774932dc6836f329

Authored by Jürgen Knödlseder
1 parent 6cfa66e6

Add logfile parameter.

The hidden logfile parameter allows specifying the name of the logfile.
src/ctbin/ctbin.par
@@ -44,7 +44,8 @@ proj, s, a, "CAR", AIT|AZP|CAR|MER|STG|TAN,, "Projection method e.g. AIT|AZP @@ -44,7 +44,8 @@ proj, s, a, "CAR", AIT|AZP|CAR|MER|STG|TAN,, "Projection method e.g. AIT|AZP
44 # 44 #
45 # Standard parameters 45 # Standard parameters
46 #==================== 46 #====================
47 -chatter, i, h, 1,0,4, "Chattiness of output" 47 +chatter, i, h, 2,0,4, "Chattiness of output"
48 clobber, b, h, yes,,, "Overwrite existing output files with new output files?" 48 clobber, b, h, yes,,, "Overwrite existing output files with new output files?"
49 debug, b, h, no,,, "Debugging mode activated" 49 debug, b, h, no,,, "Debugging mode activated"
50 mode, s, h, "ql",,, "Mode of automatic parameters" 50 mode, s, h, "ql",,, "Mode of automatic parameters"
  51 +logfile, f, h, "ctbin.log",,, "Log filename"
src/ctlike/ctlike.par
@@ -27,7 +27,8 @@ outmdl, f, a, "crab_results.xml",,, "Source model output file" @@ -27,7 +27,8 @@ outmdl, f, a, "crab_results.xml",,, "Source model output file"
27 # 27 #
28 # Standard parameters 28 # Standard parameters
29 #==================== 29 #====================
30 -chatter, i, h, 2,0,4, "Chattiness of output"  
31 -clobber, b, h, yes,,, "Overwrite existing output files with new output files?"  
32 -debug, b, h, no,,, "Debugging mode activated" 30 +chatter, i, h, 2,0,4, "Chattiness of output"
  31 +clobber, b, h, yes,,, "Overwrite existing output files with new output files?"
  32 +debug, b, h, no,,, "Debugging mode activated"
33 mode, s, h, "ql",,, "Mode of automatic parameters" 33 mode, s, h, "ql",,, "Mode of automatic parameters"
  34 +logfile, f, h, "ctlike.log",,, "Log filename"
src/ctmodel/ctmodel.par
@@ -56,7 +56,8 @@ proj, s, a, "CAR", AIT|AZP|CAR|MER|STG|TAN,, "Projection method e.g. AIT|AZP @@ -56,7 +56,8 @@ proj, s, a, "CAR", AIT|AZP|CAR|MER|STG|TAN,, "Projection method e.g. AIT|AZP
56 # 56 #
57 # Standard parameters 57 # Standard parameters
58 #==================== 58 #====================
59 -chatter, i, h, 1,0,4, "Chattiness of output"  
60 -clobber, b, h, yes,,, "Overwrite existing output files with new output files?"  
61 -debug, b, h, no,,, "Debugging mode activated"  
62 -mode, s, h, "ql",,, "Mode of automatic parameters" 59 +chatter, i, h, 2,0,4, "Chattiness of output"
  60 +clobber, b, h, yes,,, "Overwrite existing output files with new output files?"
  61 +debug, b, h, no,,, "Debugging mode activated"
  62 +mode, s, h, "ql",,, "Mode of automatic parameters"
  63 +logfile, f, h, "ctmodel.log",,, "Log filename"
src/ctobssim/ctobssim.par
@@ -23,8 +23,8 @@ prefix, s, h, "sim_events_",,, "Prefix for event lists in observation def @@ -23,8 +23,8 @@ prefix, s, h, "sim_events_",,, "Prefix for event lists in observation def
23 # 23 #
24 # Observation parameters 24 # Observation parameters
25 #======================= 25 #=======================
26 -caldb, s, a, "test/irf",,, "Calibration database"  
27 -irf, s, a, "cta_dummy_irf",,, "Instrument response function" 26 +caldb, s, a, "test/irf",,, "Calibration database"
  27 +irf, s, a, "cta_dummy_irf",,, "Instrument response function"
28 # 28 #
29 # Simulation parameters 29 # Simulation parameters
30 #====================== 30 #======================
@@ -40,7 +40,8 @@ deadc, r, h, 0.95, 0, 1, "Average deadtime correction factor" @@ -40,7 +40,8 @@ deadc, r, h, 0.95, 0, 1, "Average deadtime correction factor"
40 # 40 #
41 # Standard parameters 41 # Standard parameters
42 #==================== 42 #====================
43 -chatter, i, h, 2,0,4, "Chattiness of output"  
44 -clobber, b, h, yes,,, "Overwrite existing output files with new output files?"  
45 -debug, b, h, no,,, "Debugging mode activated" 43 +chatter, i, h, 2,0,4, "Chattiness of output"
  44 +clobber, b, h, yes,,, "Overwrite existing output files with new output files?"
  45 +debug, b, h, no,,, "Debugging mode activated"
46 mode, s, h, "ql",,, "Mode of automatic parameters" 46 mode, s, h, "ql",,, "Mode of automatic parameters"
  47 +logfile, f, h, "ctobssim.log",,, "Log filename"
src/ctselect/ctselect.par
@@ -35,7 +35,8 @@ expr, s, h, "", , , "Additional selection expression" @@ -35,7 +35,8 @@ expr, s, h, "", , , "Additional selection expression"
35 # 35 #
36 # Standard parameters 36 # Standard parameters
37 #==================== 37 #====================
38 -chatter, i, h, 2,0,4, "Chattiness of output"  
39 -clobber, b, h, yes,,, "Overwrite existing output files with new output files?"  
40 -debug, b, h, no,,, "Debugging mode activated" 38 +chatter, i, h, 2,0,4, "Chattiness of output"
  39 +clobber, b, h, yes,,, "Overwrite existing output files with new output files?"
  40 +debug, b, h, no,,, "Debugging mode activated"
41 mode, s, h, "ql",,, "Mode of automatic parameters" 41 mode, s, h, "ql",,, "Mode of automatic parameters"
  42 +logfile, f, h, "ctselect.log",,, "Log filename"
src/ctskymap/ctskymap.par
@@ -22,8 +22,8 @@ outfile, f, a, "skymap.fits",,, "Output file name" @@ -22,8 +22,8 @@ outfile, f, a, "skymap.fits",,, "Output file name"
22 # 22 #
23 # Event selection parameters 23 # Event selection parameters
24 #=========================== 24 #===========================
25 -emin, r, a, 0.1,,,"Minimum energy in TeV"  
26 -emax, r, a, 100.0,,,"Maximum energy in TeV" 25 +emin, r, a, 0.1,,,"Minimum energy in TeV"
  26 +emax, r, a, 100.0,,,"Maximum energy in TeV"
27 # 27 #
28 # Spatial binning parameters 28 # Spatial binning parameters
29 #=========================== 29 #===========================
@@ -39,7 +39,8 @@ proj, s, a, "CAR", AIT|AZP|CAR|MER|STG|TAN,, "Projection method e.g. AIT|AZP @@ -39,7 +39,8 @@ proj, s, a, "CAR", AIT|AZP|CAR|MER|STG|TAN,, "Projection method e.g. AIT|AZP
39 # 39 #
40 # Standard parameters 40 # Standard parameters
41 #==================== 41 #====================
42 -chatter, i, h, 1,0,4, "Chattiness of output" 42 +chatter, i, h, 2,0,4, "Chattiness of output"
43 clobber, b, h, yes,,, "Overwrite existing output files with new output files?" 43 clobber, b, h, yes,,, "Overwrite existing output files with new output files?"
44 debug, b, h, no,,, "Debugging mode activated" 44 debug, b, h, no,,, "Debugging mode activated"
45 mode, s, h, "ql",,, "Mode of automatic parameters" 45 mode, s, h, "ql",,, "Mode of automatic parameters"
  46 +logfile, f, h, "ctskymap.log",,, "Log filename"