Class SourceDirectedEmission
Defined in File Source.h
Inheritance Relationships
Base Type
public SourceFeature
(Class SourceFeature)
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
-
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
-
SourceDirectedEmission(Vector3d mu, double kappa)