diff --git a/Documentation/Examples/cascade_example.cc b/Documentation/Examples/cascade_example.cc index 5697e0d57d6a9325f402a4fcc1209923d52b0adf..f1663654afa04ede1f5a785bf1b1f1cd81ba0c14 100644 --- a/Documentation/Examples/cascade_example.cc +++ b/Documentation/Examples/cascade_example.cc @@ -333,6 +333,25 @@ double s_rndm_(int&) { return rmng() / (double)rmng.max(); } +class ProcessDecay : public corsika::process::BaseProcess<ProcessDecay> { +public: + ProcessDecay() {} + void Init() {} + template <typename Particle> + double MinStepLength(Particle& p) const { + } + template <typename Particle, typename Stack> + void DoDiscrete(Particle& p, Stack& s) const { + } + + template <typename Particle, typename Trajectory, typename Stack> + EProcessReturn DoContinuous(Particle&, Trajectory&, Stack&) const { + return EProcessReturn::eOk; + } + +}; + + int main() { // coordinate system, get global frame of reference