Reads in and stores input settings for the run. More...
#include <Settings.h>
Public Member Functions | |
Settings () | |
~Settings () | |
void | Initialize () |
void | printAllKeyValuePairStrings () |
void | getSetting (const char *key, int &value, bool nonag=false) |
void | getSetting (const char *key, float &value, bool nonag=false) |
void | getSetting (const char *key, double &value, bool nonag=false) |
void | getSetting (const char *key, std::string &value, bool nonag=false) |
void | getSetting (const char *key, vector< int > &valueArray, bool nonag=false) |
void | getSetting (const char *key, vector< float > &valueArray, bool nonag=false) |
void | getSetting (const char *key, vector< double > &valueArray, bool nonag=false) |
void | ReadInputs (const char *fileName, ofstream &foutput, int &NNU, double &RANDOMISEPOL) |
void | ApplyInputs (Anita *anita1, Secondaries *sec1, Signal *sig1, Balloon *bn1, Ray *ray1) |
ClassDef (Settings, 2) | |
Public Attributes | |
int | UNBIASED_SELECTION |
double | UNBIASED_PS_MAX_DISTANCE_KM |
double | UNBIASED_CHORD_STEP_M |
int | WHICH |
int | ANITAVERSION |
int | CYLINDRICALSYMMETRY |
double | SIGMA_FACTOR |
int | SIGMAPARAM |
int | YPARAM |
int | SIGNAL_FLUCT |
int | TRIGGERSCHEME |
int | ZEROSIGNAL |
int | REMOVEPOLARIZATION |
double | INCLINE_TOPTHREE |
double | INCLINE_NADIR |
int | USEDARTBOARD |
int | GAINS |
int | BANDING |
int | NBANDS |
int | PERCENTBW |
int | trigRequirements [4] |
int | REQUIRE_CENTRE |
double | INCLUDE_NADIRONLY |
int | PULSER |
double | SIGMA_THETA |
double | FREQ_LOW |
lowest frequency | |
double | FREQ_HIGH |
int | SECONDARIES |
int | TAUDECAY |
int | trigEffScanPhi |
int | WHICHPATH |
int | BN_LATITUDE |
int | BN_LONGITUDE |
int | BN_ALTITUDE |
int | RANDOMIZE_BN_ORIENTATION |
int | CENTER |
whether or not to center one phi sector of the payload on the incoming signal (for making signal efficiency curves) | |
double | MAXHORIZON |
int | EVENTSMAP |
int | WHICHRAYS |
int | MAKEVERTICAL |
int | LCPRCP |
int | JUSTVPOL |
int | NFOLD |
int | CHMASKING |
int | PHIMASKING |
int | NLAYERS |
int | NANTENNAS |
int | ONLYFINAL |
int | HIST_MAX_ENTRIES |
int | HIST |
double | BW |
int | DISCONES |
double | NDISCONES_PASS |
int | BORESIGHTS |
int | SLAC |
double | SLACSLOPE |
double | SLACICELENGTH |
double | SLAC_HORIZDIST |
double | SLAC_DEPTH |
double | SLAC_HORIZ_DEPTH |
std::string | SOURCE |
std::string | WHICH_SOURCES |
std::string | WHICH_SUBTYPE |
std::string | WHICH_START_TIME |
std::string | WHICH_END_TIME |
int | SOURCE_USE_EXPONENT |
double | SOURCE_MIN_E |
double | SOURCE_MAX_E |
int | SOURCE_SKIP_WHEN_NONE |
int | ROUGHNESS |
int | FIRN |
int | SLOPEY |
double | SLOPEYSIZE |
bool | DEBUG |
double | THERMALNOISE_FACTOR |
double | FREQ_LOW_SEAVEYS |
double | FREQ_HIGH_SEAVEYS |
double | BW_SEAVEYS |
int | FORSECKEL |
double | ROUGHSIZE |
double | SCREENEDGELENGTH |
double | SCREENSTEPSIZE |
int | ICE_MODEL |
int | NOFZ |
int | CONSTANTCRUST |
int | CONSTANTICETHICKNESS |
int | FIXEDELEVATION |
int | MOOREBAY |
int | USEPOSITIONWEIGHTS |
int | WRITE_FILE |
int | MINRAY |
int | MAXRAY |
int | horizontal_banana_points |
int | vertical_banana_points |
double | EXPONENT |
int | FILLRAYTREES |
int | SEED |
double | THETA_TH_FACTOR |
double | CHANCEINHELL_FACTOR |
int | WEIGHTABSORPTION |
int | CONSTANTY |
int | taumodes |
int | VARIABLE_ATTEN |
int | TRIGTYPE |
int | ATMOSPHERE |
int | SCALEDOWNLCPRX1 |
int | SCALEDOWNEPOLRX1 |
int | SCALEDOWNHPOLRX1 |
int | SCALEDOWNEPOLRX2 |
double | SCALEFACTOREPOLRX2 |
int | SCALEDOWNHPOLRX2 |
int | EPOLRX2ZERO |
int | HPOLRX2ZERO |
int | RCPRX2ZERO |
int | LCPRX2ZERO |
int | FLATSURFACE |
int | WRITEPOSFILE |
int | SKIPCUTS |
int | USEDIRECTIONWEIGHTS |
int | SHOWERTYPE |
int | antennaclump |
double | COHERENT_THRESHOLD |
int | APPLYIMPULSERESPONSEDIGITIZER |
int | APPLYIMPULSERESPONSETRIGGER |
int | USETIMEDEPENDENTTHRESHOLDS |
int | USEDEADTIME |
int | NOISEFROMFLIGHTTRIGGER |
int | NOISEFROMFLIGHTDIGITIZER |
int | MINBIAS |
int | TRIGGEREFFSCAN |
int | TRIGGEREFFSCAPULSE |
int | TUFFSTATUS |
int | ADDCW |
int | PAYLOAD_USE_SPECIFIC_TIME |
int | PAYLOAD_USE_SPECIFIC_TIME_DELTA |
int | SPECIFIC_NU_POSITION |
double | SPECIFIC_NU_POSITION_LATITUDE |
double | SPECIFIC_NU_POSITION_LONGITUDE |
double | SPECIFIC_NU_POSITION_ALTITUDE |
double | SPECIFIC_NU_POSITION_DISTANCE |
int | IGNORE_CROSSPOL |
int | POL_SIGN_HACK |
double | CUTONWEIGHTS |
double | CUTONWEIGHTPROBS |
double | DEC_CUT |
int | ALL_SKY_MAP |
int | WRITE_WAVEFORMS |
std::string | CUSTOM_NAME |
double | CUSTOM_RA |
double | CUSTOM_DEC |
double | CUSTOM_GAMMA |
double | HORIZON_OFFSET |
int | useLPM |
double | jamieFactor |
int | medium |
int | askaryanParameterization |
int | SAVE_TRUTH_NU_TREE |
Reads in and stores input settings for the run.
Definition at line 37 of file Settings.h.
Settings::Settings | ( | ) |
Default constructor
Definition at line 43 of file Settings.cc.
Settings::~Settings | ( | ) |
Default destructor
Definition at line 53 of file Settings.cc.
void Settings::Initialize | ( | ) |
Set member variables to default values
Definition at line 226 of file Settings.cc.
void Settings::printAllKeyValuePairStrings | ( | ) |
Print all entries in the config key/value pair string map.
For debugging and testing
Definition at line 212 of file Settings.cc.