1 # USER DEFINED INPUT - CHANGE AS APPROPRIATE
6 vetoes_suffix := _vetoes.xml
7 VETOES_FILES := $(addsuffix $(vetoes_suffix),$(IFOS))
10 VETODEFREMOTE=
"https://www.lsc-group.phys.uwm.edu/ligovirgo/cbc/public/segments/S6/H1L1V1-S6_CBC_LOWMASS_D_OFFLINE-961545543-0.xml"
11 VETODEF=$(nodir $VETODEFREMOTE)
13 # GET VETO-DEFINER FILE
15 wget $(VETODEFREMOTE) -O $@
17 # GET VETOES PER DETECTOR
18 %_vetoes.xml: $(VETODEF)
19 ligolw_segments_from_cats --segment-url=$(SEG_SERVER) --veto-file=$(VETODEF) --gps-start-time $(START) --gps-end-time $(STOP) --cumulative-categories
20 ligolw_segments_compat $*-VETOTIME_CAT*.xml
21 # cat2
for giant glitches
22 # cat3
for HW injections
23 gstlal_segments_operations --
union --segment-file1 $*-VETOTIME_CAT3-*.xml --segment-name1 VETO_CAT3_CUMULATIVE --segment-file2 $*-VETOTIME_CAT3-*.xml --segment-name2 VETO_CAT3_CUMULATIVE --output-file $@ --output-segment-name vetoes
25 # COMBINE ALL VETOES ACROSS DETECTORS
26 vetoes.xml: $(VETOES_FILES)
27 ligolw_add $(VETOES_FILES) -o vetoes.xml