Class PhotoDisintegration

Inheritance Relationships

Base Type

Class Documentation

class PhotoDisintegration : public Module

Photodisintegration of nuclei by background photons.

Public Functions

PhotoDisintegration(PhotonField photonField = CMB, bool havePhotons = false, double limit = 0.1)
void setPhotonField(PhotonField photonField)
void setHavePhotons(bool havePhotons)
void setLimit(double limit)
void initRate(std::string filename)
void initBranching(std::string filename)
void initPhotonEmission(std::string filename)
void process(Candidate *candidate) const
void performInteraction(Candidate *candidate, int channel) const
double lossLength(int id, double gamma, double z = 0)

Calculates the loss length E dx/dE in [m] physical distance. This is not used in the simulation.

Parameters
  • id: PDG particle id
  • gamma: Lorentz factor of particle
  • z: redshift

std::string getDescription() const
void setDescription(const std::string &description)
void process(ref_ptr<Candidate> candidate) const
size_t addReference() const
size_t removeReference() const
int removeReferenceNoDelete() const
size_t getReferenceCount() const

Protected Attributes

size_t _referenceCount