#include <AntennaPositions.h>
Public Member Functions | |
int | getClosestAntennas (double phi, int N, int *closest, ULong64_t disallowed=0, AnitaPol::AnitaPol_t pol=AnitaPol::kHorizontal) const |
double | distance (int ant1, int ant2, AnitaPol::AnitaPol_t pol=AnitaPol::kHorizontal) const |
Static Public Member Functions | |
static const AntennaPositions * | instance (int version=0) |
static const AntennaPositions * | instance (int version, AnitaGeomTool *geom) |
Public Attributes | |
double | phiAnt [2][NUM_SEAVEYS] |
double | rAnt [2][NUM_SEAVEYS] |
double | zAnt [2][NUM_SEAVEYS] |
int | v |
This class keeps the positions of the antennas, and has some related methods. It is a singleton.
Definition at line 11 of file AntennaPositions.h.
int UCorrelator::AntennaPositions::getClosestAntennas | ( | double | phi, |
int | N, | ||
int * | closest, | ||
ULong64_t | disallowed = 0 , |
||
AnitaPol::AnitaPol_t | pol = AnitaPol::kHorizontal |
||
) | const |
Retrieve an instance Find closest N antennas to phi. Results put into closest, which should have sufficient room. Disallowed is a bitmap of antenna numbers that should be excluded. Returns number found (could be less than number requested if too many disallowed)
Definition at line 72 of file AntennaPositions.cc.
double UCorrelator::AntennaPositions::phiAnt[2][NUM_SEAVEYS] |
antenna phi positions (degrees)
Definition at line 29 of file AntennaPositions.h.
double UCorrelator::AntennaPositions::rAnt[2][NUM_SEAVEYS] |
antenna r positions (m)
Definition at line 32 of file AntennaPositions.h.
double UCorrelator::AntennaPositions::zAnt[2][NUM_SEAVEYS] |
antenna z positions (m)
Definition at line 35 of file AntennaPositions.h.