![]() |
HepPDT Reference DocumentationHepPDT |
#include <iostream>
#include <iomanip>
#include "HepPDT/defs.h"
#include "HepPDT/ParticleID.hh"
Go to the source code of this file.
Functions | |
void | testHadron (HepPDT::ParticleID &, int &) |
void | testLepton (HepPDT::ParticleID &, int &) |
void | testDiQuark (HepPDT::ParticleID &, int &) |
void | testNucleus (HepPDT::ParticleID &, int &) |
void | testUnknown (HepPDT::ParticleID &, int &) |
void | testHasMethods (HepPDT::ParticleID &, int &) |
void | testValid (HepPDT::ParticleID &) |
int | main () |
int main | ( | ) |
Definition at line 23 of file testPID.cc.
References HepPDT::n, HepPDT::nj, HepPDT::nl, HepPDT::nq1, HepPDT::nq2, HepPDT::nq3, HepPDT::nr, testDiQuark(), testHadron(), testHasMethods(), testLepton(), testNucleus(), testUnknown(), and testValid().
void testDiQuark | ( | HepPDT::ParticleID & | , | |
int & | ||||
) |
Definition at line 119 of file testPID.cc.
References HepPDT::ParticleID::digit(), HepPDT::ParticleID::extraBits(), HepPDT::ParticleID::fundamentalID(), HepPDT::ParticleID::isDiQuark(), HepPDT::ParticleID::jSpin(), HepPDT::ParticleID::lSpin(), HepPDT::n, HepPDT::Quarks::nq1, HepPDT::Quarks::nq2, HepPDT::Quarks::nq3, HepPDT::nr, HepPDT::ParticleID::quarks(), and HepPDT::ParticleID::threeCharge().
Referenced by main().
void testHadron | ( | HepPDT::ParticleID & | , | |
int & | ||||
) |
Definition at line 67 of file testPID.cc.
References HepPDT::ParticleID::digit(), HepPDT::ParticleID::extraBits(), HepPDT::ParticleID::fundamentalID(), HepPDT::ParticleID::isBaryon(), HepPDT::ParticleID::isHadron(), HepPDT::ParticleID::isMeson(), HepPDT::ParticleID::isRhadron(), HepPDT::ParticleID::jSpin(), HepPDT::ParticleID::lSpin(), HepPDT::n, HepPDT::Quarks::nq1, HepPDT::Quarks::nq2, HepPDT::Quarks::nq3, HepPDT::nr, HepPDT::ParticleID::pid(), HepPDT::ParticleID::quarks(), and HepPDT::ParticleID::threeCharge().
Referenced by main().
void testHasMethods | ( | HepPDT::ParticleID & | , | |
int & | ||||
) |
Definition at line 214 of file testPID.cc.
References HepPDT::ParticleID::hasBottom(), HepPDT::ParticleID::hasCharm(), HepPDT::ParticleID::hasDown(), HepPDT::ParticleID::hasStrange(), HepPDT::ParticleID::hasTop(), HepPDT::ParticleID::hasUp(), HepPDT::ParticleID::PDTname(), and HepPDT::ParticleID::pid().
Referenced by main().
void testLepton | ( | HepPDT::ParticleID & | , | |
int & | ||||
) |
Definition at line 103 of file testPID.cc.
References HepPDT::ParticleID::digit(), HepPDT::ParticleID::extraBits(), HepPDT::ParticleID::fundamentalID(), HepPDT::ParticleID::isLepton(), HepPDT::ParticleID::jSpin(), HepPDT::ParticleID::lSpin(), HepPDT::n, HepPDT::Quarks::nq1, HepPDT::Quarks::nq2, HepPDT::Quarks::nq3, HepPDT::nr, HepPDT::ParticleID::quarks(), and HepPDT::ParticleID::threeCharge().
Referenced by main().
void testNucleus | ( | HepPDT::ParticleID & | , | |
int & | ||||
) |
Definition at line 135 of file testPID.cc.
References HepPDT::ParticleID::A(), HepPDT::ParticleID::digit(), HepPDT::ParticleID::extraBits(), HepPDT::ParticleID::fundamentalID(), HepPDT::ParticleID::isNucleus(), HepPDT::ParticleID::jSpin(), HepPDT::ParticleID::lambda(), HepPDT::n10, HepPDT::ParticleID::threeCharge(), and HepPDT::ParticleID::Z().
Referenced by main().
void testUnknown | ( | HepPDT::ParticleID & | , | |
int & | ||||
) |
Definition at line 150 of file testPID.cc.
References HepPDT::ParticleID::abspid(), HepPDT::ParticleID::digit(), HepPDT::ParticleID::extraBits(), HepPDT::ParticleID::fundamentalID(), HepPDT::ParticleID::isDiQuark(), HepPDT::ParticleID::isDyon(), HepPDT::ParticleID::isHadron(), HepPDT::ParticleID::isLepton(), HepPDT::ParticleID::isNucleus(), HepPDT::ParticleID::isSUSY(), HepPDT::ParticleID::jSpin(), HepPDT::ParticleID::lSpin(), HepPDT::n, HepPDT::Quarks::nq1, HepPDT::Quarks::nq2, HepPDT::Quarks::nq3, HepPDT::nr, HepPDT::ParticleID::quarks(), and HepPDT::ParticleID::threeCharge().
Referenced by main().
void testValid | ( | HepPDT::ParticleID & | ) |
Definition at line 198 of file testPID.cc.
References HepPDT::ParticleID::charge(), HepPDT::ParticleID::isValid(), HepPDT::ParticleID::jSpin(), HepPDT::ParticleID::lSpin(), HepPDT::Quarks::nq1, HepPDT::Quarks::nq2, HepPDT::Quarks::nq3, HepPDT::ParticleID::quarks(), HepPDT::spinitod(), HepPDT::ParticleID::sSpin(), and HepPDT::ParticleID::threeCharge().
Referenced by main().