Belle II Software  release-08-01-10
DecayDescriptorParticle Class Reference

Represents a particle in the DecayDescriptor. More...

#include <DecayDescriptorParticle.h>

Collaboration diagram for DecayDescriptorParticle:

Public Member Functions

 DecayDescriptorParticle ()
 Default ctor.
 
 DecayDescriptorParticle (const DecayDescriptorParticle &)=default
 Want the default copy ctor.
 
DecayDescriptorParticleoperator= (const DecayDescriptorParticle &)=default
 Want the default assignment operator.
 
bool init (const DecayStringParticle &p)
 initialise member variables from std::string member variables contained in a DecayStringParticle struct.
 
std::string getName () const
 evt.pdl name of the particle.
 
std::string getFullName () const
 returns the full name of the particle full_name = name:label
 
std::string getNameSimple () const
 Return the name from getName() without + - * or anti-.
 
bool isSelected () const
 Is the particle selected in the decay string?
 
std::string getLabel () const
 The label of this particle, "default" returned, when no label set.
 
int getPDGCode () const
 Return PDG code.
 
int getProperty () const
 return property of the particle.
 
bool isUnspecified () const
 Is the particle unspecified?
 
bool isIgnoreMisID () const
 Check if misID shall be ignored.
 
bool isIgnoreDecayInFlight () const
 Check if decayInFlight shall be ignored.
 

Private Attributes

std::string m_strName
 evt.pdl name of the particle.
 
bool m_isSelected
 Is particle selected?
 
int m_properties
 Particle property. More...
 
std::string m_strLabel
 Label of this particle to distinguish e.g. More...
 
int m_iPDGCode
 PDG code of the decaying particle.
 

Detailed Description

Represents a particle in the DecayDescriptor.

It is used for mother and daughter particles.

User documentation is located at analysis/doc/DecayDescriptor.rst Please modify in accordingly to introduced changes.

Definition at line 27 of file DecayDescriptorParticle.h.

Member Data Documentation

◆ m_properties

int m_properties
private

Particle property.

Flags are defined in Particle::PropertyFlags

Definition at line 34 of file DecayDescriptorParticle.h.

◆ m_strLabel

std::string m_strLabel
private

Label of this particle to distinguish e.g.

different decay channels or selection criteria.

Definition at line 36 of file DecayDescriptorParticle.h.


The documentation for this class was generated from the following files: