Belle II Software light-2406-ragdoll
|
Helper to deal with ParticleList names. More...
Functions | |
std::string | antiParticleListName (const std::string &listName) |
Returns name of anti-particle-list corresponding to listName. | |
Helper to deal with ParticleList names.
Own namespace because of CINT.
std::string antiParticleListName | ( | const std::string & | listName | ) |
Returns name of anti-particle-list corresponding to listName.
Throws std::runtime_error for invalid particle lists. If listName refers to a self-conjugated list, simply returns listName.
Ex: antiParticleListName("B+:somelabel") -> "B-:somelabel" antiParticleListName("gamma") -> "gamma"
User documentation is located at analysis/doc/DecayDescriptor.rst Please modify in accordingly to introduced changes.
Definition at line 17 of file ParticleListName.cc.