Changeset 19588 for trunk/FACT++
- Timestamp:
- 09/02/19 17:34:06 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/scheduler.cc
r19583 r19588 1033 1033 } 1034 1034 1035 void EnterIntoAlertDB(const ToO::DataGRB &grb, const CheckVisibility &check, const bool &is_pointing)1035 void EnterIntoAlertDB(const string &name, const ToO::DataGRB &grb, const CheckVisibility &check, const bool &is_pointing) 1036 1036 { 1037 1037 // Do not enter satellite pointing alerts (as there are too many) … … 1054 1054 return; 1055 1055 1056 Info("Source might be observable.");1056 Info("Source "+name+" might be observable."); 1057 1057 1058 1058 // Make an entry in the alter databse to issue a call … … 1061 1061 " fTriggerInserted=Now(),\n" 1062 1062 " fNight="+to_string(Time().NightAsInt())+",\n" 1063 " fRunID="+to_string(grb.type)+",\n" 1063 " fPacketTypeKey="+to_string(grb.type)+",\n" 1064 " fRa="+to_string(grb.ra/15)+",\n" 1065 " fDec="+to_string(grb.dec)+",\n" 1066 " fErr="+to_string(grb.err)+",\n" 1067 " fName=\""+name+"\",\n" 1064 1068 " fTriggerType=7"; 1065 1069 … … 1185 1189 { 1186 1190 Info("Source not observable... skipped."); 1187 EnterIntoAlertDB( grb, check, is_pointing);1191 EnterIntoAlertDB(name, grb, check, is_pointing); 1188 1192 1189 1193 return fConnection.connected() ? GetCurrentState() : ToO::State::kDisconnected; … … 1193 1197 1194 1198 if (!ScheduleImp(name, grb, check, is_pointing)) 1195 EnterIntoAlertDB( grb, check, is_pointing);1199 EnterIntoAlertDB(name, grb, check, is_pointing); 1196 1200 } 1197 1201 catch (const exception &e)
Note:
See TracChangeset
for help on using the changeset viewer.