Represents a particle in the DecayDescriptor.
std::string getNameSimple() const
Return the name from getName() without + - * or anti-.
bool isUnspecified() const
Is the particle unspecified?
std::string m_strLabel
Label of this particle to distinguish e.g.
DecayDescriptorParticle()
Default ctor.
std::string getFullName() const
returns the full name of the particle full_name = name:label
bool init(const DecayStringParticle &p)
initialise member variables from std::string member variables contained in a DecayStringParticle stru...
bool isSelected() const
Is the particle selected in the decay string?
DecayDescriptorParticle(const DecayDescriptorParticle &)=default
Want the default copy ctor.
bool isIgnoreDecayInFlight() const
Check if decayInFlight shall be ignored.
std::string getName() const
evt.pdl name of the particle.
int getProperty() const
return property of the particle.
std::string getLabel() const
The label of this particle, "default" returned, when no label set.
std::string m_strName
evt.pdl name of the particle.
bool isIgnoreMisID() const
Check if misID shall be ignored.
int m_iPDGCode
PDG code of the decaying particle.
DecayDescriptorParticle & operator=(const DecayDescriptorParticle &)=default
Want the default assignment operator.
@ c_IsIgnoreDecayInFlight
Is the particle MC matched with the ignore DecayInFlight flag set?
@ c_IsIgnoreMisID
Is the particle MC matched with the ignore MisID flag set?
Holds the information of a particle in the decay string.