![]() |
Belle II Software prerelease-10-00-00a
|
Helper to deal with ParticleList names. More...
Functions | |
std::string | antiParticleListName (const std::string &listName) |
Returns name of anti-particle-list corresponding to listName. | |
std::vector< std::string > | addAntiParticleLists (const std::vector< std::string > &inputList) |
Returns the input list with appended anti-particle list names of the particle list names in the input list. | |
Helper to deal with ParticleList names.
Own namespace because of CINT.
std::vector< std::string > addAntiParticleLists | ( | const std::vector< std::string > & | inputList | ) |
Returns the input list with appended anti-particle list names of the particle list names in the input list.
This appending is done only for list names which correspond to a particle list that has an anti-particle.
Definition at line 39 of file ParticleListName.cc.
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.