Class SourceTag

Inheritance Relationships

Base Type

Class Documentation

class SourceTag : public SourceFeature

All candidates from this source get a given tag. This can be used to distinguish between different sources that follow the same spatial distribution.

Sets the tag of the candidate. Can be used to trace back additional candidate properties, e.g. production interaction or source type. The interaction overwrites the candidate tag from the source for all secondaries.

Public Functions

SourceTag(std::string tag)
virtual void prepareCandidate(Candidate &candidate) const
void setDescription()
void setTag(std::string tag)
inline virtual void prepareParticle(ParticleState &particle) const
std::string getDescription() const

Protected Attributes

std::string description