8 #include "cheprep/DefaultHepRepAttDef.h"
19 DefaultHepRepAttDef::DefaultHepRepAttDef(
string aName,
string aDesc,
string aCategory,
string anExtra)
20 :
name(aName), desc(aDesc), category(aCategory), extra(anExtra) {
23 DefaultHepRepAttDef::~DefaultHepRepAttDef() {
26 HepRepAttDef* DefaultHepRepAttDef::copy() {
27 return new DefaultHepRepAttDef(
name, desc, category, extra);
34 string DefaultHepRepAttDef::getLowerCaseName() {
36 transform(s.begin(), s.end(), s.begin(), (int(*)(int)) tolower);
40 string DefaultHepRepAttDef::getDescription() {
44 string DefaultHepRepAttDef::getCategory() {
48 string DefaultHepRepAttDef::getExtra() {
static constexpr double s
const char * name(G4int ptype)
std::string getName(const ParticleType t)
Get the native INCL name of the particle.