#include "hpidphysicsconstants.h"

HPidPhysicsConstants


class description - source file - inheritance tree (.pdf)

class HPidPhysicsConstants : public TObject

Inheritance Chart:
TObject
<-
HPidPhysicsConstants

    public:
HPidPhysicsConstants() HPidPhysicsConstants(const HPidPhysicsConstants&) ~HPidPhysicsConstants() static Short_t artificialNeg() static Short_t artificialPos() static Int_t charge(const int id) static Int_t charge(const char* id) static TClass* Class() static Short_t fakeNeg() static Short_t fakePos() static UInt_t getProcess(HGeantKine* pKine, UInt_t iMask) virtual TClass* IsA() const static Bool_t isArtificial(Int_t iId) static Bool_t isFake(Int_t iId) static Float_t mass(const int id) static Float_t mass(const char* id) HPidPhysicsConstants& operator=(const HPidPhysicsConstants&) static Int_t pid(const Char_t* pidName) static const char* pid(Short_t pid) const virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members




Class Description


  HPidPhysicsConstants
  modified 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.

 The class was copied from Dan's HPidPhysicsConstants to get it in pid library
 and do not make the user to include phyana lib into the calculations



Int_t pid(const char *n)
 Return integer id given a particle's name

const char* pid(Short_t pid)
 Return name of the particle

Int_t charge(const Int_t pid)
 Return charge of the particle

Float_t mass(const Int_t pid)
 Return mass of the particle

Bool_t isFake(Int_t iId)
 checks wheater the particle defined by its id is a fake

Bool_t isArtificial(Int_t iId)
 checks wheater the particle defined by its id is an artificial one

UInt_t getProcess(HGeantKine *pKine, UInt_t iMask)



Inline Functions


                         void ~HPidPhysicsConstants()
                        Int_t charge(const char* id)
                      Float_t mass(const char* id)
                      Short_t artificialPos()
                      Short_t artificialNeg()
                      Short_t fakePos()
                      Short_t fakeNeg()
                      TClass* Class()
                      TClass* IsA() const
                         void ShowMembers(TMemberInspector& insp, char* parent)
                         void Streamer(TBuffer& b)
                         void StreamerNVirtual(TBuffer& b)
         HPidPhysicsConstants HPidPhysicsConstants()
         HPidPhysicsConstants HPidPhysicsConstants(const HPidPhysicsConstants&)
        HPidPhysicsConstants& operator=(const HPidPhysicsConstants&)


Author: Dan Magestro
Last update: Mon Feb 5 16:52:20 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.