133 Ray *ray1,
int &beyondhorizon,
double len_int_km2,
Vector * force_dir = 0);
227 int ilayer,
int ifold,
252 double& n_component);
272 double& e_component_kvector,
273 double& h_component_kvector,
274 double& n_component_kvector);
289 double e_component_kvector,
290 double h_component_kvector,
291 double n_component_kvector,
double theta_bn
Definition: balloon.hh:64
double realtime_bn_anitalite[100000]
same for real life time
Definition: balloon.hh:87
Position r_bn
position of balloon
Definition: balloon.hh:66
double latitude
Definition: balloon.hh:53
double max_time
Definition: balloon.hh:91
void GetEcompHcompkvector(Vector n_eplane, Vector n_hplane, Vector n_normal, const Vector n_exit2bn, double &e_component_kvector, double &h_component_kvector, double &n_component_kvector)
This function gets the e-component, h-component and k-vector.
Definition: balloon.cc:690
string sslacpositions[MAX_POSITIONS]
Definition: balloon.hh:46
double altitude_bn_anitalite[100000]
same for altitude
Definition: balloon.hh:85
double phi_spin
orientation of the balloon
Definition: balloon.hh:79
Vector unRotatePayload(Vector ant_pos)
This function UN-rotates the payload.
Definition: balloon.cc:1221
double BN_LATITUDE
balloon latitude for fixed balloon location
Definition: balloon.hh:89
void GetBoresights(Settings *settings1, Anita *anita1, Position r_boresights[Anita::NLAYERS_MAX][Anita::NPHI_MAX])
This function gets the boresights.
This class represents a three-vector. Operators are overloaded to provide for the familiar operations...
Definition: vector.hh:27
TTreeIndex * tindex
Definition: balloon.hh:49
double MINALTITUDE
minimum altitude balloon needs to be before we consider it a good event to read from the flight data ...
Definition: balloon.hh:54
Position r_boresights[Anita::NLAYERS_MAX][Anita::NPHI_MAX]
position of antenna boresights
Definition: balloon.hh:69
void CenterPayload(double &hitangle_e)
This function centers the payload.
Definition: balloon.cc:639
Vector RotatePayload(Vector ant_pos)
This function rotates the payload.
Definition: balloon.cc:1164
float faltitude
Definition: balloon.hh:52
int NPOINTS_MAX
Definition: balloon.hh:82
double roll
Definition: balloon.hh:53
void GetHitAngles(double e_component_kvector, double h_component_kvector, double n_component_kvector, double &hitangle_e, double &hitangle_h)
This function gets the hit angles.
Definition: balloon.cc:726
void PickBalloonPosition(Vector straightup, IceModel *antarctica, Settings *settings1, Anita *anita1)
This function picks the balloon position.
Definition: balloon.cc:317
Vector x_axis_rot
Definition: balloon.hh:70
double pitch
Definition: balloon.hh:53
unsigned int realTime_flightdata_temp
realtime from the flight data file
Definition: balloon.hh:50
void GetSlacPositions(Anita *anita1)
This function gets the slac balloon positions.
Definition: balloon.cc:917
double min_time
Definition: balloon.hh:90
void calculate_antenna_positions(Settings *settings1, Anita *anita1)
This function calculates antenna positions.
Definition: balloon.cc:1127
double longitude_bn_anitalite[100000]
same for longitude
Definition: balloon.hh:84
Ice thicknesses and water depth.
Definition: icemodel.hh:88
double phi_bn
theta,phi of balloon wrt south pole
Definition: balloon.hh:65
void PickDownwardInteractionPoint(Interaction *interaction1, Anita *anita1, Settings *settings1, IceModel *antarctica1, Ray *ray1, int &beyondhorizon, double len_int_km2, Vector *force_dir=0)
This function picks downward interaction point.
Definition: balloon.cc:762
double vertcoord_bn
y component of balloon position
Definition: balloon.hh:68
Balloon()
Definition: balloon.cc:36
This class is a 3-vector that represents a position on the Earth's surface.
Definition: position.hh:26
float fheading
Definition: balloon.hh:52
void setObservationLocation(Interaction *interaction1, int inu, IceModel *antarctic, Settings *settings1)
This function sets the observation location.
Definition: balloon.cc:46
void AdjustSlacBalloonPosition(int inu)
This function adjusts the slac balloon position.
Definition: balloon.cc:627
int REDUCEBALLOONPOSITIONS
only take every 100th entry in the flight data file
Definition: balloon.hh:56
int islacposition
Definition: balloon.hh:47
int NPOINTS
number of GPS positions we're picking from.
Definition: balloon.hh:80
float flongitude
Definition: balloon.hh:52
static const int MAX_POSITIONS
for the slac beam test
Definition: balloon.hh:44
static const int NPHI_MAX
max number of antennas around in phi (in smex, 16)
Definition: anita.hh:61
float powerthresh[9][32]
power threshold in Watts
Definition: balloon.hh:61
int Getibnposition()
This function gets ith balloon position.
Definition: balloon.cc:303
double heading
Definition: balloon.hh:53
float fpitch
Definition: balloon.hh:52
void setr_bn(double latitude, double longitude)
This function sets r of the balloon.
Definition: balloon.cc:742
Ray tracing.
Definition: ray.hh:20
Handles everything related to balloon positions, payload orientation over the course of a flight...
Definition: balloon.hh:30
Reads in and stores input settings for the run.
Definition: Settings.h:35
double MAXHORIZON
pick the interaction within this distance from the balloon so that it is within the horizon ...
Definition: balloon.hh:78
TChain * flightdatachain
Definition: balloon.hh:48
float froll
Definition: balloon.hh:52
double horizcoord_bn
x component of balloon position
Definition: balloon.hh:67
double BN_ALTITUDE
pick balloon altitude
Definition: balloon.hh:59
Vector n_north
north, as seen from the balloon position
Definition: balloon.hh:75
static const int NLAYERS_MAX
max number of layers (in smex design, it's 4)
Definition: anita.hh:59
double heading_bn_anitalite[100000]
same for heading of the balloon
Definition: balloon.hh:86
int NPOINTS_MIN
min and max index for gps positions we want to include in the simulation (to exclude launch and fall)...
Definition: balloon.hh:81
float meanp[9][32]
mean power in Watts
Definition: balloon.hh:62
int WHICHPATH
0=fixed balloon position,1=randomized,2=ANITA-lite GPS data,3=banana plot
Definition: balloon.hh:57
float flatitude
Definition: balloon.hh:52
int RANDOMIZE_BN_ORIENTATION
0=fixed balloon orientation,1=randomized
Definition: balloon.hh:58
double BN_LONGITUDE
balloon longitude for fixed balloon location
Definition: balloon.hh:88
double GetBalloonSpin(double heading)
This function gets the spin of the balloon whatever that means.
Definition: balloon.cc:287
Position r_bn_shadow
position of the balloon projected on earth surface - point just below balloon at surface of the earth...
Definition: balloon.hh:77
int ibnposition
Definition: balloon.hh:42
Vector z_axis_rot
Definition: balloon.hh:72
Vector slacpositions[MAX_POSITIONS]
Definition: balloon.hh:45
double latitude_bn_anitalite[100000]
latitude at times along flightpath, equally distributed among gps data. This is filled with anita or ...
Definition: balloon.hh:83
unsigned int realTime_flightdata
realtime from the flight data file
Definition: balloon.hh:51
void GetEcompHcompEvector(Settings *settings1, Vector n_eplane, Vector n_hplane, const Vector n_pol, double &e_component, double &h_component, double &n_component)
This function gets the e-component, h-component and e-vector.
Definition: balloon.cc:704
Vector n_bn
normalized r_bn
Definition: balloon.hh:73
Vector n_east
east, as seen from the balloon position
Definition: balloon.hh:74
Vector y_axis_rot
Definition: balloon.hh:71
double dtryingposition
weighting factor: how many equivalent tries each neutrino counts for after having reduced possible in...
Definition: balloon.hh:43
double surface_under_balloon
distance between center of the earth and the surface of earth under balloon
Definition: balloon.hh:76
int inu
Definition: icemc.cc:124
Contains everything about positions within payload and signals it sees for each event, in both the trigger and signal paths.
Definition: anita.hh:32
int igps_previous
which entry from the flight data file the previous event was so we can just take the next one...
Definition: balloon.hh:55
unsigned short surfTrigBandMask[9][2]
Ryan's 16 bit masks for 9 surfs. 2x16 bit masks gives 32 channels per surf.
Definition: balloon.hh:60
void ReadAnitaliteFlight()
This function reads in the ANITA LITE flight.
Definition: balloon.cc:112
void SetDefaultBalloonPosition(IceModel *antarctica1)
This function sets the default balloon position.
Definition: balloon.cc:75
int igps
which balloon position do we use out of the 25000 anitalite GPS positions.
Definition: balloon.hh:41
double altitude_bn
Definition: balloon.hh:63
double altitude
Definition: balloon.hh:53
double longitude
Definition: balloon.hh:53
Stores everything about a particular neutrino interaction. Interaction.
Definition: Primaries.h:136
void InitializeBalloon()
This function initializes the balloon or the specific flight.
Definition: balloon.cc:188
void GetAntennaOrientation(Settings *settings1, Anita *anita1, int ilayer, int ifold, Vector &n_eplane, Vector &n_hplane, Vector &n_normal)
This function gets the antenna orientation.
Definition: balloon.cc:649