From b98871513df37ae3fd2144107af9b5895b0126c5 Mon Sep 17 00:00:00 2001
From: Felix Riehn <friehn@lip.pt>
Date: Thu, 19 Sep 2024 08:02:13 +0000
Subject: [PATCH] Resolve "remove earth.dat from EAS application"

---
 applications/c8_air_shower.cpp | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/applications/c8_air_shower.cpp b/applications/c8_air_shower.cpp
index 40a762726..ef86670d9 100644
--- a/applications/c8_air_shower.cpp
+++ b/applications/c8_air_shower.cpp
@@ -322,16 +322,6 @@ int main(int argc, char** argv) {
 
   /* === END: SETUP ENVIRONMENT AND ROOT COORDINATE SYSTEM === */
 
-  ofstream atmout("earth.dat");
-  for (LengthType h = 0_m; h < 110_km; h += 100_m) {
-    Point const ptest{rootCS, 0_m, 0_m, constants::EarthRadius::Mean + h};
-    auto rho =
-        env.getUniverse()->getContainingNode(ptest)->getModelProperties().getMassDensity(
-            ptest);
-    atmout << h / 1_m << " " << rho / 1_kg * cube(1_m) << "\n";
-  }
-  atmout.close();
-
   /* === START: CONSTRUCT PRIMARY PARTICLE === */
 
   // parse the primary ID as a PDG or A/Z code
-- 
GitLab