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

Public Types | |
| enum | { InvalidService = 400, InvalidSymbol, NoParticles, NoSymbols } |
| typedef std::vector< std::string > | Names |
| the actual type for the list of names More... | |
| typedef std::map< std::string, std::string > | CCMap |
Public Member Functions | |
| const CCMap & | cc () const |
| get CC-map More... | |
| bool | valid (std::string sym) const |
| valid basic/primitive symbol? More... | |
| const std::string & | symbol (std::string sym) const |
| help for the basic primitive special symbol More... | |
| StatusCode | symbol (std::string sym, Decays::Node &node) const |
| get the node by symbol More... | |
| size_t | symbols (Names &names) const |
| get all known basic primitive special symbols More... | |
| StatusCode | particles (const Gaudi::Interfaces::IParticlePropertySvc *svc, Names &parts) const |
| get all known particle names More... | |
| bool | addSymbol (std::string sym, const Decays::iNode &node, const std::string &help, const std::string &ccsym="") |
| add new symbol to the internal structure More... | |
| void | addCC (std::string sym, std::string ccsym="") |
| add cc-pair to the internal map More... | |
Static Public Member Functions | |
| static Symbols & | instance () |
| static accessor to teh singleton More... | |
Protected Member Functions | |
| Symbols () | |
| the default constructor is protected: More... | |
| virtual | ~Symbols ()=default |
| the destructor is protected More... | |
Private Types | |
| typedef GaudiUtils::VectorMap< std::string, Decays::Nodes::_Node > | NodeMap |
| typedef std::map< std::string, std::string > | HelpMap |
Private Member Functions | |
| Symbols (const Symbols &) | |
| copy constructor is private More... | |
| Symbols & | operator= (const Symbols &) |
| assignment operator is private More... | |
Private Attributes | |
| NodeMap | m_nodes |
| the actual map of symbols More... | |
| HelpMap | m_help |
| the actual help-map More... | |
| CCMap | m_cc |
| the map of cc-symbols More... | |
Helper class to obtain the information about the valid symbols for particles, decay descriptors and Nodes.
Many thanks to Antonio PELLEGRINO for the kind help with regex expressions
|
private |
|
private |
| anonymous enum |
|
protected |
the default constructor is protected:
Definition at line 44 of file Symbols.cpp.
|
protectedvirtualdefault |
the destructor is protected
|
private |
copy constructor is private
| void Gaudi::Decays::Symbols::addCC | ( | std::string | sym, |
| std::string | ccsym = "" |
||
| ) |
add cc-pair to the internal map
| sym | the symbol |
| ccsym | the symbol for charge conjugation |
Definition at line 148 of file Symbols.cpp.
| bool Gaudi::Decays::Symbols::addSymbol | ( | std::string | sym, |
| const Decays::iNode & | node, | ||
| const std::string & | help, | ||
| const std::string & | ccsym = "" |
||
| ) |
add new symbol to the internal structure
| sym | the symbol definition |
| node | the actual node |
| help | the help string |
| ccsym | the symbol for charge coonjugation |
Definition at line 129 of file Symbols.cpp.
| const Decays::Symbols::CCMap & Gaudi::Decays::Symbols::cc | ( | ) | const |
|
static |
static accessor to teh singleton
Definition at line 39 of file Symbols.cpp.
assignment operator is private
| StatusCode Gaudi::Decays::Symbols::particles | ( | const Gaudi::Interfaces::IParticlePropertySvc * | svc, |
| Names & | parts | ||
| ) | const |
get all known particle names
| svc | (INPUT) particle property service |
| parts | (OUTPUT) vector of particle names |
Definition at line 202 of file Symbols.cpp.
| const std::string & Gaudi::Decays::Symbols::symbol | ( | std::string | sym | ) | const |
help for the basic primitive special symbol
| sym | the symbol |
Definition at line 163 of file Symbols.cpp.
| StatusCode Gaudi::Decays::Symbols::symbol | ( | std::string | sym, |
| Decays::Node & | node | ||
| ) | const |
get the node by symbol
| (INPUT) | sym the symbol name |
| (OUTPUT) | the symbol |
Definition at line 177 of file Symbols.cpp.
| size_t Gaudi::Decays::Symbols::symbols | ( | Names & | names | ) | const |
| bool Gaudi::Decays::Symbols::valid | ( | std::string | sym | ) | const |
|
private |
|
private |
|
private |