FACT++  1.0
void PrintHelp ( )

Definition at line 50 of file makeschedule.cc.

Referenced by main().

51 {
52 #ifdef HAVE_ROOT
53  cout <<
54  "First for each minute of the night a list is calculated of all "
55  "selected sources fulfiling all global and all source specific "
56  "constraints, e.g. on the zenith distance or the current.\n"
57  "\n"
58  "The remaining source list is sorted by the relative threshold, "
59  "while the threshold is weighted with a user defined source "
60  "specific penalty. The first source of the list is taken to "
61  "be observed.\n"
62  "\n"
63  "In a next step the first and last source of the resulting schedule "
64  "are evaluated. If their observation time is below 40', it is tried "
65  "to extend it to 40min. If this violates one of the criteria mentioned "
66  "above or gives an observation time for the neighbouring source of "
67  "less than 40min, try to replace it by the neighbouring source. "
68  "If this also does not fulfil the requirements, the original "
69  "schedule remains unchanged.\n"
70  "\n"
71  "Now a similar check is run for all intermediate sources. They are "
72  "checked (from the beginning to the end, one by one), if they have "
73  "an observation time of less than 40min. In this case, it is tried "
74  "to remove them. The observation of the two neighbouring sources is "
75  "extended to their penalized point of equal relative threshold. "
76  "If this solution would not fulfil all criteria, no change is made.\n"
77  "\n"
78  "In a last step, all remaining sources with less than 5min "
79  "observation time are replaced with sleep and sleep after startup "
80  "or before shutdown are removed.\n"
81  "\n"
82  "\n"
83  "Examples:\n"
84  "\n"
85  " makeschedule 2016-12-24\n"
86  "\n"
87  "Calculate the Christmas schedule for 2016 using all TeV sources from the\n"
88  "database. If the date is omitted the current date is used.\n"
89  "\n"
90  " makeschedule --source='Mrk 421' --source='Mrk 501' --source='Crab'\n"
91  "\n"
92  "Use only the mentioned sources to calculate the schedule.\n"
93  "\n"
94  " makeschedule --source=Crab --setup.Crab.max-zd=30\n"
95  "\n"
96  "Limit the zenith distance of Crab into the range [0;30]deg.\n"
97  "\n"
98  " makeschedule --source=Crab --setup.Crab.max-current=50\n"
99  "\n"
100  "Limit the maximum estimated current of Crab at 50uA.\n"
101  "\n"
102  " makeschedule --source='IC 310' '--setup.IC 310.penalty=1.2'\n"
103  "\n"
104  "Multiply IC310's estimated relative threshold by a factor 1.2\n"
105  "\n";
106  cout << endl;
107 #endif
108 }

+ Here is the caller graph for this function: