CORSIKA  @c8_version@
The framework to simulate particle cascades for astroparticle physics
ProcessReturn.hpp File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 corsika
 `, since they are used everywhere as integral part of the framework.
 
enum  corsika::ProcessReturn : int { Ok = (1 << 0), ParticleAbsorbed = (1 << 2), Interacted = (1 << 3), Decayed = (1 << 4) }
 since in a process sequence many status updates can accumulate for a single particle, this enum should define only bit-flags that can be accumulated easily with "|="
 
ProcessReturn corsika::operator| (ProcessReturn a, ProcessReturn b)
 
ProcessReturn & corsika::operator|= (ProcessReturn &a, const ProcessReturn b)
 
ProcessReturn corsika::operator & (const ProcessReturn a, const ProcessReturn b)
 
bool corsika::operator== (const ProcessReturn a, const ProcessReturn b)
 
bool corsika::isOk (const ProcessReturn a)
 
bool corsika::isAbsorbed (const ProcessReturn a)
 
bool corsika::isDecayed (const ProcessReturn a)
 
bool corsika::isInteracted (const ProcessReturn a)