Class SourceTag
Defined in File Source.h
Inheritance Relationships
Base Type
public SourceFeature
(Class SourceFeature)
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)
-
void setDescription()
-
void setTag(std::string tag)
-
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
-
SourceTag(std::string tag)