diff --git a/examples/corsika.cpp b/examples/corsika.cpp index ca65c0c52b9cd03ca4d7dcf02718a314dcdeb865..4673b83264bb949f8cf56a02742eeb471a925146 100644 --- a/examples/corsika.cpp +++ b/examples/corsika.cpp @@ -324,8 +324,7 @@ int main(int argc, char** argv) { heHadronModelThreshold); // NOT available for PROPOSAL due to interface trouble: // InteractionCounter emCascadeCounted(emCascade); - // corsika::proposal::ContinuousProcess<SubWriter<decltype(dEdX)>> emContinuous(env); - BetheBlochPDG<SubWriter<decltype(dEdX)>> emContinuous{dEdX}; + corsika::proposal::ContinuousProcess<SubWriter<decltype(dEdX)>> emContinuous(env, dEdX); LongitudinalWriter profile{showerAxis, 200, 10_g / square(1_cm)}; output.add("profile", profile); diff --git a/examples/mars.cpp b/examples/mars.cpp index 599e9c8da0c2093069d976ebccfcb56d3bb6c023..b6e67568c66fe10f648ea6983a2441ff43ac6596 100644 --- a/examples/mars.cpp +++ b/examples/mars.cpp @@ -359,8 +359,8 @@ int main(int argc, char** argv) { // NOT possible right now, due to interface difference for PROPOSAL: // InteractionCounter emCascadeCounted(emCascade); // corsika::proposal::ContinuousProcess<SubWriter<decltype(dEdX)>> - // emContinuous(env,dEdX); - BetheBlochPDG<SubWriter<decltype(dEdX)>> emContinuous{dEdX}; + corsika::proposal::ContinuousProcess<SubWriter<decltype(dEdX)>> emContinuous(env, dEdX); + //BetheBlochPDG<SubWriter<decltype(dEdX)>> emContinuous{dEdX}; LongitudinalWriter longprof{showerAxis}; output.add("profile", longprof);