Class SourceEmissionCone

Inheritance Relationships

Base Type

Class Documentation

class SourceEmissionCone : public SourceFeature

Uniform emission within a cone.

Public Functions

SourceEmissionCone(Vector3d direction, double aperture)

Constructor

Parameters:
  • direction – Vector3d corresponding to the cone axis

  • aperture – opening angle of the cone

virtual void prepareParticle(ParticleState &particle) const
void setDirection(Vector3d direction)
Parameters:

direction – Vector3d corresponding to the cone axis

void setDescription()
virtual void prepareCandidate(Candidate &candidate) 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