Commit a1a3a988 authored by Chad Hanna's avatar Chad Hanna

gstlal_inspiral_pipe: reorganize dag to make reranking easier

parent f644d465
Pipeline #76728 failed with stages
in 5 minutes and 38 seconds
This diff is collapsed.
......@@ -179,8 +179,9 @@ CREATE TEMPORARY TABLE _cluster_info_ AS
coinc_event.coinc_event_id AS coinc_event_id,
coinc_event.time_slide_id AS category,
(coinc_inspiral.end_time - (SELECT MIN(end_time) FROM coinc_inspiral)) + 1e-9 * coinc_inspiral.end_time_ns AS end_time,
coinc_inspiral.snr AS ranking_stat,
coinc_inspiral.snr AS snr
coinc_inspiral.snr AS snr,
-- NOTE FIXME we are using bank_chisq to hold a chisq weighted snr value
(SELECT SUM(sngl.bank_chisq * sngl.bank_chisq) FROM sngl_inspiral as sngl WHERE sngl.event_id IN (SELECT event_id FROM coinc_event_map WHERE coinc_event_map.coinc_event_id == coinc_event.coinc_event_id)) AS ranking_stat
FROM
coinc_event
JOIN coinc_inspiral ON (
......
......@@ -177,8 +177,9 @@ CREATE TEMPORARY TABLE _cluster_info_ AS
coinc_event.coinc_event_id AS coinc_event_id,
coinc_event.time_slide_id AS category,
(coinc_inspiral.end_time - (SELECT MIN(end_time) FROM coinc_inspiral)) + 1e-9 * coinc_inspiral.end_time_ns AS end_time,
coinc_inspiral.snr AS ranking_stat,
coinc_inspiral.snr AS snr
coinc_inspiral.snr AS snr,
-- NOTE FIXME we are using bank_chisq to hold a chisq weighted snr value
(SELECT SUM(sngl.bank_chisq * sngl.bank_chisq) FROM sngl_inspiral as sngl WHERE sngl.event_id IN (SELECT event_id FROM coinc_event_map WHERE coinc_event_map.coinc_event_id == coinc_event.coinc_event_id)) AS ranking_stat
FROM
coinc_event
JOIN coinc_inspiral ON (
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment