- Timestamp:
- 09/02/19 17:35:15 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/gcn.cc
r19578 r19589 259 259 switch (id) 260 260 { 261 case 60:262 case 61:263 case 62:264 265 case 110:266 case 111:267 case 112:268 case 115:269 name = GetParamValue(what, "TRIGGER_NUM").toStdString();270 break;271 272 case 123:273 name = GetParamValue(what, "REF_NUM").toStdString();274 break;261 // case 60: 262 // case 61: 263 // case 62: 264 // 265 // case 110: 266 // case 111: 267 // case 112: 268 // case 115: 269 // name = GetParamValue(what, "TRIGGER_NUM").toStdString(); 270 // break; 271 // 272 // case 123: 273 // name = GetParamValue(what, "REF_NUM").toStdString(); 274 // break; 275 275 276 276 case 125: … … 294 294 } 295 295 296 case 171: 297 case 173: 298 case 174: 299 { 300 const string run_id = GetParamValue(what, "run_id").toStdString(); 301 const string event_id = GetParamValue(what, "event_id").toStdString(); 302 name = run_id+"_"+event_id; 303 break; 304 } 305 296 306 // Missing ID 297 307 // case 51: … … 324 334 const string n2 = name2.text().toStdString(); 325 335 326 const bool has_coordinates = n1=="RA" && n2=="Dec" && unit=="deg" ;336 const bool has_coordinates = n1=="RA" && n2=="Dec" && unit=="deg" && ra!=0 && dec!=0; 327 337 328 338 const std::set<int16_t> typelist = … … 349 359 102, // AGILE_GRB_REFINED 350 360 351 110, // FERMI_GBM_FLT_POS352 111, // FERMI_GBM_ GND_POS353 112, // FERMI_GBM_ LC354 115, // FERMI_GBM_ TRANS361 // 110, // FERMI_GBM_ALERT [0/0] 362 111, // FERMI_GBM_FLT_POS 363 112, // FERMI_GBM_GND_POS 364 115, // FERMI_GBM_FIN_POS 355 365 356 366 123, // FERMI_LAT_TRANS … … 503 513 " fTriggerInserted=Now(),\n" 504 514 " fNight="+to_string(Time().NightAsInt())+",\n" 505 " f RunID="+to_string(-rc)+",\n"515 " fPacketTypeKey="+to_string(-rc)+",\n" 506 516 " fTriggerType=8"; 507 517
Note:
See TracChangeset
for help on using the changeset viewer.