CORSIKA  @c8_version@
The framework to simulate particle cascades for astroparticle physics
SecondariesProcess.hpp
1 /*
2  * (c) Copyright 2020 CORSIKA Project, corsika-project@lists.kit.edu
3  *
4  * This software is distributed under the terms of the GNU General Public
5  * Licence version 3 (GPL Version 3). See file LICENSE for a full version of
6  * the license.
7  */
8 
9 #pragma once
10 
13 
14 #include <corsika/detail/framework/process/SecondariesProcess.hpp> // for extra traits, method/interface checking
15 
16 namespace corsika {
17 
39  template <typename TDerived>
40  class SecondariesProcess : public BaseProcess<TDerived> {
41  public:
42  };
43 
47  template <typename TProcess>
49  TProcess, std::enable_if_t<
50  std::is_base_of_v<SecondariesProcess<typename std::decay_t<TProcess>>,
51  typename std::decay_t<TProcess>>>>
52  : std::true_type {};
53 
55 
56 } // namespace corsika
Import and extend the phys::units package.
STL namespace.
Each process in C8 must derive from BaseProcess.
Definition: BaseProcess.hpp:34
`, since they are used everywhere as integral part of the framework.
Processes acting on the secondaries produced by other processes.
A traits marker to identify SecondariesProcess.