IAP GITLAB

Skip to content
Snippets Groups Projects
Commit 0f77b363 authored by ralfulrich's avatar ralfulrich
Browse files

fixed ..ofShower in examples

parent b918c03a
No related branches found
No related tags found
No related merge requests found
......@@ -164,7 +164,9 @@ int main() {
// define air shower object, run simulation
Cascade EAS(env, tracking, sequence, output, stack);
output.startOfShower();
EAS.run();
output.endOfShower();
CORSIKA_LOG_INFO("Result: E0={}GeV", E0 / 1_GeV);
cut.showResults();
......
......@@ -153,7 +153,9 @@ int main() {
// define air shower object, run simulation
Cascade EAS(env, tracking, sequence, output, stack);
output.startOfShower();
EAS.run();
output.endOfShower();
eLoss.printProfile(); // print longitudinal profile
......
......@@ -146,7 +146,9 @@ int main() {
// define air shower object, run simulation
Cascade EAS(env, tracking, sequence, output, stack);
output.startOfShower();
EAS.run();
output.endOfShower();
cout << "Result: E0=" << E0 / 1_GeV << endl;
cut.showResults();
......
......@@ -170,7 +170,9 @@ int main(int argc, char** argv) {
// EAS.setNodes();
// EAS.forceInteraction();
output.startOfShower();
EAS.run();
output.endOfShower();
cut.showResults();
emContinuous.showResults();
......
......@@ -250,7 +250,9 @@ int main(int argc, char** argv) {
// EAS.SetNodes();
// EAS.forceInteraction();
output.startOfShower();
EAS.run();
output.endOfShower();
cut.showResults();
eLoss.showResults();
......
......@@ -295,7 +295,9 @@ int main(int argc, char** argv) {
// define air shower object, run simulation
setup::Tracking tracking;
Cascade EAS(env, tracking, sequence, output, stack);
output.startOfShower();
EAS.run();
output.endOfShower();
cut.showResults();
// emContinuous.showResults();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment