Tests the detector response and site parameter structures and the routine to create one from the other. More...
Tests the detector response and site parameter structures and the routine to create one from the other.
Right now the test routine does very little. It contains a static function PrintLALDetector()
which will print the fields of a LALDetector
to standard output in the same format that would be used for a C initialization. This function is not currently called. It also contains a static function CheckDetector()
which extracts the LALFrDetector
and type from a LALDetector
, changes the name of the LALFrDetector
(in case it's one of the predefined constant detectors), constructs a new LALDetector
and compares the values of the fields of the old and new structures. The program currently performs this check for the two LIGO sites.
Definition in file DetectorSiteTest.c.
Go to the source code of this file.
Macros | |
Error Codes | |
#define | DETECTORSITETESTC_ENOM 0 |
Nominal exit. More... | |
#define | DETECTORSITETESTC_ECHK 1 |
Error checking failed to catch bad data. More... | |
#define | DETECTORSITETESTC_EFLS 2 |
Incorrect answer for valid data. More... | |
#define DETECTORSITETESTC_ENOM 0 |
Nominal exit.
Definition at line 61 of file DetectorSiteTest.c.
#define DETECTORSITETESTC_ECHK 1 |
Error checking failed to catch bad data.
Definition at line 62 of file DetectorSiteTest.c.
#define DETECTORSITETESTC_EFLS 2 |
Incorrect answer for valid data.
Definition at line 63 of file DetectorSiteTest.c.