21 class IParticlePropertySvc;
50 typedef std::vector<std::string>
Names;
51 typedef std::map<std::string, std::string>
CCMap;
60 bool valid( std::string sym )
const;
65 const std::string&
symbol( std::string sym )
const;
93 const std::string& ccsym =
"" );
99 void addCC( std::string sym, std::string ccsym =
"" );
117 typedef std::map<std::string, std::string>
HelpMap;
Helper general purpose utilities to deal with decay nodes.
The generic class to hold the pointer to other node.
GaudiUtils::VectorMap< std::string, Decays::Nodes::_Node > NodeMap
bool addSymbol(std::string sym, const Decays::iNode &node, const std::string &help, const std::string &ccsym="")
add new symbol to the internal structure
const CCMap & cc() const
get CC-map
CCMap m_cc
the map of cc-symbols
static Symbols & instance()
static accessor to teh singleton
void addCC(std::string sym, std::string ccsym="")
add cc-pair to the internal map
std::vector< std::string > Names
the actual type for the list of names
virtual ~Symbols()=default
the destructor is protected
std::map< std::string, std::string > CCMap
const std::string & symbol(std::string sym) const
help for the basic primitive special symbol
StatusCode particles(const Gaudi::Interfaces::IParticlePropertySvc *svc, Names &parts) const
get all known particle names
bool valid(std::string sym) const
valid basic/primitive symbol?
size_t symbols(Names &names) const
get all known basic primitive special symbols
HelpMap m_help
the actual help-map
std::map< std::string, std::string > HelpMap
Symbols(const Symbols &)
copy constructor is private
Symbols()
the default constructor is protected:
NodeMap m_nodes
the actual map of symbols
Symbols & operator=(const Symbols &)
assignment operator is private
The abstract class which represents the single "node" of decay tree.
The abstract interface to Particle Property Service.
A bit modified version of 'Loki::AssocVector' associative vector from Loki library by Andrei Alexandr...
This class is used for returning status codes from appropriate routines.
void help(const std::string &argv0)
This file provides a Grammar for the type Gaudi::Accumulators::Axis It allows to use that type from p...