|
TPCCLIB
|
Selecting TAC(s) in TAC struct. More...
#include "tpcclibConfig.h"#include "tpcift.h"#include <stdio.h>#include <stdlib.h>#include <math.h>#include <time.h>#include <string.h>#include "tpctac.h"Go to the source code of this file.
Functions | |
| int | tacSelectTACs (TAC *d, const char *region_name, int reset, TPCSTATUS *status) |
| int | tacSelectedTACs (TAC *d) |
| int | tacFirstSelected (TAC *d) |
| int | tacSelectBestReference (TAC *d) |
Selecting TAC(s) in TAC struct.
Definition in file tacselect.c.
| int tacFirstSelected | ( | TAC * | d | ) |
Get the index of first selected TAC (sw!=0) in TAC structure.
| d | Pointer to TAC data. |
Definition at line 122 of file tacselect.c.
| int tacSelectBestReference | ( | TAC * | d | ) |
Select the best guess of reference region in case that several TACs were matching with tacSelectTACs().
| d | Pointer to TAC structure, after using tacSelectTACs(). |
Definition at line 139 of file tacselect.c.
Referenced by tacReadReference().
| int tacSelectedTACs | ( | TAC * | d | ) |
Get the number of selected TACs (sw!=0) in TAC structure.
| d | Pointer to TAC data. |
Definition at line 103 of file tacselect.c.
Referenced by tacSelectBestReference().
Select the TAC(s) that have matching ID name or number.
| d | Pointer to TAC structure. |
| region_name | Name or TAC number (as string, starting from 1) which is searched; string can be inside quotation marks. Enter NULL to select all TACs, or empty string to select TACs with empty name (which really should not exist). |
| reset | 1=Non-matching VOIs are deselected, 0=Old selections are preserved. |
| status | Pointer to status data; enter NULL if not needed. |
Definition at line 24 of file tacselect.c.
Referenced by tacReadReference().