Belle II Software development
|
Represents a particle in the DecayDescriptor. More...
#include <DecayDescriptorParticle.h>
Public Member Functions | |
DecayDescriptorParticle () | |
Default ctor. | |
DecayDescriptorParticle (const DecayDescriptorParticle &)=default | |
Want the default copy ctor. | |
DecayDescriptorParticle & | operator= (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. | |
std::string | m_strLabel |
Label of this particle to distinguish e.g. | |
int | m_iPDGCode |
PDG code of the decaying particle. | |
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.
Default ctor.
Definition at line 20 of file DecayDescriptorParticle.cc.
|
inline |
returns the full name of the particle full_name = name:label
Definition at line 59 of file DecayDescriptorParticle.h.
|
inline |
The label of this particle, "default" returned, when no label set.
Definition at line 74 of file DecayDescriptorParticle.h.
|
inline |
evt.pdl name of the particle.
Definition at line 52 of file DecayDescriptorParticle.h.
string getNameSimple | ( | ) | const |
Return the name from getName() without + - * or anti-.
Definition at line 53 of file DecayDescriptorParticle.cc.
|
inline |
Return PDG code.
Definition at line 79 of file DecayDescriptorParticle.h.
|
inline |
return property of the particle.
Definition at line 84 of file DecayDescriptorParticle.h.
bool init | ( | const DecayStringParticle & | p | ) |
initialise member variables from std::string member variables contained in a DecayStringParticle struct.
Definition at line 28 of file DecayDescriptorParticle.cc.
|
inline |
Check if decayInFlight shall be ignored.
Definition at line 99 of file DecayDescriptorParticle.h.
|
inline |
Check if misID shall be ignored.
Definition at line 94 of file DecayDescriptorParticle.h.
|
inline |
Is the particle selected in the decay string?
Definition at line 69 of file DecayDescriptorParticle.h.
|
inline |
Is the particle unspecified?
Definition at line 89 of file DecayDescriptorParticle.h.
|
private |
PDG code of the decaying particle.
Definition at line 38 of file DecayDescriptorParticle.h.
|
private |
Is particle selected?
Definition at line 32 of file DecayDescriptorParticle.h.
|
private |
Particle property.
Flags are defined in Particle::PropertyFlags
Definition at line 34 of file DecayDescriptorParticle.h.
|
private |
Label of this particle to distinguish e.g.
different decay channels or selection criteria.
Definition at line 36 of file DecayDescriptorParticle.h.
|
private |
evt.pdl name of the particle.
Definition at line 30 of file DecayDescriptorParticle.h.