IAP GITLAB

Skip to content
Snippets Groups Projects
Commit 91e47b3f authored by ralfulrich's avatar ralfulrich Committed by Maximilian Sackel
Browse files

renamed proposal_example to em_shower and remove comment

parent e14b9192
No related branches found
No related tags found
No related merge requests found
......@@ -131,8 +131,8 @@ target_link_libraries (staticsequence_example
CORSIKAlogging)
CORSIKA_ADD_EXAMPLE (proposal_example RUN_OPTIONS 100.)
target_link_libraries (proposal_example
CORSIKA_ADD_EXAMPLE (em_shower RUN_OPTIONS 100.)
target_link_libraries (em_shower
SuperStupidStack
CORSIKAunits
CORSIKAlogging
......
......@@ -50,13 +50,12 @@ using namespace corsika::units::si;
void registerRandomStreams() {
random::RNGManager::GetInstance().RegisterRandomStream("cascade");
random::RNGManager::GetInstance().RegisterRandomStream("proposal");
// add PROPOSAL here (?)
random::RNGManager::GetInstance().SeedAll();
}
int main(int argc, char** argv) {
if (argc != 2) {
std::cerr << "usage: proposal_example <energy/GeV>" << std::endl;
std::cerr << "usage: em_shower <energy/GeV>" << std::endl;
return 1;
}
feenableexcept(FE_INVALID);
......@@ -138,6 +137,7 @@ int main(int argc, char** argv) {
process::proposal::Interaction proposal(env, cut);
process::proposal::ContinuousProcess em_continuous(env, cut);
process::interaction_counter::InteractionCounter proposalCounted(proposal);
process::track_writer::TrackWriter trackWriter("tracks.dat");
// long. profile; columns for gamma, e+, e- still need to be added
......
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