12 #include "Constants.h" 14 #include "position.hh" 16 #include "earthmodel.hh" 19 #include "roughness.hh" 22 #include "icemodel.hh" 25 #include "secondaries.hh" 27 #include "counting.hh" 28 #include "Primaries.h" 29 #include "Taumodel.hh" 37 std::ofstream outputsFile(
"/tmp/outputs.txt");
48 s.ReadInputs(
"inputs.anita3.conf", outputsFile, NNU, RANDOMISEPOL);
49 s.ApplyInputs(anita1, sec1, sig1, bn1, ray1);
55 std::cout << std::endl << std::endl;
57 const char* whichPayloadKey =
"Which payload";
59 s.getSetting(whichPayloadKey, whichPayload);
60 std::cout << whichPayloadKey <<
" -> " << whichPayload << std::endl;
63 const char* bandThresholdsKey =
"Band thresholds";
64 std::vector<double> bandThresholds;
65 s.getSetting(bandThresholdsKey, bandThresholds);
67 std::cout << bandThresholdsKey <<
" -> ";
68 for(
unsigned int i=0; i < bandThresholds.size(); i++){
69 std::cout << bandThresholds.at(i) <<
" ";
71 std::cout << std::endl;
75 const char* nonExistentKey =
"adsfasdfasdfasdf";
76 std::cout <<
"Now about to try and get a setting, called " << nonExistentKey <<
", that doesn't exist..." << std::endl;
77 std::vector<double> shouldBeEmpty;
78 s.getSetting(nonExistentKey, shouldBeEmpty);
79 std::cout << std::endl;
Radiation from interaction.
Reads in and stores input settings for the run.
Contains everything about positions within payload and signals it sees for each event, in both the trigger and signal paths.
Handles everything related to balloon positions, payload orientation over the course of a flight...