![]() |
The Gaudi Framework
v39r3 (979e3109)
|
#include </builds/gaudi/Gaudi/GaudiPartProp/include/Gaudi/Decays/Decay.h>

Classes | |
| class | Item |
Public Types | |
| typedef std::vector< Item > | Items |
| the vector of items (the obvious representation of daughter particles) More... | |
Public Member Functions | |
| Decay ()=default | |
| Decay (const Gaudi::ParticleProperty *mother, const std::vector< const Gaudi::ParticleProperty * > &daughters) | |
| the constructor from mother and daughters More... | |
| Decay (const std::string &mother, const std::vector< std::string > &daughters) | |
| the constructor from mother and daughters More... | |
| Decay (const Gaudi::ParticleID &mother, const std::vector< Gaudi::ParticleID > &daughters) | |
| the constructor from mother and daughters More... | |
| Decay (const Item &mother, const std::vector< Item > &daughters) | |
| the constructor from mother and daughters More... | |
| const Item & | mother () const |
| get the mother(head) of the decay More... | |
| const Items & | daughters () const |
| get all daughters More... | |
| const Items & | children () const |
| get all daughters More... | |
| size_t | nDaughters () const |
| get the number of daughters More... | |
| size_t | nChildren () const |
| get the number of daughters More... | |
| const Item & | operator() (const unsigned int index) const |
| get the component by the number More... | |
| const Item & | operator[] (const unsigned int index) const |
| get the component by the number More... | |
| void | setMother (const Item &mom) |
| set the mother More... | |
| void | setMother (const Gaudi::ParticleProperty *mom) |
| set the mother More... | |
| void | setMother (const std::string &mom) |
| set the mother More... | |
| void | setMother (const Gaudi::ParticleID &mom) |
| set the mother More... | |
| void | setDaughters (const Items &daugs) |
| set the daughters More... | |
| void | setDaughters (const std::vector< const Gaudi::ParticleProperty * > &daugs) |
| set the daughters More... | |
| void | setDaughters (const std::vector< std::string > &daugs) |
| set the daughters More... | |
| void | setDaughters (const std::vector< Gaudi::ParticleID > &daugs) |
| set the daughters More... | |
| void | setChildren (const Items &daugs) |
| set the daughters More... | |
| void | setChildren (const std::vector< const Gaudi::ParticleProperty * > &daugs) |
| set the daughters More... | |
| void | setChildren (const std::vector< std::string > &daugs) |
| set the daughters More... | |
| void | setChidlren (const std::vector< Gaudi::ParticleID > &daugs) |
| set the daughters More... | |
| Decay & | operator+= (const std::string &child) |
| add the child More... | |
| Decay & | operator+= (const Gaudi::ParticleID &child) |
| add the child More... | |
| Decay & | operator+= (const Gaudi::ParticleProperty *child) |
| add the child More... | |
| Decay & | operator+= (const Item &child) |
| add the child More... | |
| StatusCode | validate (const Gaudi::Interfaces::IParticlePropertySvc *svc) const |
| validate the decay using the service More... | |
| std::ostream & | fillStream (std::ostream &s) const |
| the default printout More... | |
| std::string | toString () const |
| the conversion to the string More... | |
Public Attributes | |
| Item | m_mother |
| the head of the decay More... | |
| Items | m_daughters |
| the daughter particles More... | |
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 | ||
| ) |
| 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 | ||
| ) |
| Gaudi::Decays::Decay::Decay | ( | const Item & | mother, |
| const std::vector< Item > & | 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) |
| Decays::Decay & Gaudi::Decays::Decay::operator+= | ( | const Gaudi::ParticleID & | child | ) |
| 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 | ) |
| void Gaudi::Decays::Decay::setDaughters | ( | const std::vector< std::string > & | daugs | ) |
| void Gaudi::Decays::Decay::setMother | ( | const Gaudi::ParticleID & | mom | ) |
| 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
| StatusCode Gaudi::Decays::Decay::validate | ( | const Gaudi::Interfaces::IParticlePropertySvc * | svc | ) | const |
|
mutable |
|
mutable |