Class SourceLambertDistributionOnSphere

Inheritance Relationships

Base Type

Class Documentation

class SourceLambertDistributionOnSphere : public SourceFeature

Uniform random position on a sphere with isotropic Lamberts distributed directions. This function should be used for crosschecking the arrival distribution for a Galactic propagation with an isotropic arrival distribution at the Edge of our Galaxy. Note, that for simulation speed you should rather use the backtracking technique: see e.g.

Public Functions

SourceLambertDistributionOnSphere(const Vector3d &center, double radius, bool inward)
void prepareParticle(ParticleState &particle) const
void setDescription()
void prepareCandidate(Candidate &candidate) const
std::string getDescription() const
size_t addReference() const
size_t removeReference() const
int removeReferenceNoDelete() const
size_t getReferenceCount() const

Protected Attributes

std::string description
size_t _referenceCount