11 #ifndef ANITACONVENTIONS_H 12 #define ANITACONVENTIONS_H 15 #if !defined(__CINT__) || defined(__MAKECINT__) 20 #define ANITA_FLIGHT_H 22 #include "AnitaVersion.h" 47 kJustRemoveClockSpike = 0x1e,
57 #define NUM_SEAVEYS_ANITA1 32 58 #define NUM_SEAVEYS_ANITA2 40 59 #define NUM_SEAVEYS_ANITA3 48 60 #define NUM_SEAVEYS_ANITA4 48 63 #define ACTIVE_SURFS 10 64 #define NUM_SEAVEYS NUM_SEAVEYS_ANITA2 66 #define ACTIVE_SURFS 12 67 #define NUM_SEAVEYS NUM_SEAVEYS_ANITA3 70 #define SCALERS_PER_SURF 12 71 #define SCALERS_PER_SURF_V30 16 72 #define L1S_PER_SURF 6 73 #define L1S_PER_SURF_V30 4 74 #define L2S_PER_SURF 2 75 #define L3S_PER_SURF 2 76 #define RFCHAN_PER_SURF 8 77 #define CHANNELS_PER_SURF 9 78 #define LABRADORS_PER_SURF 4 80 #define NUM_DIGITZED_CHANNELS ACTIVE_SURFS*CHANNELS_PER_SURF 81 #define MAX_NUMBER_SAMPLES 260 82 #define EFFECTIVE_SAMPLES 256 84 #define NUM_ANTENNA_RINGS 3 89 #define NUM_DISCONES 4 92 #define BASE_PACKET_MASK 0xffff 95 #define NUM_SURF ACTIVE_SURFS 96 #define NUM_CHAN CHANNELS_PER_SURF 97 #define NUM_CHIP LABRADORS_PER_SURF 98 #define NUM_RCO RCO_PER_LAB 99 #define NUM_SAMP MAX_NUMBER_SAMPLES 100 #define NUM_EFF_SAMP EFFECTIVE_SAMPLES 103 #define ANTS_PER_SURF 4 104 #define TRIGGERS_PER_SURF 12 105 #define TRIGGER_SURFS 8 106 #define PHI_SECTORS 16 107 #define BANDS_PER_ANT 4 108 #define TURF_BANK_SIZE 4 109 #define TURF_EVENT_DATA_SIZE 256 113 #define WRAPPED_HITBUS 0x8 117 #define CHANS_PER_IP320 40 118 #define NUM_IP320_BOARDS 3 122 #define NUM_PROCESSES 20 123 #define NUM_PROCESSES_V40 20 128 #define MAX_CMD_LENGTH 20 131 #define NUM_PRIORITIES 10 132 #define NUM_SATABLADES 8 133 #define NUM_SATAMINIS 8 136 #define WAKEUP_LOS_BUFFER_SIZE 4000 137 #define WAKEUP_TDRSS_BUFFER_SIZE 500 138 #define WAKEUP_LOW_RATE_BUFFER_SIZE 100 140 #define ACQD_ID_MASK 0x001 141 #define ARCHIVED_ID_MASK 0x002 142 #define CALIBD_ID_MASK 0x004 143 #define CMDD_ID_MASK 0x008 144 #define EVENTD_ID_MASK 0x010 145 #define GPSD_ID_MASK 0x020 146 #define HKD_ID_MASK 0x040 147 #define LOSD_ID_MASK 0x080 148 #define PRIORITIZERD_ID_MASK 0x100 149 #define SIPD_ID_MASK 0x200 150 #define MONITORD_ID_MASK 0x400 151 #define PLAYBACKD_ID_MASK 0x800 152 #define LOGWATCHD_ID_MASK 0x1000 153 #define NEOBRICKD_ID_MASK 0x2000 154 #define ALL_ID_MASK 0xffff 159 #define RTLSDR_MAX_SPECTRUM_BINS 4096 // The maximum number of bins we can save in a packet. 163 #define NUM_TUFF_NOTCHES 3 263 const double LONGITUDE_TD=158.45925;
264 const double LATITUDE_TD=-77.8803;
265 const double ALTITUDE_TD=2260-97.;
275 const Double_t LATITUDE_WAIS
__attribute__((deprecated)) = - (79 + (27.93728/60));
276 const Double_t LONGITUDE_WAIS
__attribute__((deprecated)) = -(112 + (6.74974/60));
277 const Double_t ALTITUDE_WAIS
__attribute__((deprecated)) = 1813.42;
287 Double_t getWaisLatitude();
288 Double_t getWaisLongitude();
289 Double_t getWaisAltitude();
321 #endif //ANITACONVENTIONS_H
const Double_t LATITUDE_SIPLE
Latitude of Siple dome pulser.
const char * calTypeAsString(WaveCalType::WaveCalType_t calType)
Returns the calibration type as a string.
deltaTs, voltage, unwrap, trigger jitter, cable delay. The full monty.
Inter-SURF timing (trigger jitter) without cable delay.
AnitaBand – Enumeration for the four frequency bands.
const Double_t LATITUDE_WAIS_A4
Latitude of WAIS divide pulser.
All the timing of kFull, but none of the voltage calibration (Ped corrected ADC counts) ...
enum WaveCalType::EWaveCalType WaveCalType_t
The calibration enumeration type.
char ringAsChar(AnitaRing::AnitaRing_t ring)
Returns the ring as a character string.
AnitaPol – Enumeration for the two polarisations.
const Double_t LATITUDE_WAIS_A3
Latitude of WAIS divide pulser.
WaveCalType – The Calibration Type.
Left-circular polarisation (e.g. A4)
char polAsChar(AnitaTrigPol::AnitaTrigPol_t pol)
Returns the polarisation as a character string.
const Double_t LATITUDE_WAIS __attribute__((deprecated))
Latitude of WAIS divide pulser.
Horizontal Polarisation (e.g. A3)
Useful for looping over all calibrations.
const Double_t LONGITUDE_WAIS_A4
Longitude of WAIS divide pulser.
const char * ringAsString(AnitaRing::AnitaRing_t ring)
Returns the ring as a character string.
const double LONGITUDE_SURF_SEAVEY
Longitude of surface seavey.
AnitaTrigPol::AnitaTrigPol_t fromAnitaPol(AnitaPol::AnitaPol_t pol)
Right-circular polarisation (e.g. A4)
AnitaLocations – A selection of useful ANITA-I related locations, now updated for ANITA-3...
enum AnitaRing::EAnitaRing AnitaRing_t
Ring enumeration.
What you should call for analysis work.
enum AnitaTrigPol::EAnitaTrigPol AnitaTrigPol_t
Polarisation enumeration.
const char * bandAsString(AnitaBand::AnitaBand_t band)
Returns the band as a character string.
For calibration: sample-to-sample dts without unwrapping (or voltage calibs)
const double ALTITUDE_BH
Altitude of borehole antenna.
void listAllCalTypes()
Prints a list of all available calibration types.
const Double_t ALTITUDE_WAIS_A4
Altitude of WAIS divide pulser.
The 260 samples straight from raw data.
const Double_t LATITUDE_LDB
Latitude at LDB.
const Double_t LONGITUDE_LDB
Longitude at LDB.
const double ALTITUDE_SURF_SEAVEY
Altitude of surface seavey.
enum AnitaBand::EAnitaBand AnitaBand_t
Band enumeration.
const double LONGITUDE_BH
Longitude of borehole antenna.
For calib: opposite RCO from software algorithm.
const Double_t LONGITUDE_SIPLE
Longitude of Siple dome pulser.
The X good samples from raw data (260-hitbus)
char polAsChar(AnitaPol::AnitaPol_t pol)
Returns the polarisation as a character string.
Vertical Polarisation (e.g. A3)
const Double_t ALTITUDE_SIPLE
Altitude of Siple dome pulser according to http://mapcarta.com/25623620.
For calib: applies RCO from firmware (no latch delay)
AnitaRing – Enumeration for the three rings.
For calib: 1-firmware RCO (no latch delay)
No inter-SURF timing (or zero meaning)
enum AnitaPol::EAnitaPol AnitaPol_t
Polarisation enumeration.
Faster, but no algorithm for it.
const Double_t ALTITUDE_WAIS_A3
Altitude of WAIS divide pulser.
const Double_t LONGITUDE_WAIS_A3
Longitude of WAIS divide pulser.
Using mV/ADC = 1 and all dts = 1./2.6 ns.
const double LATITUDE_SURF_SEAVEY
Latitude of surface seavey.
const double LATITUDE_BH
Latitude if borehole antenna.
AnitaTrigPol – Enumeration for the two trigger polarisations.
const Double_t ALTITUDE_LDB
Altitude at LDB.
Remove the spiky clock in early stage.