#include "hphysicsconstants.h" |
HPhysicsConstants
class description - source file - inheritance tree (.pdf)
public:
HPhysicsConstants()
HPhysicsConstants(const HPhysicsConstants&)
~HPhysicsConstants()
static Int_t charge(const int& id)
static Int_t charge(const char* id)
static TClass* Class()
virtual TClass* IsA() const
static double mass(const int& id)
static double mass(const char* id)
HPhysicsConstants& operator=(const HPhysicsConstants&)
static Int_t pid(const Char_t* pidName)
static const char* pid(const Int_t& id) const
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
private:
static double* PMass
static int* PCharge
static char** PName
HPhysicsConstants
This class contains look-up information for particle properties. The
design is based on a scheme written by Marios Kargalis in his PData.h
class for Pluto++. See PData.h class documentation for references.
Note: Particle Id's are reserved for 'pion' (44) and 'kaon' (48), which
can be either + or -. This is useful for graphical cuts on all
particles regardless of sign; see HCutHadronId.
For more information, see the PhyAna documentation.
Int_t pid(const char *n)
returns integer id given a particle's name
const char* pid(const Int_t &id)
Int_t charge(const int &id)
double mass(const int &id)
Inline Functions
void ~HPhysicsConstants()
Int_t charge(const char* id)
double mass(const char* id)
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
HPhysicsConstants HPhysicsConstants()
HPhysicsConstants HPhysicsConstants(const HPhysicsConstants&)
HPhysicsConstants& operator=(const HPhysicsConstants&)
Author: Dan Magestro
Last update: Fri Jan 26 12:21:02 2007
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.