Program Listing for File ParticleID.h
↰ Return to documentation for file (include/crpropa/ParticleID.h
)
#ifndef CRPROPA_PARTICLE_ID_H
#define CRPROPA_PARTICLE_ID_H
#include <cstddef>
#include <vector>
#include <string>
namespace crpropa {
int nucleusId(int a, int z);
int chargeNumber(int id);
int massNumber(int id);
bool isNucleus(int id);
/* Additional modules */
std::string convertIdToName(int id);
} // namespace crpropa
#endif // CRPROPA_PARTICLE_ID_H