|
HepPDT Reference DocumentationHepPDT |
#include "HepPDT/defs.h"#include <fstream>#include <cstdlib>#include <string>#include "HepPDT/TableBuilder.hh"#include "HepPDT/ParticleDataTable.hh"#include "HepPDT/TempParticleData.hh"Go to the source code of this file.
Functions | |
| void | addData (HepPDT::TableBuilder &tb, std::string const &name, int const id, double const mass, double const charge, double const width, double const tspin) |
| int | main () |
| void addData | ( | HepPDT::TableBuilder & | tb, | |
| std::string const & | name, | |||
| int const | id, | |||
| double const | mass, | |||
| double const | charge, | |||
| double const | width, | |||
| double const | tspin | |||
| ) |
create a custom PDT using our own definitions and write out the resulting PDT
Definition at line 68 of file examMyPDT.cc.
References HepPDT::TableBuilder::addParticle(), HepPDT::TableBuilder::getParticleData(), HepPDT::TempParticleData::tempCharge, HepPDT::TempParticleData::tempMass, HepPDT::TempParticleData::tempParticleName, HepPDT::TempParticleData::tempSpin, and HepPDT::TempParticleData::tempWidth.
Referenced by main().
| int main | ( | ) |
Definition at line 24 of file examMyPDT.cc.
References addData(), HepPDT::ParticleData::name(), HepPDT::ParticleDataTable::particle(), HepPDT::TableBuilder::removeParticle(), and HepPDT::ParticleDataTable::writeParticleData().
1.5.1-3