Class SourceList

Inheritance Relationships

Base Type

Class Documentation

class SourceList : public SourceInterface

List of cosmic ray sources of individual lumosities.

The SourceList is a source itself. It can be used if several sources are needed in one simulation.

Public Functions

void add(Source *source, double weight = 1)
ref_ptr<Candidate> getCandidate() const
std::string getDescription() const
size_t addReference() const
size_t removeReference() const
int removeReferenceNoDelete() const
size_t getReferenceCount() const

Protected Attributes

size_t _referenceCount