CORSIKA  @c8_version@
The framework to simulate particle cascades for astroparticle physics
corsika::sibyll::ParticleInterface< TStackIterator > Class Template Reference
Inheritance diagram for corsika::sibyll::ParticleInterface< TStackIterator >:

Public Member Functions

void setParticleData (const int vID, const HEPEnergyType vE, const MomentumVector &vP, const HEPMassType vM)
 
void setParticleData (ParticleInterface< TStackIterator > &, const int vID, const HEPEnergyType vE, const MomentumVector &vP, const HEPMassType vM)
 
void setEnergy (const HEPEnergyType v)
 
HEPEnergyType getEnergy () const
 
bool hasDecayed () const
 
void setMass (const HEPMassType v)
 
HEPEnergyType getMass () const
 
void setPID (const int v)
 
corsika::sibyll::SibyllCode getPID () const
 
MomentumVector getMomentum () const
 
void setMomentum (const MomentumVector &v)
 
- Public Member Functions inherited from corsika::ParticleBase< TStackIterator >
 ParticleBase (ParticleBase &&)=delete
 
 ParticleBase (ParticleBase const &)=delete
 
ParticleBase operator= (ParticleBase &&)=delete
 
ParticleBase operator= (ParticleBase const &)=delete
 
void erase ()
 Delete this particle on the stack. More...
 
bool isErased () const
 Method to retrieve the status of the Particle. More...
 
template<typename... TArgs>
stack_iterator_type addSecondary (const TArgs... args)
 Add a secondary particle based on *this on the stack. More...
 
stack_iterator_type & getIterator ()
 return the corresponding TStackIterator for this particle
 
const stack_iterator_type & getIterator () const
 

Additional Inherited Members

- Public Types inherited from corsika::ParticleBase< TStackIterator >
typedef TStackIterator stack_iterator_type
 
- Protected Member Functions inherited from corsika::ParticleBase< TStackIterator >
auto & getStackData ()
 
const auto & getStackData () const
 
auto & getStack ()
 
const auto & getStack () const
 
std::size_t getIndex () const
 return the index number of the underlying iterator object
 

Detailed Description

template<typename TStackIterator>
class corsika::sibyll::ParticleInterface< TStackIterator >

Definition at line 72 of file SibStack.hpp.


The documentation for this class was generated from the following file: