icemc
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions | Private Attributes | List of all members
Anita Class Reference

Contains everything about positions within payload and signals it sees for each event, in both the trigger and signal paths. More...

#include <anita.hh>

Public Member Functions

 Anita ()
 
 ~Anita ()
 
void Initialize (Settings *settings1, ofstream &foutput, int inu, TString outputdir)
 initialize a bunch of stuff More...
 
void initializeFixedPowerThresholds (ofstream &foutput)
 
void readVariableThresholds (Settings *settings1)
 
void readAmplification ()
 
void getDiodeDataAndAttenuation (Settings *settings1, TString outputdir)
 
void getPulserData ()
 
void MakeArrayforFFT (double *vsignalarray_e, double *vsignal_e_forfft, double phasedelay, bool useconstantdelay)
 
void GetArrayFromFFT (double *tmp_fftvhz, double *vhz_rx)
 
int Match (int ilayer, int ifold, int rx_minarrivaltime)
 
int getLabAttn (int NPOINTS_LAB, double *freqlab, double *labattn)
 
void labAttn (double *vhz)
 
void SetNoise (Settings *settings1, Balloon *bn1, IceModel *antarctica)
 
void calculate_antenna_positions (Settings *settings1, double pitch, double roll, double phi_spin, Vector n_north, Vector n_east)
 
void setphiTrigMaskAnita3 (UInt_t realTime_flightdata)
 
void setphiTrigMask (UInt_t realTime_flightdata)
 
void setTimeDependentThresholds (UInt_t realTime_flightdata)
 
void BoxAverageComplex (double *array, const int n, int navg)
 
void BoxAverage (double *array, const int n, int navg)
 
int GetRx (int ilayer, int ifold)
 get antenna number based on which layer and position it is More...
 
int GetRxTriggerNumbering (int ilayer, int ifold)
 get antenna number based on which layer and position it is More...
 
void getDiodeModel ()
 
void setDiodeRMS (Settings *settings1, TString outputdir)
 
void myconvlv (double *timedomain_forconvl, const int NFOUR, double *fdiode, double &maxdiodeconvl, double &onediodeconvl, double *power_noise, double *diodeconv)
 
void GetArrivalTimes (const Vector &rf_direction, Balloon *bn1, Settings *settings1)
 
void GetArrivalTimesBoresights (const Vector rf_direction[NLAYERS_MAX][NPHI_MAX])
 
void GetArrivalTimesBoresights (const Vector rf_direction[NLAYERS_MAX][NPHI_MAX], Balloon *bn1, Settings *settings1)
 
int AntennaWaveformtoSurf (int ilayer, int ifold)
 
void Banding (int j, double *freq_noise, double *powerperfreq, int NPOINTS_NOISE)
 
void Banding (int iband, double *vmmhz)
 
void RFCMs (int ilayer, int ifold, double *vmmhz)
 
void normalize_for_nsamples (double *spectrum, double nsamples, double nsamp)
 
void convert_power_spectrum_to_voltage_spectrum_for_fft (int length, double *spectrum, double domain[], double phase[])
 
void GetNoiseWaveforms ()
 
void GetPhases ()
 
int GetBeamWidths (Settings *settings1)
 
void Set_gain_angle (Settings *settings1, double nmedium_receiver)
 
double Get_gain_angle (int gain_type, int k, double hitangle)
 
void ReadGains ()
 
void AntennaGain (Settings *settings1, double hitangle_e, double hitangle_h, double e_component, double h_component, int k, double &vsignalarray_e, double &vsignalarray_h)
 
void SetDiffraction ()
 
double GetDiffraction (int ilayer, double zenith_angle, int ifreq)
 
void calculate_all_offsets (void)
 
void getDifferentOffsets ()
 
void printDifferentOffsets ()
 
void calculate_single_offset (const unsigned center_phi_sector_index, const double angle_phi, const double angle_theta, double hypothesis_offset[][3])
 
void calculate_single_offset (const unsigned center_phi_sector_index, const unsigned index_phi, const unsigned index_theta, double hypothesis_offset[][3])
 
void fill_coherent_waveform_sum_tree (unsigned inu, unsigned center_phi_sector, Settings *settings1, double rms_noise, double actual_rms, unsigned window_start, unsigned window_end, double deg_theta, double deg_phi, double actual_deg_theta, double actual_deg_phi, vector< double > &summed_wfm, vector< double > &power_of_summed_wfm, double power)
 
void GetPayload (Settings *, Balloon *)
 
void calculateDelaysForEfficiencyScan ()
 
void GetPhasesFromFFT (double *tmp_fftvhz, double *phases)
 
void FromTimeDomainToIcemcArray (double *vsignalarray, double vhz[NFREQ])
 

Static Public Member Functions

static int SurfChanneltoBand (int isurf)
 
static int AntennaNumbertoSurfNumber (int ilayer, int ifold)
 
static int GetAntennaNumber (int ilayer, int ifold)
 
static int GetLayer (int rx)
 
static int GetIfold (int rx)
 
static int GetSurfChannel (int antenna, int ibw, int ipol)
 
static int WhichBand (int ibw, int ipol)
 

Public Attributes

int tuffIndex
 
int number_all_antennas
 this keeps count of the number of antennas for use with timing calculations, etc. More...
 
Vector ANTENNA_POSITION_START [2][NLAYERS_MAX][NPHI_MAX]
 antenna positions from Kurt's measurements More...
 
double ANTENNA_DOWN [NLAYERS_MAX][NPHI_MAX]
 down angles of antennas from Kurt's measurements More...
 
double SIMON_DELTA_R [NLAYERS_MAX][NPHI_MAX]
 measurements by Simon used in analysis ANITA-2 More...
 
double SIMON_DELTA_PHI [NLAYERS_MAX][NPHI_MAX]
 measurements by Simon used in analysis ANITA-2 More...
 
Vector antenna_positions [2][NLAYERS_MAX *NPHI_MAX]
 these are the antenna positions in space in a coordinate system where x=north and y=west and the origin is at the center of the payload More...
 
int NRX_PHI [NLAYERS_MAX]
 number of antennas around in each layer. (radians) More...
 
double PHI_EACHLAYER [NLAYERS_MAX][NPHI_MAX]
 phi of the center of each antenna on each layer More...
 
double PHI_OFFSET [NLAYERS_MAX]
 antenna offset in phi for each layer (radians) More...
 
double THETA_ZENITH [NLAYERS_MAX]
 how the antenna is tilted in theta (in radians with 0=up) More...
 
int inu
 Neutrino number. More...
 
double LAYER_VPOSITION [Anita::NLAYERS_MAX]
 position of layers in z relative to vertical center of the payload More...
 
double LAYER_HPOSITION [Anita::NLAYERS_MAX]
 distance in horizontal plane between center axis of the "payload" and each "layer". More...
 
double LAYER_PHIPOSITION [Anita::NLAYERS_MAX]
 phi corresponding to the position of each "layer" on the "payload" More...
 
double RRX [Anita::NLAYERS_MAX]
 radius that the antenna sits from the axis of the payload (feedpoint) More...
 
Double_t deltaTPhaseCentre [2][NLAYERS_MAX][NPHI_MAX]
 Relative to photogrammetry + ring offset. More...
 
double THERMALNOISE_FACTOR
 factor to multiply thermal noise for error analysis More...
 
double additionalDt
 
TFile * fnoise
 
TTree * tdiode
 
int NBANDS
 number of frequency sub-bands (not counting full band) More...
 
int PERCENTBW
 percent bandwidth More...
 
double signal_vpol_inanita [5][HALFNFOUR]
 this is the signal waveform in the vertical polarization, before converting to LCP, RCP where applicable More...
 
double total_vpol_inanita [5][HALFNFOUR]
 this is the sum of the signal and noise in the vertical polarization, before converting to LCP, RCP where applicable More...
 
double timedomainsignal_rfcm [HALFNFOUR]
 
double timedomainsignal_lab [HALFNFOUR]
 
TTree * turfratechain
 
TTree * surfchain
 
TFile * fturf
 
TFile * fsurf
 
UShort_t phiTrigMask
 
UShort_t phiTrigMaskH
 
UShort_t l1TrigMask
 
UShort_t l1TrigMaskH
 
Double_t deadTime
 fractional deadTime More...
 
unsigned int realTime_turfrate
 realtime from the turf rate file More...
 
unsigned int realTime_tr_min
 min realtime from the turf rate file More...
 
unsigned int realTime_tr_max
 max realtime from the turf rate file More...
 
unsigned int realTime_surf
 realtime from the surf file More...
 
unsigned int realTime_surf_min
 min realtime from the surf file More...
 
unsigned int realTime_surf_max
 max realtime from the surf file More...
 
UShort_t thresholds [2][48]
 thresholds as read from the surf file: first index is pol, second is antenna number (only working for Anita3) More...
 
UShort_t scalers [2][48]
 scalers as read from the surf file: first index is pol, second is antenna number (only working for Anita3) More...
 
Double_t fakeThresholds [2][48]
 Fake thresholds (coming from converting fake scalers to thresholds) More...
 
Double_t fakeThresholds2 [2][48]
 Fake thresholds 2 (coming from converting flight scalers to thresholds) More...
 
Double_t fakeScalers [2][48]
 Fake scalers (coming from converting threhsolds during flight to scalers using threshold scan) More...
 
int iturf
 
int isurf
 
int iturfevent
 
Float_t threshScanThresh [2][48][npointThresh]
 adc thresholds from threshold scan More...
 
Float_t threshScanScaler [2][48][npointThresh]
 scalers from threshold scan More...
 
Float_t minadcthresh [2][48]
 
Float_t maxadcthresh [2][48]
 
double total_diodeinput_1_inanita [5][HALFNFOUR]
 this is the waveform that is input to the tunnel diode in the first (LCP or vertical) polarization More...
 
double total_diodeinput_2_inanita [5][HALFNFOUR]
 this is the waveform that is input to the tunnel diode in the second (RCP or horizontal) polarization More...
 
double total_diodeinput_1_allantennas [48][HALFNFOUR]
 this is across all antennas, just the full band More...
 
double total_diodeinput_2_allantennas [48][HALFNFOUR]
 needs comment More...
 
double timedomain_output_inanita [2][5][HALFNFOUR]
 this is just for writing out to the following tree More...
 
double time_trig [HALFNFOUR]
 
double weight_inanita
 
int arrayofhits_inanita [3][16][2][HALFNFOUR]
 
int arrayofhits_forgaryanderic [3][16][2][HALFNFOUR]
 
int l1trig_anita3and4_inanita [2][16][HALFNFOUR]
 
int l1trig_anita4lr_inanita [3][16][HALFNFOUR]
 
int l1trig_anita4lr_forgaryanderic [3][16][HALFNFOUR]
 
int l2trig_anita4lr_inanita [16][3][HALFNFOUR]
 
int l2trig_anita4lr_forgaryanderic [16][HALFNFOUR]
 when it passes 2/3 More...
 
int l3type0trig_anita4lr_inanita [16][HALFNFOUR]
 
int l3trig_anita4lr_inanita [16][HALFNFOUR]
 
int l3type0trig_anita4lr_forgaryanderic [16][HALFNFOUR]
 
int l3type1trig_anita4lr_forgaryanderic [16][HALFNFOUR]
 
double timedomain_output_corrected_forplotting [2][6][HALFNFOUR]
 this is just for writing out to the following tree More...
 
double timedomain_output_allantennas [2][48][HALFNFOUR]
 this is across all antennas, just the full band More...
 
int flag_e_inanita [5][HALFNFOUR]
 
int flag_h_inanita [5][HALFNFOUR]
 
double dangle_inanita
 
double emfrac_inanita
 
double hadfrac_inanita
 
double ston [5]
 signal to noise; More...
 
int iminbin [5]
 this is the minimum bin to start More...
 
int imaxbin [5]
 
int maxbin_fortotal [5]
 when it sums the noise and signal together it shortens the waveform More...
 
double peak_v_banding_rfcm [2][5]
 peak V in e/h polarization after rfcm's and banding More...
 
double peak_rx_signalonly [2]
 peak voltage in e/h polarization received by the antenna More...
 
double peak_rx_rfcm [2]
 peak voltage in e/h polarization received by the antenna More...
 
double peak_rx_rfcm_signalonly [2]
 peak voltage in e/h polarization received by the antenna More...
 
double peak_rx_rfcm_lab [2]
 peaks of the previous arrays More...
 
int channels_passing [2][5]
 channels passing. This is reset for every antenna for every event More...
 
int channels_passing_justNoise [2][5]
 channels passing. This is reset for every antenna for every event More...
 
int l1_passing
 
int l1_passing_allantennas [48]
 
int irx
 
double avgfreq_rfcm [NFREQ]
 
double avgfreq_rfcm_lab [NFREQ]
 
double vmmhz_banding [NFREQ]
 V/m/MHz after banding. More...
 
double vmmhz_banding_rfcm [NFREQ]
 V/m/MHz after banding and rfcms. More...
 
double rms_rfcm_e_single_event
 This is in Volts, not mV! More...
 
double rms_rfcm [2]
 rms noise just after rfcm's More...
 
double rms_lab [2]
 rms noise at lab chip More...
 
TFile * fsignals
 
TTree * tsignals
 
TFile * fdata
 
TTree * tdata
 writing data out for the analysers More...
 
TTree * tgaryanderic
 writing data out for the analysers More...
 
TTree * tglob
 
TH1F * hsignals [5]
 s/n (max diode output/mean diode output) for vertical polarization in each band More...
 
double f_pulser [NFOUR/4]
 
double f_phases [NFOUR/4]
 
double f_noise [NFOUR/4]
 
double v_pulser [NFOUR/4]
 
double v_phases [NFOUR/4]
 
double v_noise [NFOUR/4]
 
double cumulat_prob [9]
 
double cumulat_prob_plus1 [9]
 
double timedomainnoise_rfcm_banding [2][5][HALFNFOUR]
 
double timedomainnoise_rfcm_banding_long [2][5][HALFNFOUR]
 
double timedomainnoise_rfcm [2][HALFNFOUR]
 
double timedomainnoise_lab [2][HALFNFOUR]
 
double timedomainnoise_rfcm_long [2][HALFNFOUR]
 
double timedomainnoise_lab_long [2][HALFNFOUR]
 
double phases [5][HALFNFOUR]
 
int passglobtrig [2]
 
double integral_vmmhz_foranita
 
int nnoiseevents
 total number of noise events we're choosing from More...
 
int noiseeventcounter
 counts which event we're on so we go in order More...
 
double FREQ_LOW
 lowest frequency More...
 
double FREQ_HIGH
 highest frequency More...
 
double NOTCH_MIN
 low edge of notch filter. This is set in the input file More...
 
double NOTCH_MAX
 
int BANDING
 
double freq [NFREQ]
 
double freq_forfft [NFOUR]
 
double freq_forplotting [NFOUR/4]
 
double freq_forfft_long [2 *NFOUR]
 
double freq_forplotting_long [NFOUR/2]
 
double time [NFOUR/2]
 
double time_long [NFOUR]
 
double time_centered [NFOUR/2]
 
double freqdomain_rfcm_banding [5][HALFNFOUR/2]
 
double freqdomain_rfcm_banding_long [5][HALFNFOUR]
 
double freqdomain_rfcm [HALFNFOUR/2]
 
double freqdomain_rfcm_long [HALFNFOUR]
 
double freqdomain_rfcm_theory [HALFNFOUR/2]
 
double avgfreqdomain_lab [HALFNFOUR/2]
 
double avgfreqdomain_lab_long [HALFNFOUR]
 
double phases_rfcm_banding [2][5][HALFNFOUR/2]
 
double phases_rfcm_banding_long [2][5][HALFNFOUR]
 
double phases_rfcm [2][HALFNFOUR/2]
 
double phases_rfcm_long [2][HALFNFOUR]
 
double phases_lab [2][HALFNFOUR]
 
double phases_lab_long [2][HALFNFOUR]
 
TF1 fdiode
 
double maxt_diode
 
int idelaybeforepeak [5]
 
int iwindow [5]
 
double diode_real [5][NFOUR]
 
double fdiode_real [5][NFOUR]
 
int rx_minarrivaltime
 
double arrival_times [2][NLAYERS_MAX *NPHI_MAX]
 
int count_getnoisewaveforms
 
double freq_bands [5][NPOINTS_BANDS]
 
double attn_bands [5][NPOINTS_BANDS]
 
double bandsattn [5][NPOINTS_BANDS]
 
double correl_banding [5][NPOINTS_BANDS]
 
double correl_lab [NPOINTS_BANDS]
 
double freq_ampl [NANTENNAS_MAX][NPOINTS_AMPL]
 
double ampl [NANTENNAS_MAX][NPOINTS_AMPL]
 
double ampl_notdb [NANTENNAS_MAX][NPOINTS_AMPL]
 
double noisetemp [NANTENNAS_MAX][NPOINTS_AMPL]
 
double bwslice_vnoise [NLAYERS_MAX][5]
 
double probability [5]
 
double bwslice_enoise [5]
 
double bwslice_fwhmnoise [5]
 
double bwslice_rmsdiode [2][5]
 
double bwslice_meandiode [5]
 
double bwslice_vrms [5]
 
double bwslice_dioderms_fullband_allchan [2][48][7]
 
double bwslice_diodemean_fullband_allchan [2][48][7]
 
double freq_noise [5][NPOINTS_NOISE]
 
double impedence
 
double phase
 
double powerthreshold [5]
 
double powerthreshold_nadir [5]
 
int NCH_PASS
 
double l1window
 
double minsignalstrength
 
double INTEGRATIONTIME
 
double TIMESTEP
 
double DEADTIME
 
double TRIG_TIMESTEP
 
unsigned N_STEPS_PHI
 
unsigned N_STEPS_THETA
 
double energythreshold
 
double MIN_PHI_HYPOTHESIS
 
double MAX_PHI_HYPOTHESIS
 
double MIN_THETA_HYPOTHESIS
 
double MAX_THETA_HYPOTHESIS
 
int USEPHASES
 
int NTRIGGERLAYERS
 
int PHITRIG [NLAYERS_MAX]
 
int REQUIRE_CENTRE
 
int GAINS
 
double gainv_measured [NPOINTS_GAIN]
 
double gainh_measured [NPOINTS_GAIN]
 
double gainhv_measured [NPOINTS_GAIN]
 
double gainvh_measured [NPOINTS_GAIN]
 
double frequency_forgain_measured [NPOINTS_GAIN]
 
double gain_angle [4][NPOINTS_GAIN][7]
 
double flare [4][NFREQ]
 
double gain [2][NFREQ]
 
double reference_angle [7]
 
double inv_angle_bin_size [6]
 
int whichbin [NFREQ]
 
double scalef2 [NFREQ]
 
double scalef1 [NFREQ]
 
double vvGaintoHeight [NFREQ]
 
double hhGaintoHeight [NFREQ]
 
double hvGaintoHeight [NFREQ]
 
double vhGaintoHeight [NFREQ]
 
double diffraction [2][89][NFREQ]
 
double freqlab [NPOINTS_LAB]
 
double labattn [NPOINTS_LAB]
 
double VNOISE [NLAYERS_MAX]
 
int trigRequirements [NLAYERS_MAX]
 
int antennatosurf [32]
 
double maxthreshold
 
double bwslice_thresholds [5]
 
int bwslice_allowed [5]
 
int bwslice_required [5]
 
int pol_allowed [2]
 
int pol_required [2]
 
double bwslice_center [5]
 
double bwslice_width [5]
 
double bwslice_min [5]
 
double bwslice_max [5]
 
double bwmin
 
TFile * coherent_datafile
 
TTree * coherent_waveform_sum_tree
 
unsigned hypothesis_offsets [16][200][200][4][3]
 
vector< vector< vector< double > > > hypothesis_angles
 
vector< vector< int > > vdifferent_offsets
 
vector< vector< double > > vdifferent_angles
 
unsigned cwst_event_number
 
unsigned cwst_center_phi_sector
 
double cwst_rms_noise
 
double cwst_actual_rms
 
double cwst_threshold
 
unsigned cwst_window_start
 
unsigned cwst_window_end
 
double cwst_deg_theta
 
double cwst_deg_phi
 
double cwst_actual_deg_theta
 
double cwst_actual_deg_phi
 
Vector cwst_rf_direction
 
Vector cwst_0th_sector_position
 
double cwst_timesteps [HALFNFOUR]
 
RX cwst_RXs [48]
 
RX cwst_aligned_wfms [9]
 
vector< double > cwst_summed_wfm
 
vector< double > cwst_power_of_summed_wfm
 
double cwst_power
 
double VNOISE_ANITALITE [NPHI_MAX]
 
double INCLINE_TOPTHREE
 
double INCLINE_NADIR
 
double LIVETIME
 
double SIGMA_THETA
 
double extraCableDelays [2][48]
 
Double_t fTimes [HALFNFOUR]
 
Double_t fSignalChainResponseA3DigitizerFreqDomain [2][3][16][400]
 
Double_t fSignalChainResponseDigitizerFreqDomain [2][3][16][7][400]
 
Double_t fSignalChainResponseTriggerFreqDomain [2][3][16][7][400]
 
Double_t fRatioTriggerToA3DigitizerFreqDomain [2][3][16][7][400]
 
Double_t fRatioDigitizerToA3DigitizerFreqDomain [2][3][16][7][400]
 
Double_t deltaT
 
Int_t trigEffScanPhi
 
Double_t trigEffScanAtt [5]
 
Double_t trigEffScanPhiDelay [5]
 
Double_t trigEffScanRingDelay [3]
 
Int_t trigEffScanApplyRingDelay [5]
 
Int_t trigEffScanRingsUsed [3]
 
Double_t trigEffScanPulseAtAmpa [HALFNFOUR]
 
Double_t trigEffScanPulseAtAmpaUpsampled [NFOUR]
 
Double_t trigEffScanAmplitudeAtAmpa [NFREQ]
 
Double_t trigEffScanPulseAtSurf [250][HALFNFOUR]
 
int TUFFstatus [3]
 
int ntuffs
 

Static Public Attributes

static const int NBANDS_MAX =100
 max number of bands More...
 
static const int NPOL =2
 number of polarizations More...
 
static const int NFREQ =128
 
static const int NTRIG =5
 
static const int NANTENNAS_MAX =2000
 
static const int NLAYERS_MAX =5
 max number of layers (in smex design, it's 4) More...
 
static const int NTRIGGERLAYERS_MAX =3
 
static const int NPHI_MAX =400
 max number of antennas around in phi (in smex, 16) More...
 
static const int NFOUR =1024
 
static const int HALFNFOUR =512
 
static const int npointThresh = 1640
 
static const int NPOINTS_BANDS =601
 
static const int NPOINTS_AMPL =58
 
static const int NPOINTS_NOISE =2000
 
static const int nsamp =100
 
static const unsigned N_SUMMED_PHI_SECTORS = 4
 
static const unsigned N_SUMMED_LAYERS = 3
 
static const int NTRIGPHISECTORS =16
 
static const int NPOINTS_GAIN =131
 
static const int NPOINTS_LAB =272
 
static const unsigned int NUM_COHERENT_ANTENNAS = 9
 

Private Member Functions

double GaintoHeight (double gain, double freq, double nmedium_receiver)
 
void setTrigRequirement (int WHICH)
 

Private Attributes

std::string stemp
 
TGraph * gshort [4]
 

Detailed Description

Contains everything about positions within payload and signals it sees for each event, in both the trigger and signal paths.

Constructor & Destructor Documentation

◆ Anita()

Anita::Anita ( )

◆ ~Anita()

Anita::~Anita ( )

Member Function Documentation

◆ AntennaGain()

void Anita::AntennaGain ( Settings settings1,
double  hitangle_e,
double  hitangle_h,
double  e_component,
double  h_component,
int  k,
double &  vsignalarray_e,
double &  vsignalarray_h 
)

◆ AntennaNumbertoSurfNumber()

int Anita::AntennaNumbertoSurfNumber ( int  ilayer,
int  ifold 
)
static

◆ AntennaWaveformtoSurf()

int Anita::AntennaWaveformtoSurf ( int  ilayer,
int  ifold 
)

◆ Banding() [1/2]

void Anita::Banding ( int  j,
double *  freq_noise,
double *  powerperfreq,
int  NPOINTS_NOISE 
)

◆ Banding() [2/2]

void Anita::Banding ( int  iband,
double *  vmmhz 
)

◆ BoxAverage()

void Anita::BoxAverage ( double *  array,
const int  n,
int  navg 
)

◆ BoxAverageComplex()

void Anita::BoxAverageComplex ( double *  array,
const int  n,
int  navg 
)

◆ calculate_all_offsets()

void Anita::calculate_all_offsets ( void  )

◆ calculate_antenna_positions()

void Anita::calculate_antenna_positions ( Settings settings1,
double  pitch,
double  roll,
double  phi_spin,
Vector  n_north,
Vector  n_east 
)

◆ calculate_single_offset() [1/2]

void Anita::calculate_single_offset ( const unsigned  center_phi_sector_index,
const double  angle_phi,
const double  angle_theta,
double  hypothesis_offset[][3] 
)

◆ calculate_single_offset() [2/2]

void Anita::calculate_single_offset ( const unsigned  center_phi_sector_index,
const unsigned  index_phi,
const unsigned  index_theta,
double  hypothesis_offset[][3] 
)

◆ calculateDelaysForEfficiencyScan()

void Anita::calculateDelaysForEfficiencyScan ( )

◆ convert_power_spectrum_to_voltage_spectrum_for_fft()

void Anita::convert_power_spectrum_to_voltage_spectrum_for_fft ( int  length,
double *  spectrum,
double  domain[],
double  phase[] 
)

◆ fill_coherent_waveform_sum_tree()

void Anita::fill_coherent_waveform_sum_tree ( unsigned  inu,
unsigned  center_phi_sector,
Settings settings1,
double  rms_noise,
double  actual_rms,
unsigned  window_start,
unsigned  window_end,
double  deg_theta,
double  deg_phi,
double  actual_deg_theta,
double  actual_deg_phi,
vector< double > &  summed_wfm,
vector< double > &  power_of_summed_wfm,
double  power 
)

◆ FromTimeDomainToIcemcArray()

void Anita::FromTimeDomainToIcemcArray ( double *  vsignalarray,
double  vhz[NFREQ] 
)

◆ GaintoHeight()

double Anita::GaintoHeight ( double  gain,
double  freq,
double  nmedium_receiver 
)
private

◆ Get_gain_angle()

double Anita::Get_gain_angle ( int  gain_type,
int  k,
double  hitangle 
)

◆ GetAntennaNumber()

int Anita::GetAntennaNumber ( int  ilayer,
int  ifold 
)
static

◆ GetArrayFromFFT()

void Anita::GetArrayFromFFT ( double *  tmp_fftvhz,
double *  vhz_rx 
)

◆ GetArrivalTimes()

void Anita::GetArrivalTimes ( const Vector rf_direction,
Balloon bn1,
Settings settings1 
)

◆ GetArrivalTimesBoresights() [1/2]

void Anita::GetArrivalTimesBoresights ( const Vector  rf_direction[NLAYERS_MAX][NPHI_MAX])

◆ GetArrivalTimesBoresights() [2/2]

void Anita::GetArrivalTimesBoresights ( const Vector  rf_direction[NLAYERS_MAX][NPHI_MAX],
Balloon bn1,
Settings settings1 
)

◆ GetBeamWidths()

int Anita::GetBeamWidths ( Settings settings1)

◆ getDifferentOffsets()

void Anita::getDifferentOffsets ( )

◆ GetDiffraction()

double Anita::GetDiffraction ( int  ilayer,
double  zenith_angle,
int  ifreq 
)

◆ getDiodeDataAndAttenuation()

void Anita::getDiodeDataAndAttenuation ( Settings settings1,
TString  outputdir 
)

◆ getDiodeModel()

void Anita::getDiodeModel ( )

◆ GetIfold()

int Anita::GetIfold ( int  rx)
static

◆ getLabAttn()

int Anita::getLabAttn ( int  NPOINTS_LAB,
double *  freqlab,
double *  labattn 
)

◆ GetLayer()

int Anita::GetLayer ( int  rx)
static

◆ GetNoiseWaveforms()

void Anita::GetNoiseWaveforms ( )

◆ GetPayload()

void Anita::GetPayload ( Settings settings1,
Balloon bn1 
)

◆ GetPhases()

void Anita::GetPhases ( )

◆ GetPhasesFromFFT()

void Anita::GetPhasesFromFFT ( double *  tmp_fftvhz,
double *  phases 
)

◆ getPulserData()

void Anita::getPulserData ( )

◆ GetRx()

int Anita::GetRx ( int  ilayer,
int  ifold 
)

get antenna number based on which layer and position it is

◆ GetRxTriggerNumbering()

int Anita::GetRxTriggerNumbering ( int  ilayer,
int  ifold 
)

get antenna number based on which layer and position it is

◆ GetSurfChannel()

int Anita::GetSurfChannel ( int  antenna,
int  ibw,
int  ipol 
)
static

◆ Initialize()

void Anita::Initialize ( Settings settings1,
ofstream &  foutput,
int  inu,
TString  outputdir 
)

initialize a bunch of stuff

◆ initializeFixedPowerThresholds()

void Anita::initializeFixedPowerThresholds ( ofstream &  foutput)

◆ labAttn()

void Anita::labAttn ( double *  vhz)

◆ MakeArrayforFFT()

void Anita::MakeArrayforFFT ( double *  vsignalarray_e,
double *  vsignal_e_forfft,
double  phasedelay,
bool  useconstantdelay 
)

◆ Match()

int Anita::Match ( int  ilayer,
int  ifold,
int  rx_minarrivaltime 
)

◆ myconvlv()

void Anita::myconvlv ( double *  timedomain_forconvl,
const int  NFOUR,
double *  fdiode,
double &  maxdiodeconvl,
double &  onediodeconvl,
double *  power_noise,
double *  diodeconv 
)

◆ normalize_for_nsamples()

void Anita::normalize_for_nsamples ( double *  spectrum,
double  nsamples,
double  nsamp 
)

◆ printDifferentOffsets()

void Anita::printDifferentOffsets ( )

◆ readAmplification()

void Anita::readAmplification ( )

◆ ReadGains()

void Anita::ReadGains ( void  )

◆ readVariableThresholds()

void Anita::readVariableThresholds ( Settings settings1)

◆ RFCMs()

void Anita::RFCMs ( int  ilayer,
int  ifold,
double *  vmmhz 
)

◆ Set_gain_angle()

void Anita::Set_gain_angle ( Settings settings1,
double  nmedium_receiver 
)

◆ SetDiffraction()

void Anita::SetDiffraction ( )

◆ setDiodeRMS()

void Anita::setDiodeRMS ( Settings settings1,
TString  outputdir 
)

◆ SetNoise()

void Anita::SetNoise ( Settings settings1,
Balloon bn1,
IceModel antarctica 
)

◆ setphiTrigMask()

void Anita::setphiTrigMask ( UInt_t  realTime_flightdata)

◆ setphiTrigMaskAnita3()

void Anita::setphiTrigMaskAnita3 ( UInt_t  realTime_flightdata)

◆ setTimeDependentThresholds()

void Anita::setTimeDependentThresholds ( UInt_t  realTime_flightdata)

◆ setTrigRequirement()

void Anita::setTrigRequirement ( int  WHICH)
private

◆ SurfChanneltoBand()

int Anita::SurfChanneltoBand ( int  isurf)
static

◆ WhichBand()

int Anita::WhichBand ( int  ibw,
int  ipol 
)
static

Member Data Documentation

◆ additionalDt

double Anita::additionalDt

◆ ampl

double Anita::ampl[NANTENNAS_MAX][NPOINTS_AMPL]

◆ ampl_notdb

double Anita::ampl_notdb[NANTENNAS_MAX][NPOINTS_AMPL]

◆ ANTENNA_DOWN

double Anita::ANTENNA_DOWN[NLAYERS_MAX][NPHI_MAX]

down angles of antennas from Kurt's measurements

◆ ANTENNA_POSITION_START

Vector Anita::ANTENNA_POSITION_START[2][NLAYERS_MAX][NPHI_MAX]

antenna positions from Kurt's measurements

◆ antenna_positions

Vector Anita::antenna_positions[2][NLAYERS_MAX *NPHI_MAX]

these are the antenna positions in space in a coordinate system where x=north and y=west and the origin is at the center of the payload

◆ antennatosurf

int Anita::antennatosurf[32]

◆ arrayofhits_forgaryanderic

int Anita::arrayofhits_forgaryanderic[3][16][2][HALFNFOUR]

◆ arrayofhits_inanita

int Anita::arrayofhits_inanita[3][16][2][HALFNFOUR]

◆ arrival_times

double Anita::arrival_times[2][NLAYERS_MAX *NPHI_MAX]

◆ attn_bands

double Anita::attn_bands[5][NPOINTS_BANDS]

◆ avgfreq_rfcm

double Anita::avgfreq_rfcm[NFREQ]

◆ avgfreq_rfcm_lab

double Anita::avgfreq_rfcm_lab[NFREQ]

◆ avgfreqdomain_lab

double Anita::avgfreqdomain_lab[HALFNFOUR/2]

◆ avgfreqdomain_lab_long

double Anita::avgfreqdomain_lab_long[HALFNFOUR]

◆ BANDING

int Anita::BANDING

◆ bandsattn

double Anita::bandsattn[5][NPOINTS_BANDS]

◆ bwmin

double Anita::bwmin

◆ bwslice_allowed

int Anita::bwslice_allowed[5]

◆ bwslice_center

double Anita::bwslice_center[5]

◆ bwslice_diodemean_fullband_allchan

double Anita::bwslice_diodemean_fullband_allchan[2][48][7]

◆ bwslice_dioderms_fullband_allchan

double Anita::bwslice_dioderms_fullband_allchan[2][48][7]

◆ bwslice_enoise

double Anita::bwslice_enoise[5]

◆ bwslice_fwhmnoise

double Anita::bwslice_fwhmnoise[5]

◆ bwslice_max

double Anita::bwslice_max[5]

◆ bwslice_meandiode

double Anita::bwslice_meandiode[5]

◆ bwslice_min

double Anita::bwslice_min[5]

◆ bwslice_required

int Anita::bwslice_required[5]

◆ bwslice_rmsdiode

double Anita::bwslice_rmsdiode[2][5]

◆ bwslice_thresholds

double Anita::bwslice_thresholds[5]

◆ bwslice_vnoise

double Anita::bwslice_vnoise[NLAYERS_MAX][5]

◆ bwslice_vrms

double Anita::bwslice_vrms[5]

◆ bwslice_width

double Anita::bwslice_width[5]

◆ channels_passing

int Anita::channels_passing[2][5]

channels passing. This is reset for every antenna for every event

◆ channels_passing_justNoise

int Anita::channels_passing_justNoise[2][5]

channels passing. This is reset for every antenna for every event

◆ coherent_datafile

TFile* Anita::coherent_datafile

◆ coherent_waveform_sum_tree

TTree* Anita::coherent_waveform_sum_tree

◆ correl_banding

double Anita::correl_banding[5][NPOINTS_BANDS]

◆ correl_lab

double Anita::correl_lab[NPOINTS_BANDS]

◆ count_getnoisewaveforms

int Anita::count_getnoisewaveforms

◆ cumulat_prob

double Anita::cumulat_prob[9]

◆ cumulat_prob_plus1

double Anita::cumulat_prob_plus1[9]

◆ cwst_0th_sector_position

Vector Anita::cwst_0th_sector_position

◆ cwst_actual_deg_phi

double Anita::cwst_actual_deg_phi

◆ cwst_actual_deg_theta

double Anita::cwst_actual_deg_theta

◆ cwst_actual_rms

double Anita::cwst_actual_rms

◆ cwst_aligned_wfms

RX Anita::cwst_aligned_wfms[9]

◆ cwst_center_phi_sector

unsigned Anita::cwst_center_phi_sector

◆ cwst_deg_phi

double Anita::cwst_deg_phi

◆ cwst_deg_theta

double Anita::cwst_deg_theta

◆ cwst_event_number

unsigned Anita::cwst_event_number

◆ cwst_power

double Anita::cwst_power

◆ cwst_power_of_summed_wfm

vector<double> Anita::cwst_power_of_summed_wfm

◆ cwst_rf_direction

Vector Anita::cwst_rf_direction

◆ cwst_rms_noise

double Anita::cwst_rms_noise

◆ cwst_RXs

RX Anita::cwst_RXs[48]

◆ cwst_summed_wfm

vector<double> Anita::cwst_summed_wfm

◆ cwst_threshold

double Anita::cwst_threshold

◆ cwst_timesteps

double Anita::cwst_timesteps[HALFNFOUR]

◆ cwst_window_end

unsigned Anita::cwst_window_end

◆ cwst_window_start

unsigned Anita::cwst_window_start

◆ dangle_inanita

double Anita::dangle_inanita

◆ deadTime

Double_t Anita::deadTime

fractional deadTime

◆ DEADTIME

double Anita::DEADTIME

◆ deltaT

Double_t Anita::deltaT

◆ deltaTPhaseCentre

Double_t Anita::deltaTPhaseCentre[2][NLAYERS_MAX][NPHI_MAX]

Relative to photogrammetry + ring offset.

◆ diffraction

double Anita::diffraction[2][89][NFREQ]

◆ diode_real

double Anita::diode_real[5][NFOUR]

◆ emfrac_inanita

double Anita::emfrac_inanita

◆ energythreshold

double Anita::energythreshold

◆ extraCableDelays

double Anita::extraCableDelays[2][48]

◆ f_noise

double Anita::f_noise[NFOUR/4]

◆ f_phases

double Anita::f_phases[NFOUR/4]

◆ f_pulser

double Anita::f_pulser[NFOUR/4]

◆ fakeScalers

Double_t Anita::fakeScalers[2][48]

Fake scalers (coming from converting threhsolds during flight to scalers using threshold scan)

◆ fakeThresholds

Double_t Anita::fakeThresholds[2][48]

Fake thresholds (coming from converting fake scalers to thresholds)

◆ fakeThresholds2

Double_t Anita::fakeThresholds2[2][48]

Fake thresholds 2 (coming from converting flight scalers to thresholds)

◆ fdata

TFile* Anita::fdata

◆ fdiode

TF1 Anita::fdiode

◆ fdiode_real

double Anita::fdiode_real[5][NFOUR]

◆ flag_e_inanita

int Anita::flag_e_inanita[5][HALFNFOUR]

◆ flag_h_inanita

int Anita::flag_h_inanita[5][HALFNFOUR]

◆ flare

double Anita::flare[4][NFREQ]

◆ fnoise

TFile* Anita::fnoise

◆ fRatioDigitizerToA3DigitizerFreqDomain

Double_t Anita::fRatioDigitizerToA3DigitizerFreqDomain[2][3][16][7][400]

◆ fRatioTriggerToA3DigitizerFreqDomain

Double_t Anita::fRatioTriggerToA3DigitizerFreqDomain[2][3][16][7][400]

◆ freq

double Anita::freq[NFREQ]

◆ freq_ampl

double Anita::freq_ampl[NANTENNAS_MAX][NPOINTS_AMPL]

◆ freq_bands

double Anita::freq_bands[5][NPOINTS_BANDS]

◆ freq_forfft

double Anita::freq_forfft[NFOUR]

◆ freq_forfft_long

double Anita::freq_forfft_long[2 *NFOUR]

◆ freq_forplotting

double Anita::freq_forplotting[NFOUR/4]

◆ freq_forplotting_long

double Anita::freq_forplotting_long[NFOUR/2]

◆ FREQ_HIGH

double Anita::FREQ_HIGH

highest frequency

◆ FREQ_LOW

double Anita::FREQ_LOW

lowest frequency

◆ freq_noise

double Anita::freq_noise[5][NPOINTS_NOISE]

◆ freqdomain_rfcm

double Anita::freqdomain_rfcm[HALFNFOUR/2]

◆ freqdomain_rfcm_banding

double Anita::freqdomain_rfcm_banding[5][HALFNFOUR/2]

◆ freqdomain_rfcm_banding_long

double Anita::freqdomain_rfcm_banding_long[5][HALFNFOUR]

◆ freqdomain_rfcm_long

double Anita::freqdomain_rfcm_long[HALFNFOUR]

◆ freqdomain_rfcm_theory

double Anita::freqdomain_rfcm_theory[HALFNFOUR/2]

◆ freqlab

double Anita::freqlab[NPOINTS_LAB]

◆ frequency_forgain_measured

double Anita::frequency_forgain_measured[NPOINTS_GAIN]

◆ fSignalChainResponseA3DigitizerFreqDomain

Double_t Anita::fSignalChainResponseA3DigitizerFreqDomain[2][3][16][400]

◆ fSignalChainResponseDigitizerFreqDomain

Double_t Anita::fSignalChainResponseDigitizerFreqDomain[2][3][16][7][400]

◆ fSignalChainResponseTriggerFreqDomain

Double_t Anita::fSignalChainResponseTriggerFreqDomain[2][3][16][7][400]

◆ fsignals

TFile* Anita::fsignals

◆ fsurf

TFile* Anita::fsurf

◆ fTimes

Double_t Anita::fTimes[HALFNFOUR]

◆ fturf

TFile* Anita::fturf

◆ gain

double Anita::gain[2][NFREQ]

◆ gain_angle

double Anita::gain_angle[4][NPOINTS_GAIN][7]

◆ gainh_measured

double Anita::gainh_measured[NPOINTS_GAIN]

◆ gainhv_measured

double Anita::gainhv_measured[NPOINTS_GAIN]

◆ GAINS

int Anita::GAINS

◆ gainv_measured

double Anita::gainv_measured[NPOINTS_GAIN]

◆ gainvh_measured

double Anita::gainvh_measured[NPOINTS_GAIN]

◆ gshort

TGraph* Anita::gshort[4]
private

◆ hadfrac_inanita

double Anita::hadfrac_inanita

◆ HALFNFOUR

const int Anita::HALFNFOUR =512
static

◆ hhGaintoHeight

double Anita::hhGaintoHeight[NFREQ]

◆ hsignals

TH1F* Anita::hsignals[5]

s/n (max diode output/mean diode output) for vertical polarization in each band

◆ hvGaintoHeight

double Anita::hvGaintoHeight[NFREQ]

◆ hypothesis_angles

vector< vector< vector <double> > > Anita::hypothesis_angles

◆ hypothesis_offsets

unsigned Anita::hypothesis_offsets[16][200][200][4][3]

◆ idelaybeforepeak

int Anita::idelaybeforepeak[5]

◆ imaxbin

int Anita::imaxbin[5]

◆ iminbin

int Anita::iminbin[5]

this is the minimum bin to start

◆ impedence

double Anita::impedence

◆ INCLINE_NADIR

double Anita::INCLINE_NADIR

◆ INCLINE_TOPTHREE

double Anita::INCLINE_TOPTHREE

◆ integral_vmmhz_foranita

double Anita::integral_vmmhz_foranita

◆ INTEGRATIONTIME

double Anita::INTEGRATIONTIME

◆ inu

int Anita::inu

Neutrino number.

◆ inv_angle_bin_size

double Anita::inv_angle_bin_size[6]

◆ irx

int Anita::irx

◆ isurf

int Anita::isurf

◆ iturf

int Anita::iturf

◆ iturfevent

int Anita::iturfevent

◆ iwindow

int Anita::iwindow[5]

◆ l1_passing

int Anita::l1_passing

◆ l1_passing_allantennas

int Anita::l1_passing_allantennas[48]

◆ l1trig_anita3and4_inanita

int Anita::l1trig_anita3and4_inanita[2][16][HALFNFOUR]

◆ l1trig_anita4lr_forgaryanderic

int Anita::l1trig_anita4lr_forgaryanderic[3][16][HALFNFOUR]

◆ l1trig_anita4lr_inanita

int Anita::l1trig_anita4lr_inanita[3][16][HALFNFOUR]

◆ l1TrigMask

UShort_t Anita::l1TrigMask

◆ l1TrigMaskH

UShort_t Anita::l1TrigMaskH

◆ l1window

double Anita::l1window

◆ l2trig_anita4lr_forgaryanderic

int Anita::l2trig_anita4lr_forgaryanderic[16][HALFNFOUR]

when it passes 2/3

◆ l2trig_anita4lr_inanita

int Anita::l2trig_anita4lr_inanita[16][3][HALFNFOUR]

◆ l3trig_anita4lr_inanita

int Anita::l3trig_anita4lr_inanita[16][HALFNFOUR]

◆ l3type0trig_anita4lr_forgaryanderic

int Anita::l3type0trig_anita4lr_forgaryanderic[16][HALFNFOUR]

◆ l3type0trig_anita4lr_inanita

int Anita::l3type0trig_anita4lr_inanita[16][HALFNFOUR]

◆ l3type1trig_anita4lr_forgaryanderic

int Anita::l3type1trig_anita4lr_forgaryanderic[16][HALFNFOUR]

◆ labattn

double Anita::labattn[NPOINTS_LAB]

◆ LAYER_HPOSITION

double Anita::LAYER_HPOSITION[Anita::NLAYERS_MAX]

distance in horizontal plane between center axis of the "payload" and each "layer".

◆ LAYER_PHIPOSITION

double Anita::LAYER_PHIPOSITION[Anita::NLAYERS_MAX]

phi corresponding to the position of each "layer" on the "payload"

◆ LAYER_VPOSITION

double Anita::LAYER_VPOSITION[Anita::NLAYERS_MAX]

position of layers in z relative to vertical center of the payload

◆ LIVETIME

double Anita::LIVETIME

◆ MAX_PHI_HYPOTHESIS

double Anita::MAX_PHI_HYPOTHESIS

◆ MAX_THETA_HYPOTHESIS

double Anita::MAX_THETA_HYPOTHESIS

◆ maxadcthresh

Float_t Anita::maxadcthresh[2][48]

◆ maxbin_fortotal

int Anita::maxbin_fortotal[5]

when it sums the noise and signal together it shortens the waveform

◆ maxt_diode

double Anita::maxt_diode

◆ maxthreshold

double Anita::maxthreshold

◆ MIN_PHI_HYPOTHESIS

double Anita::MIN_PHI_HYPOTHESIS

◆ MIN_THETA_HYPOTHESIS

double Anita::MIN_THETA_HYPOTHESIS

◆ minadcthresh

Float_t Anita::minadcthresh[2][48]

◆ minsignalstrength

double Anita::minsignalstrength

◆ N_STEPS_PHI

unsigned Anita::N_STEPS_PHI

◆ N_STEPS_THETA

unsigned Anita::N_STEPS_THETA

◆ N_SUMMED_LAYERS

const unsigned Anita::N_SUMMED_LAYERS = 3
static

◆ N_SUMMED_PHI_SECTORS

const unsigned Anita::N_SUMMED_PHI_SECTORS = 4
static

◆ NANTENNAS_MAX

const int Anita::NANTENNAS_MAX =2000
static

◆ NBANDS

int Anita::NBANDS

number of frequency sub-bands (not counting full band)

◆ NBANDS_MAX

const int Anita::NBANDS_MAX =100
static

max number of bands

◆ NCH_PASS

int Anita::NCH_PASS

◆ NFOUR

const int Anita::NFOUR =1024
static

◆ NFREQ

const int Anita::NFREQ =128
static

◆ NLAYERS_MAX

const int Anita::NLAYERS_MAX =5
static

max number of layers (in smex design, it's 4)

◆ nnoiseevents

int Anita::nnoiseevents

total number of noise events we're choosing from

◆ noiseeventcounter

int Anita::noiseeventcounter

counts which event we're on so we go in order

◆ noisetemp

double Anita::noisetemp[NANTENNAS_MAX][NPOINTS_AMPL]

◆ NOTCH_MAX

double Anita::NOTCH_MAX

◆ NOTCH_MIN

double Anita::NOTCH_MIN

low edge of notch filter. This is set in the input file

◆ NPHI_MAX

const int Anita::NPHI_MAX =400
static

max number of antennas around in phi (in smex, 16)

◆ NPOINTS_AMPL

const int Anita::NPOINTS_AMPL =58
static

◆ NPOINTS_BANDS

const int Anita::NPOINTS_BANDS =601
static

◆ NPOINTS_GAIN

const int Anita::NPOINTS_GAIN =131
static

◆ NPOINTS_LAB

const int Anita::NPOINTS_LAB =272
static

◆ NPOINTS_NOISE

const int Anita::NPOINTS_NOISE =2000
static

◆ npointThresh

const int Anita::npointThresh = 1640
static

◆ NPOL

const int Anita::NPOL =2
static

number of polarizations

◆ NRX_PHI

int Anita::NRX_PHI[NLAYERS_MAX]

number of antennas around in each layer. (radians)

◆ nsamp

const int Anita::nsamp =100
static

◆ NTRIG

const int Anita::NTRIG =5
static

◆ NTRIGGERLAYERS

int Anita::NTRIGGERLAYERS

◆ NTRIGGERLAYERS_MAX

const int Anita::NTRIGGERLAYERS_MAX =3
static

◆ NTRIGPHISECTORS

const int Anita::NTRIGPHISECTORS =16
static

◆ ntuffs

int Anita::ntuffs

◆ NUM_COHERENT_ANTENNAS

const unsigned int Anita::NUM_COHERENT_ANTENNAS = 9
static

◆ number_all_antennas

int Anita::number_all_antennas

this keeps count of the number of antennas for use with timing calculations, etc.

◆ passglobtrig

int Anita::passglobtrig[2]

◆ peak_rx_rfcm

double Anita::peak_rx_rfcm[2]

peak voltage in e/h polarization received by the antenna

◆ peak_rx_rfcm_lab

double Anita::peak_rx_rfcm_lab[2]

peaks of the previous arrays

◆ peak_rx_rfcm_signalonly

double Anita::peak_rx_rfcm_signalonly[2]

peak voltage in e/h polarization received by the antenna

◆ peak_rx_signalonly

double Anita::peak_rx_signalonly[2]

peak voltage in e/h polarization received by the antenna

◆ peak_v_banding_rfcm

double Anita::peak_v_banding_rfcm[2][5]

peak V in e/h polarization after rfcm's and banding

◆ PERCENTBW

int Anita::PERCENTBW

percent bandwidth

◆ phase

double Anita::phase

◆ phases

double Anita::phases[5][HALFNFOUR]

◆ phases_lab

double Anita::phases_lab[2][HALFNFOUR]

◆ phases_lab_long

double Anita::phases_lab_long[2][HALFNFOUR]

◆ phases_rfcm

double Anita::phases_rfcm[2][HALFNFOUR/2]

◆ phases_rfcm_banding

double Anita::phases_rfcm_banding[2][5][HALFNFOUR/2]

◆ phases_rfcm_banding_long

double Anita::phases_rfcm_banding_long[2][5][HALFNFOUR]

◆ phases_rfcm_long

double Anita::phases_rfcm_long[2][HALFNFOUR]

◆ PHI_EACHLAYER

double Anita::PHI_EACHLAYER[NLAYERS_MAX][NPHI_MAX]

phi of the center of each antenna on each layer

◆ PHI_OFFSET

double Anita::PHI_OFFSET[NLAYERS_MAX]

antenna offset in phi for each layer (radians)

◆ PHITRIG

int Anita::PHITRIG[NLAYERS_MAX]

◆ phiTrigMask

UShort_t Anita::phiTrigMask

◆ phiTrigMaskH

UShort_t Anita::phiTrigMaskH

◆ pol_allowed

int Anita::pol_allowed[2]

◆ pol_required

int Anita::pol_required[2]

◆ powerthreshold

double Anita::powerthreshold[5]

◆ powerthreshold_nadir

double Anita::powerthreshold_nadir[5]

◆ probability

double Anita::probability[5]

◆ realTime_surf

unsigned int Anita::realTime_surf

realtime from the surf file

◆ realTime_surf_max

unsigned int Anita::realTime_surf_max

max realtime from the surf file

◆ realTime_surf_min

unsigned int Anita::realTime_surf_min

min realtime from the surf file

◆ realTime_tr_max

unsigned int Anita::realTime_tr_max

max realtime from the turf rate file

◆ realTime_tr_min

unsigned int Anita::realTime_tr_min

min realtime from the turf rate file

◆ realTime_turfrate

unsigned int Anita::realTime_turfrate

realtime from the turf rate file

◆ reference_angle

double Anita::reference_angle[7]

◆ REQUIRE_CENTRE

int Anita::REQUIRE_CENTRE

◆ rms_lab

double Anita::rms_lab[2]

rms noise at lab chip

◆ rms_rfcm

double Anita::rms_rfcm[2]

rms noise just after rfcm's

◆ rms_rfcm_e_single_event

double Anita::rms_rfcm_e_single_event

This is in Volts, not mV!

◆ RRX

double Anita::RRX[Anita::NLAYERS_MAX]

radius that the antenna sits from the axis of the payload (feedpoint)

◆ rx_minarrivaltime

int Anita::rx_minarrivaltime

◆ scalef1

double Anita::scalef1[NFREQ]

◆ scalef2

double Anita::scalef2[NFREQ]

◆ scalers

UShort_t Anita::scalers[2][48]

scalers as read from the surf file: first index is pol, second is antenna number (only working for Anita3)

◆ SIGMA_THETA

double Anita::SIGMA_THETA

◆ signal_vpol_inanita

double Anita::signal_vpol_inanita[5][HALFNFOUR]

this is the signal waveform in the vertical polarization, before converting to LCP, RCP where applicable

◆ SIMON_DELTA_PHI

double Anita::SIMON_DELTA_PHI[NLAYERS_MAX][NPHI_MAX]

measurements by Simon used in analysis ANITA-2

◆ SIMON_DELTA_R

double Anita::SIMON_DELTA_R[NLAYERS_MAX][NPHI_MAX]

measurements by Simon used in analysis ANITA-2

◆ stemp

std::string Anita::stemp
private

◆ ston

double Anita::ston[5]

signal to noise;

◆ surfchain

TTree* Anita::surfchain

◆ tdata

TTree* Anita::tdata

writing data out for the analysers

◆ tdiode

TTree* Anita::tdiode

◆ tgaryanderic

TTree* Anita::tgaryanderic

writing data out for the analysers

◆ tglob

TTree* Anita::tglob

◆ THERMALNOISE_FACTOR

double Anita::THERMALNOISE_FACTOR

factor to multiply thermal noise for error analysis

◆ THETA_ZENITH

double Anita::THETA_ZENITH[NLAYERS_MAX]

how the antenna is tilted in theta (in radians with 0=up)

◆ thresholds

UShort_t Anita::thresholds[2][48]

thresholds as read from the surf file: first index is pol, second is antenna number (only working for Anita3)

◆ threshScanScaler

Float_t Anita::threshScanScaler[2][48][npointThresh]

scalers from threshold scan

◆ threshScanThresh

Float_t Anita::threshScanThresh[2][48][npointThresh]

adc thresholds from threshold scan

◆ time

double Anita::time[NFOUR/2]

◆ time_centered

double Anita::time_centered[NFOUR/2]

◆ time_long

double Anita::time_long[NFOUR]

◆ time_trig

double Anita::time_trig[HALFNFOUR]

◆ timedomain_output_allantennas

double Anita::timedomain_output_allantennas[2][48][HALFNFOUR]

this is across all antennas, just the full band

◆ timedomain_output_corrected_forplotting

double Anita::timedomain_output_corrected_forplotting[2][6][HALFNFOUR]

this is just for writing out to the following tree

◆ timedomain_output_inanita

double Anita::timedomain_output_inanita[2][5][HALFNFOUR]

this is just for writing out to the following tree

◆ timedomainnoise_lab

double Anita::timedomainnoise_lab[2][HALFNFOUR]

◆ timedomainnoise_lab_long

double Anita::timedomainnoise_lab_long[2][HALFNFOUR]

◆ timedomainnoise_rfcm

double Anita::timedomainnoise_rfcm[2][HALFNFOUR]

◆ timedomainnoise_rfcm_banding

double Anita::timedomainnoise_rfcm_banding[2][5][HALFNFOUR]

◆ timedomainnoise_rfcm_banding_long

double Anita::timedomainnoise_rfcm_banding_long[2][5][HALFNFOUR]

◆ timedomainnoise_rfcm_long

double Anita::timedomainnoise_rfcm_long[2][HALFNFOUR]

◆ timedomainsignal_lab

double Anita::timedomainsignal_lab[HALFNFOUR]

◆ timedomainsignal_rfcm

double Anita::timedomainsignal_rfcm[HALFNFOUR]

◆ TIMESTEP

double Anita::TIMESTEP

◆ total_diodeinput_1_allantennas

double Anita::total_diodeinput_1_allantennas[48][HALFNFOUR]

this is across all antennas, just the full band

◆ total_diodeinput_1_inanita

double Anita::total_diodeinput_1_inanita[5][HALFNFOUR]

this is the waveform that is input to the tunnel diode in the first (LCP or vertical) polarization

◆ total_diodeinput_2_allantennas

double Anita::total_diodeinput_2_allantennas[48][HALFNFOUR]

needs comment

◆ total_diodeinput_2_inanita

double Anita::total_diodeinput_2_inanita[5][HALFNFOUR]

this is the waveform that is input to the tunnel diode in the second (RCP or horizontal) polarization

◆ total_vpol_inanita

double Anita::total_vpol_inanita[5][HALFNFOUR]

this is the sum of the signal and noise in the vertical polarization, before converting to LCP, RCP where applicable

◆ TRIG_TIMESTEP

double Anita::TRIG_TIMESTEP

◆ trigEffScanAmplitudeAtAmpa

Double_t Anita::trigEffScanAmplitudeAtAmpa[NFREQ]

◆ trigEffScanApplyRingDelay

Int_t Anita::trigEffScanApplyRingDelay[5]

◆ trigEffScanAtt

Double_t Anita::trigEffScanAtt[5]

◆ trigEffScanPhi

Int_t Anita::trigEffScanPhi

◆ trigEffScanPhiDelay

Double_t Anita::trigEffScanPhiDelay[5]

◆ trigEffScanPulseAtAmpa

Double_t Anita::trigEffScanPulseAtAmpa[HALFNFOUR]

◆ trigEffScanPulseAtAmpaUpsampled

Double_t Anita::trigEffScanPulseAtAmpaUpsampled[NFOUR]

◆ trigEffScanPulseAtSurf

Double_t Anita::trigEffScanPulseAtSurf[250][HALFNFOUR]

◆ trigEffScanRingDelay

Double_t Anita::trigEffScanRingDelay[3]

◆ trigEffScanRingsUsed

Int_t Anita::trigEffScanRingsUsed[3]

◆ trigRequirements

int Anita::trigRequirements[NLAYERS_MAX]

◆ tsignals

TTree* Anita::tsignals

◆ tuffIndex

int Anita::tuffIndex

◆ TUFFstatus

int Anita::TUFFstatus[3]

◆ turfratechain

TTree* Anita::turfratechain

◆ USEPHASES

int Anita::USEPHASES

◆ v_noise

double Anita::v_noise[NFOUR/4]

◆ v_phases

double Anita::v_phases[NFOUR/4]

◆ v_pulser

double Anita::v_pulser[NFOUR/4]

◆ vdifferent_angles

vector< vector <double> > Anita::vdifferent_angles

◆ vdifferent_offsets

vector< vector <int> > Anita::vdifferent_offsets

◆ vhGaintoHeight

double Anita::vhGaintoHeight[NFREQ]

◆ vmmhz_banding

double Anita::vmmhz_banding[NFREQ]

V/m/MHz after banding.

◆ vmmhz_banding_rfcm

double Anita::vmmhz_banding_rfcm[NFREQ]

V/m/MHz after banding and rfcms.

◆ VNOISE

double Anita::VNOISE[NLAYERS_MAX]

◆ VNOISE_ANITALITE

double Anita::VNOISE_ANITALITE[NPHI_MAX]

◆ vvGaintoHeight

double Anita::vvGaintoHeight[NFREQ]

◆ weight_inanita

double Anita::weight_inanita

◆ whichbin

int Anita::whichbin[NFREQ]

The documentation for this class was generated from the following files: