Class SourceDirectedEmission

Inheritance Relationships

Base Type

Class Documentation

class SourceDirectedEmission : public SourceFeature

Directed emission from a source from the von-Mises-Fisher distribution.

The emission from the source is generated following the von-Mises-Fisher distribution with mean direction mu and concentration parameter kappa. The sampling from the vMF distribution follows this document by Julian Straub: http://people.csail.mit.edu/jstraub/download/straub2017vonMisesFisherInference.pdf The emitted particles are assigned a weight so that the detected particles can be reweighted to an isotropic emission distribution instead of a vMF distribution. For details, see PoS (ICRC2019) 447.

Public Functions

SourceDirectedEmission(Vector3d mu, double kappa)

Constructor

Parameters:
  • mu – mean direction of the emission, mu should be normelized

  • kappa – concentration parameter

virtual void prepareCandidate(Candidate &candidate) const
void setDescription()
inline virtual void prepareParticle(ParticleState &particle) const
std::string getDescription() const
inline size_t addReference() const
inline size_t removeReference() const
inline int removeReferenceNoDelete() const
inline size_t getReferenceCount() const

Protected Attributes

std::string description
mutable size_t _referenceCount