6 Module(
"HepPDTManager"), m_datacol(0), m_fileSet(false) {
29 char *heppdt = getenv(
"HEPPDT_BASE");
31 m_pdfile = std::string(heppdt) + std::string(
"/data/particle.tbl");
38 std::ifstream pdfile(
m_pdfile.c_str());
46 m_datacol =
new HepPDT::ParticleDataTable(
"Particle Data Table");
47 HepPDT::TableBuilder *tb =
new HepPDT::TableBuilder((*
m_datacol));
48 if (!addParticleTable(pdfile, (*tb))) {
66 for (HepPDT::ParticleDataTable::const_iterator it =
m_datacol->begin(); it !=
m_datacol->end(); it++) {
67 HepPDT::ParticleID
id = it->first;
68 HepPDT::ParticleData pdata = it->second;
73 log() <<
" <-- SUSY particle";
HepPDT::ParticleDataTable * getParticleDataTable()
void setParticleDataFile(std::string pdfile)
HepPDT::ParticleDataTable * m_datacol
void setOutputLevel(const LOG::ELevel &outputLevel)
Base class for slic code modules that provides common functionality, such as logging to an output str...