HepPDT Reference Documentation

HepPDT

testHepPDT.cc File Reference

#include <fstream>
#include <iomanip>
#include "HepPDT/defs.h"
#include "HepPDT/TableBuilder.hh"
#include "HepPDT/ParticleDataTable.hh"
#include "HepPDT/HeavyIonUnknownID.hh"
#include "TestNuclearFragment.hh"

Go to the source code of this file.

Functions

void pdtSimpleTest (char[300], std::ofstream &)
void pdtFragmentTest (char[300], std::ofstream &)
void duplicateFragmentTest (char[300], std::ofstream &)
void testPDMethods (HepPDT::ParticleDataTable &, std::ofstream &)
int main ()


Function Documentation

void duplicateFragmentTest ( char  [300],
std::ofstream &   
)

Examples:
testHepPDT.cc.

Definition at line 140 of file testHepPDT.cc.

References HepPDT::addPDGParticles(), HepPDT::ParticleDataTable::particle(), HepPDT::ParticleData::write(), HepPDT::ParticleDataTable::writeParticleData(), and HepPDT::ParticleDataTable::writeParticleStatus().

Referenced by main().

int main (  ) 

Definition at line 27 of file testHepPDT.cc.

References duplicateFragmentTest(), pdtFragmentTest(), and pdtSimpleTest().

void pdtFragmentTest ( char  [300],
std::ofstream &   
)

Examples:
testHepPDT.cc.

Definition at line 108 of file testHepPDT.cc.

References HepPDT::addPDGParticles(), HepPDT::ParticleDataTable::particle(), and HepPDT::ParticleData::write().

Referenced by main().

void pdtSimpleTest ( char  [300],
std::ofstream &   
)

Examples:
testHepPDT.cc.

Definition at line 49 of file testHepPDT.cc.

References HepPDT::addPDGParticles(), HepPDT::ParticleData::lowerCutoff(), HepPDT::ParticleDataTable::particle(), testPDMethods(), HepPDT::ParticleData::totalWidth(), HepPDT::ParticleData::upperCutoff(), HepPDT::ParticleData::write(), HepPDT::ParticleDataTable::writeParticleData(), and HepPDT::ParticleDataTable::writeParticleInfo().

Referenced by main().

void testPDMethods ( HepPDT::ParticleDataTable ,
std::ofstream &   
)

Examples:
testHepPDT.cc.

Definition at line 194 of file testHepPDT.cc.

References HepPDT::ParticleData::hasBottom(), HepPDT::ParticleData::hasCharm(), HepPDT::ParticleData::hasDown(), HepPDT::ParticleData::hasStrange(), HepPDT::ParticleData::hasTop(), HepPDT::ParticleData::hasUp(), HepPDT::ParticleData::name(), HepPDT::ParticleDataTable::particle(), and HepPDT::ParticleData::pid().

Referenced by pdtSimpleTest().


Generated on Fri Dec 4 14:05:24 2009 for HepPDT by  doxygen 1.4.7