![]() |
The Gaudi Framework
master (e68eea06)
|
The simple representation of "simple 1-step" decay (there are no trees! More...
#include </builds/gaudi/Gaudi/GaudiPartProp/include/Gaudi/Decays/Decay.h>

Classes | |
| class | Item |
| the helper representation of the item in the decay chain More... | |
Public Types | |
| typedef std::vector< Item > | Items |
| the vector of items (the obvious representation of daughter particles) | |
Public Member Functions | |
| Decay ()=default | |
| Decay (const Gaudi::ParticleProperty *mother, const std::vector< const Gaudi::ParticleProperty * > &daughters) | |
| the constructor from mother and daughters | |
| Decay (const std::string &mother, const std::vector< std::string > &daughters) | |
| the constructor from mother and daughters | |
| Decay (const Gaudi::ParticleID &mother, const std::vector< Gaudi::ParticleID > &daughters) | |
| the constructor from mother and daughters | |
| Decay (const Item &mother, const std::vector< Item > &daughters) | |
| the constructor from mother and daughters | |
| const Item & | mother () const |
| get the mother(head) of the decay | |
| const Items & | daughters () const |
| get all daughters | |
| const Items & | children () const |
| get all daughters | |
| size_t | nDaughters () const |
| get the number of daughters | |
| size_t | nChildren () const |
| get the number of daughters | |
| const Item & | operator() (const unsigned int index) const |
| get the component by the number | |
| const Item & | operator[] (const unsigned int index) const |
| get the component by the number | |
| void | setMother (const Item &mom) |
| set the mother | |
| void | setMother (const Gaudi::ParticleProperty *mom) |
| set the mother | |
| void | setMother (const std::string &mom) |
| set the mother | |
| void | setMother (const Gaudi::ParticleID &mom) |
| set the mother | |
| void | setDaughters (const Items &daugs) |
| set the daughters | |
| void | setDaughters (const std::vector< const Gaudi::ParticleProperty * > &daugs) |
| set the daughters | |
| void | setDaughters (const std::vector< std::string > &daugs) |
| set the daughters | |
| void | setDaughters (const std::vector< Gaudi::ParticleID > &daugs) |
| set the daughters | |
| void | setChildren (const Items &daugs) |
| set the daughters | |
| void | setChildren (const std::vector< const Gaudi::ParticleProperty * > &daugs) |
| set the daughters | |
| void | setChildren (const std::vector< std::string > &daugs) |
| set the daughters | |
| void | setChidlren (const std::vector< Gaudi::ParticleID > &daugs) |
| set the daughters | |
| Decay & | operator+= (const std::string &child) |
| add the child | |
| Decay & | operator+= (const Gaudi::ParticleID &child) |
| add the child | |
| Decay & | operator+= (const Gaudi::ParticleProperty *child) |
| add the child | |
| Decay & | operator+= (const Item &child) |
| add the child | |
| StatusCode | validate (const Gaudi::Interfaces::IParticlePropertySvc *svc) const |
| validate the decay using the service | |
| std::ostream & | fillStream (std::ostream &s) const |
| the default printout | |
| std::string | toString () const |
| the conversion to the string | |
Public Attributes | |
| Item | m_mother |
| the head of the decay | |
| Items | m_daughters |
| the daughter particles | |
The simple representation of "simple 1-step" decay (there are no trees!
| typedef std::vector<Item> Gaudi::Decays::Decay::Items |
|
default |
| Gaudi::Decays::Decay::Decay | ( | const Gaudi::ParticleProperty * | mother, |
| const std::vector< const Gaudi::ParticleProperty * > & | daughters ) |
the constructor from mother and daughters
| mother | the mother |
| daughters | the daughters |
Definition at line 74 of file Decay.cpp.
| Gaudi::Decays::Decay::Decay | ( | const std::string & | mother, |
| const std::vector< std::string > & | daughters ) |
| Gaudi::Decays::Decay::Decay | ( | const Gaudi::ParticleID & | mother, |
| const std::vector< Gaudi::ParticleID > & | daughters ) |
|
inline |
|
inline |
| std::ostream & Gaudi::Decays::Decay::fillStream | ( | std::ostream & | s | ) | const |
|
inline |
|
inline |
|
inline |
| const Decays::Decay::Item & Gaudi::Decays::Decay::operator() | ( | const unsigned int | index | ) | const |
get the component by the number
| index | the index (0 corresponds to the mother particle) |
Definition at line 166 of file Decay.cpp.
| Decays::Decay & Gaudi::Decays::Decay::operator+= | ( | const Gaudi::ParticleID & | child | ) |
add the child
Definition at line 152 of file Decay.cpp.
| Decays::Decay & Gaudi::Decays::Decay::operator+= | ( | const Gaudi::ParticleProperty * | child | ) |
| Decays::Decay & Gaudi::Decays::Decay::operator+= | ( | const Item & | child | ) |
add the child
| Decays::Decay & Gaudi::Decays::Decay::operator+= | ( | const std::string & | child | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| void Gaudi::Decays::Decay::setDaughters | ( | const Items & | daugs | ) |
| void Gaudi::Decays::Decay::setDaughters | ( | const std::vector< const Gaudi::ParticleProperty * > & | daugs | ) |
| void Gaudi::Decays::Decay::setDaughters | ( | const std::vector< Gaudi::ParticleID > & | daugs | ) |
set the daughters
| void Gaudi::Decays::Decay::setDaughters | ( | const std::vector< std::string > & | daugs | ) |
set the daughters
| void Gaudi::Decays::Decay::setMother | ( | const Gaudi::ParticleID & | mom | ) |
set the mother
Definition at line 175 of file Decay.cpp.
| void Gaudi::Decays::Decay::setMother | ( | const Gaudi::ParticleProperty * | mom | ) |
| void Gaudi::Decays::Decay::setMother | ( | const Item & | mom | ) |
| void Gaudi::Decays::Decay::setMother | ( | const std::string & | mom | ) |
| std::string Gaudi::Decays::Decay::toString | ( | ) | const |
the conversion to the string
Definition at line 127 of file Decay.cpp.
| StatusCode Gaudi::Decays::Decay::validate | ( | const Gaudi::Interfaces::IParticlePropertySvc * | svc | ) | const |
|
mutable |
|
mutable |