1 | #ifndef FACT_HeadersGCN
|
---|
2 | #define FACT_HeadersGCN
|
---|
3 |
|
---|
4 | namespace GCN
|
---|
5 | {
|
---|
6 | namespace State
|
---|
7 | {
|
---|
8 | enum states_t
|
---|
9 | {
|
---|
10 | kDisconnected = 1,
|
---|
11 | kConnected = 2,
|
---|
12 | kValid = 3,
|
---|
13 | };
|
---|
14 |
|
---|
15 | }
|
---|
16 |
|
---|
17 | struct PaketType_t
|
---|
18 | {
|
---|
19 | int16_t type;
|
---|
20 | string name;
|
---|
21 | string description;
|
---|
22 | };
|
---|
23 |
|
---|
24 | // probably from https://gcn.gsfc.nasa.gov/filtering.html
|
---|
25 | static const PaketType_t kTypes[] =
|
---|
26 | { // inactive, ACTIVE[1], T-Only[-], in-work[+], private[p]
|
---|
27 | { 1, /* */ "GRB_COORDS", "BATSE Trigger coords (the first GCN Notice Type)" },
|
---|
28 | { 2, /* 1 */ "TEST_COORDS", "Test coords" },
|
---|
29 | { 3, /* 1 */ "IM_ALIVE", "I'm alive socket packet every 60 sec" },
|
---|
30 | { 4, /* 1 */ "KILL_SOCKET", "Kill a socket connection" },
|
---|
31 | { 11, /* */ "MAXBC", "MAXC1/BC" },
|
---|
32 | { 21, /* */ "BRAD_COORDS", "Special Test coords packet for BRADFORD" },
|
---|
33 | { 22, /* */ "GRB_FINAL", "Final BATSE coords" },
|
---|
34 | { 24, /* */ "HUNTS_SRC", "Huntsville LOCBURST GRB coords (HitL)" },
|
---|
35 | { 25, /* */ "ALEXIS_SRC", "ALEXIS Transient coords" },
|
---|
36 | { 26, /* */ "XTE_PCA_ALERT", "XTE-PCA ToO Observation Scheduled" },
|
---|
37 | { 27, /* */ "XTE_PCA_SRC", "XTE-PCA GRB coords" },
|
---|
38 | { 28, /* */ "XTE_ASM_ALERT", "XTE-ASM Alert" },
|
---|
39 | { 29, /* */ "XTE_ASM_SRC", "XTE-ASM GRB coords" },
|
---|
40 | { 30, /* */ "COMPTEL_SRC", "COMPTEL GRB coords" },
|
---|
41 | { 31, /* */ "IPN_RAW", "IPN_RAW GRB annulus coords (position is center of Annulus)" },
|
---|
42 | { 32, /* */ "IPN_SEG", "IPN+POS GRB annulus seg (kind of a cheat to allow error filter)" },
|
---|
43 | { 33, /* */ "SAX_WFC_ALERT", "SAX-WFC Alert" },
|
---|
44 | { 34, /* */ "SAX_WFC_SRC", "SAX-WFC GRB coords" },
|
---|
45 | { 35, /* */ "SAX_NFI_ALERT", "SAX-NFI Alert" },
|
---|
46 | { 36, /* */ "SAX_NFI_SRC", "SAX-NFI GRB coords" },
|
---|
47 | { 37, /* */ "XTE_ASM_TRANS", "XTE-ASM TRANSIENT coords" },
|
---|
48 | { 38, /* 1 */ "spare38", "(spare; used for s/w development testing)" },
|
---|
49 | { 39, /* 1 */ "IPN_POS", "IPN Position coords" },
|
---|
50 | { 40, /* */ "HETE_ALERT_SRC", "HETE Trigger Alert" },
|
---|
51 | { 41, /* */ "HETE_UPDATE_SRC", "HETE Update position (multiples)" },
|
---|
52 | { 42, /* */ "HETE_FINAL_SRC", "HETE Last/Final position" },
|
---|
53 | { 43, /* */ "HETE_GNDANA_SRC", "HETE position from Ground Analysis (HitL)" },
|
---|
54 | { 44, /* 1 */ "HETE_TEST", "HETE TEST" },
|
---|
55 | { 45, /* 1 */ "GRB_CNTRPART", "GRB Counterpart coordinates" },
|
---|
56 | { 46, /* 1 */ "SWIFT_TOO_FOM", "SWIFT TOO-form of the FOM" },
|
---|
57 | { 47, /* 1 */ "SWIFT_TOO_SC_SLEW", "SWIFT TOO-form of the SC_SLEW" },
|
---|
58 | { 48, /* - */ "DOW_TOD", "Day-of-Week Time-of-Day end2end testing" },
|
---|
59 | { 50, /* 1 */ "spare50", "(spare; not yet assigned)" },
|
---|
60 | { 51, /* 1 */ "INTEGRAL_POINTDIR", "INTEGRAL Pointing Direction" },
|
---|
61 | { 52, /* 1 */ "INTEGRAL_SPIACS", "INTEGRAL SPIACS" },
|
---|
62 | { 53, /* 1 */ "INTEGRAL_WAKEUP", "INTEGRAL Wakeup" },
|
---|
63 | { 54, /* 1 */ "INTEGRAL_REFINED", "INTEGRAL Refined" },
|
---|
64 | { 55, /* 1 */ "INTEGRAL_OFFLINE", "INTEGRAL Offline (HitL)" },
|
---|
65 | { 56, /* 1 */ "INTEGRAL_WEAK", "INTEGRAL Weak" },
|
---|
66 | { 57, /* + */ "AAVSO", "AAVSO" },
|
---|
67 | { 58, /* */ "MILAGRO_POS", "MILAGRO Position" },
|
---|
68 | { 59, /* 1 */ "KONUS_LC", "KONUS Lightcurve" },
|
---|
69 | { 60, /* 1 */ "SWIFT_BAT_GRB_ALERT", "BAT ALERT. Never transmitted by the s/c." },
|
---|
70 | { 61, /* 1 */ "SWIFT_BAT_GRB_POS_ACK", "BAT GRB Position Acknowledge" },
|
---|
71 | { 62, /* 1 */ "SWIFT_BAT_GRB_POS_NACK", "BAT GRB Position NOT_Ack (pos not found)." },
|
---|
72 | { 63, /* 1 */ "SWIFT_BAT_GRB_LC", "BAT GRB Lightcurve" },
|
---|
73 | { 64, /* - */ "SWIFT_BAT_SCALEDMAP", "BAT Scaled Map" },
|
---|
74 | { 65, /* 1 */ "SWIFT_FOM_OBS", "BAT FOM to Observe (FOM_2OBSAT)" },
|
---|
75 | { 66, /* 1 */ "SWIFT_SC_SLEW", "BAT S/C to Slew (FOSC_2OBSAT)" },
|
---|
76 | { 67, /* 1 */ "SWIFT_XRT_POSITION", "XRT Position" },
|
---|
77 | { 68, /* - */ "SWIFT_XRT_SPECTRUM", "XRT Spectrum" },
|
---|
78 | { 69, /* 1 */ "SWIFT_XRT_IMAGE", "XRT Image (aka postage stamp)" },
|
---|
79 | { 70, /* - */ "SWIFT_XRT_LC", "XRT Lightcurve (aka Prompt)" },
|
---|
80 | { 71, /* 1 */ "SWIFT_XRT_CENTROID", "XRT Centroid Error (Pos Nack)" },
|
---|
81 | { 72, /* 1 */ "SWIFT_UVOT_DBURST", "UVOT DarkBurst (aka Neighbor, aka GeNie)" },
|
---|
82 | { 73, /* 1 */ "SWIFT_UVOT_FCHART", "UVOT Finding Chart" },
|
---|
83 | { 76, /* + */ "SWIFT_BAT_GRB_LC_PROC", "BAT GRB Lightcurve processed" },
|
---|
84 | { 77, /* - */ "SWIFT_XRT_SPECTRUM_PROC", "XRT Spectrum processed" },
|
---|
85 | { 78, /* 1 */ "SWIFT_XRT_IMAGE_PROC", "XRT Image processed" },
|
---|
86 | { 79, /* 1 */ "SWIFT_UVOT_DBURST_PROC", "UVOT DarkBurst proc mesg (aka Neighbor)" },
|
---|
87 | { 80, /* 1 */ "SWIFT_UVOT_FCHART_PROC", "UVOT Finding Chart processed" },
|
---|
88 | { 81, /* 1 */ "SWIFT_UVOT_POS", "UVOT Position" },
|
---|
89 | { 82, /* 1 */ "SWIFT_BAT_GRB_POS_TEST", "BAT GRB Position Test" },
|
---|
90 | { 83, /* 1 */ "SWIFT_POINTDIR", "Pointing Direction" },
|
---|
91 | { 84, /* 1 */ "SWIFT_BAT_TRANS", "BAT Hard X-ray Transient coords" },
|
---|
92 | { 85, /* - */ "SWIFT_XRT_THRESHPIX", "XRT Thresholded-Pixel-list" },
|
---|
93 | { 86, /* - */ "SWIFT_XRT_THRESHPIX_PROC", "XRT Thresholded-Pixel-list processed" },
|
---|
94 | { 87, /* - */ "SWIFT_XRT_SPER", "XRT Single-Pixel-Event-Report" },
|
---|
95 | { 88, /* - */ "SWIFT_XRT_SPER_PROC", "XRT Single-Pixel-Event-Report processed" },
|
---|
96 | { 89, /* 1 */ "SWIFT_UVOT_POS_NACK", "UVOT Position Nack (contains BATs/XRTs position)" },
|
---|
97 | { 90, /* - */ "SWIFT_BAT_ALARM_SHORT", "SWIFT Appendix_C non-public (Team Ops)" },
|
---|
98 | { 91, /* - */ "SWIFT_BAT_ALARM_LONG", "SWIFT Appendix_C non-public (Team Ops)" },
|
---|
99 | { 92, /* - */ "SWIFT_UVOT_EMERGENCY", "SWIFT Appendix_C non-public (Team Ops)" },
|
---|
100 | { 93, /* - */ "SWIFT_XRT_EMERGENCY", "SWIFT Appendix_C non-public (Team Ops)" },
|
---|
101 | { 94, /* - */ "SWIFT_FOM_PPT_ARG_ERR", "SWIFT Appendix_C non-public (Team Ops)" },
|
---|
102 | { 95, /* - */ "SWIFT_FOM_SAFE_POINT", "SWIFT Appendix_C non-public (Team Ops)" },
|
---|
103 | { 96, /* - */ "SWIFT_FOM_SLEW_ABORT", "SWIFT Appendix_C non-public (Team Ops)" },
|
---|
104 | { 97, /* 1 */ "SWIFT_BAT_QL_POS", "BAT Quick Look Position (1-6 sec sooner)" },
|
---|
105 | { 98, /* 1 */ "SWIFT_BAT_SUB_THRESHOLD", "BAT Sub-Threshold Position" },
|
---|
106 | { 99, /* 1 */ "SWIFT_BAT_SLEW_POS", "BAT Burst/Trans Pos during slewing" },
|
---|
107 | { 100, /* 1 */ "AGILE_GRB_WAKEUP", "AGILE GRB Wake-Up Position" },
|
---|
108 | { 101, /* 1 */ "AGILE_GRB_GROUND", "AGILE GRB Prompt Position" },
|
---|
109 | { 102, /* 1 */ "AGILE_GRB_REFINED", "AGILE GRB Refined Position" },
|
---|
110 | { 103, /* 1 */ "SWIFT_ACTUAL_POINTDIR" "Actual Pointing Direction"},
|
---|
111 | { 107, /* 1 */ "AGILE_POINTDIR", "AGILE Pointing Direction" },
|
---|
112 | { 108, /* + */ "AGILE_TRANS", "AGILE Transient Position" },
|
---|
113 | { 109, /* 1 */ "AGILE_GRB_POS_TEST", "AGILE GRB Position Test" },
|
---|
114 | { 110, /* 1 */ "FERMI_GBM_ALERT", "GBM Alert" },
|
---|
115 | { 111, /* 1 */ "FERMI_GBM_FLT_POS", "GBM Flightt-calculated Position" },
|
---|
116 | { 112, /* 1 */ "FERMI_GBM_GND_POS", "GBM Ground-calculated Position" },
|
---|
117 | { 113, /* + */ "FERMI_GBM_LC", "GBM Lightcurve" },
|
---|
118 | { 114, /* - */ "FERMI_GBM_GND_INTERNAL", "GBM Gnd-calc Internal (beyond 112)" },
|
---|
119 | { 115, /* 1 */ "FERMI_GBM_FIN_POS", "GBM Final Position HitL or Offline" },
|
---|
120 | { 118, /* + */ "FERMI_GBM_TRANS", "GBM Transient Position" },
|
---|
121 | { 119, /* 1 */ "FERMI_GBM_POS_TEST", "GBM Position Test" },
|
---|
122 | { 120, /* - */ "FERMI_LAT_POS_INI", "LAT Position Initial" },
|
---|
123 | { 121, /* 1 */ "FERMI_LAT_POS_UPD", "LAT Position Update" },
|
---|
124 | { 122, /* - */ "FERMI_LAT_POS_DIAG", "LAT Position Diagnostic" },
|
---|
125 | { 123, /* + */ "FERMI_LAT_TRANS", "LAT Transient Position (previously unknown source)" },
|
---|
126 | { 124, /* 1 */ "FERMI_LAT_POS_TEST", "LAT Position Test (like UPD only)" },
|
---|
127 | { 125, /* + */ "FERMI_LAT_MONITOR", "LAT Monitor (eg Blazar, AGN, etc)" },
|
---|
128 | { 126, /* 1 */ "FERMI_SC_SLEW", "Spcecraft Slew" },
|
---|
129 | { 127, /* 1 */ "FERMI_LAT_GND", "LAT Ground-analysis refined Pos" },
|
---|
130 | { 128, /* + */ "FERMI_LAT_OFFLINE", "LAT Ground-analysis Trigger Pos, Offline" },
|
---|
131 | { 129, /* 1 */ "FERMI_POINTDIR", "Pointing Direction" },
|
---|
132 | { 130, /* 1 */ "SIMBADNED", "SIMBAD/NED Search Results" },
|
---|
133 | { 131, /* + */ "PIOTS_OT_POS", "Pi-Of-The-Sky Optical Transient Pos" },
|
---|
134 | { 132, /* + */ "KAIT_SN", "KAIT SuperNova" },
|
---|
135 | { 133, /* 1 */ "SWIFT_BAT_MONITOR", "Swift BAT Transient Monitor LC page event" },
|
---|
136 | { 134, /* 1 */ "MAXI_UNKNOWN", "MAXI previously Unknown source transient (GRBs or other x-ray trans)" },
|
---|
137 | { 135, /* 1 */ "MAXI_KNOWN", "MAXI previously Known source transient (already in some catalog)" },
|
---|
138 | { 136, /* 1 */ "MAXI_TEST", "MAXI Test notice (for the Unknown type)" },
|
---|
139 | { 137, /* + */ "OGLE", "OGLE lensing event (Inten, yes; but not Signif)" },
|
---|
140 | { 138, /* + */ "CBAT", "CBAT" },
|
---|
141 | { 139, /* + */ "MOA", "MOA lensing event (turn off inten for now!!!)" },
|
---|
142 | { 140, /* 1 */ "SWIFT_BAT_SUBSUB", "BAT SubSubThreshold trigger" },
|
---|
143 | { 141, /* 1 */ "SWIFT_BAT_KNOWN_SRC", "Known source detected in ach BAT image" },
|
---|
144 | { 142, /* 1 */ "VOE_1.1_IM_ALIVE", "I'm alive socket packet sent every 60 sec" },
|
---|
145 | { 143, /* 1 */ "VOE_2.0_IM_ALIVE", "I'm alive socket packet sent every 60 sec" },
|
---|
146 | { 145, /* + */ "COINCIDENCE", "Temporal/Spatial coinc between mission-instruments" },
|
---|
147 | { 148, /* 1 */ "SUZAKU_LC", "SUZAKU-WAM Lightcurve" },
|
---|
148 | { 149, /* 1 */ "SNEWS", "SNEWS Positions" },
|
---|
149 | { 150, /* p */ "LVC_PRELIM", "LIGO/Virgo trigger alert (no position information)" },
|
---|
150 | { 151, /* p */ "LVC_INITIAL", "LIGO/Virgo initial position (skymap)" },
|
---|
151 | { 152, /* p */ "LVC_UPDATE", "LIGO/Virgo updates position (skymap)" },
|
---|
152 | { 153, /* + */ "LVC_TEST", "LIGO/Virgo test position (skymap)" },
|
---|
153 | { 154, /* p */ "LVC_CNTRPART", "LVC multi-messenger Counterpart coordinates" },
|
---|
154 | { 157, /* 1 */ "AMON_ICECUBE_COINC", "AMON ICECUBE temporal/spatial coincidence events" },
|
---|
155 | { 158, /* 1 */ "AMON_ICECUBE_HESE", "AMON ICECUBE High Energy Single (neutrino) Event" },
|
---|
156 | { 160, /* 1 */ "CALET_GBM_FLT_LC", "CALET-GBM Flight-produced Lightcurve" },
|
---|
157 | { 161, /* 1 */ "CALET_GBM_GND_LC", "CALET-GBM Ground-produced Lightcurve" },
|
---|
158 | { 169, /* p */ "GWHEN_COINC", "Coincidence between LVC and ICECUBE High Energy Neutrino event" },
|
---|
159 | { 169, /* 1 */ "AMON_ICECUBE_EHE", "AMON ICECUBE Extreme High Energy (neutrino) event" },
|
---|
160 | { -1, "", "" },
|
---|
161 | };
|
---|
162 | }
|
---|
163 |
|
---|
164 | #endif
|
---|