32#include "MdcRecoUtil/PdtLund.h"
33#include "MdcRecoUtil/PdtGeant.h"
34#include "MdcRecoUtil/PdtPid.h"
35#include "MdcRecoUtil/PdtEntry.h"
41#define PdtHashSize 503
130 const char* child1,
const char* child2=0,
131 const char* child3=0,
const char* child4=0,
191 static std::map<int,PdtEntry*>* _entries;
193 static std::map<int,PdtEntry*>* _entriesg;
194 static std::map<int,PdtEntry*>* _entriesl;
198 static unsigned PdtNumHash(
const int&
num);
199 static unsigned PdtNameHash(
const std::string& c);
202 static PdtEntry* _positiveEntries[5];
203 static PdtEntry* _negativeEntries[5];
204 static PdtEntry* _neutralEntries[5];
static PdtPdg::PdgType pdgId(const int id)
static float lifetime(PdtLund::LundType id)
static PdtLund::LundType lundId(const PdtPdg::PdgType)
static float lifetime(PdtPid::PidNeutralType id)
static float mass(PdtPid::PidNeutralType id)
static void addDecay(PdtLund::LundType id, float bf, PdtLund::LundType child1, PdtLund::LundType child2=PdtLund::null, PdtLund::LundType child3=PdtLund::null, PdtLund::LundType child4=PdtLund::null, PdtLund::LundType child5=PdtLund::null)
static float width(PdtLund::LundType id)
static float spin(PdtPid::PidType id)
static PdtPdg::PdgType pdgId(const PdtLund::LundType)
static PdtPdg::PdgType pdgPid(const PdtGeant::GeantType geant)
static PdtGeant::GeantType geantId(const PdtPdg::PdgType pdg)
static float mass(PdtGeant::GeantType id)
static PdtEntry * lookup(const std::string &name)
static PdtPdg::PdgType pdgId(const PdtPid::PidNeutralType pid, int charge=0)
static float width(PdtGeant::GeantType id)
static PdtEntry * lookup(PdtLund::LundType id)
static PdtPdg::PdgType pdgId(const PdtPid::PidType pid, int charge=-1)
static PdtEntry * lookup(PdtGeant::GeantType id)
static float charge(PdtGeant::GeantType id)
static float lifetime(PdtGeant::GeantType id)
static float charge(const char *name)
static float spin(PdtGeant::GeantType id)
static PdtLund::LundType antiCode(PdtLund::LundType)
static PdtPid::PidType pidId(const PdtPdg::PdgType pdg)
static float charge(PdtLund::LundType id)
static PdtPid::PidNeutralType pidNeutId(const PdtLund::LundType)
static void printOn(std::ostream &)
static PdtGeant::GeantType geantId(const PdtPid::PidType, int charge=-1)
static bool sameOrConj(PdtEntry *id1, PdtEntry *id2)
static PdtLund::LundType lundId(const PdtGeant::GeantType)
static PdtPid::PidType pidId(const PdtLund::LundType)
static PdtEntry * lookup(PdtPid::PidType id, int charge=-1)
static float mass(PdtLund::LundType id)
static PdtEntry * lookup(PdtPdg::PdgType id)
static PdtPid::PidType pidId(const PdtGeant::GeantType)
static void readMCppTable(std::string filenm)
static PdtPid::PidType pidId(const int id)
static float spin(PdtPid::PidNeutralType id)
static float width(PdtPid::PidType id)
static float lifetime(PdtPid::PidType id)
static float mass(const char *name)
static PdtEntry * lookup(PdtPid::PidNeutralType id, int charge=0)
static PdtPid::PidType pidId(const PdtLund::LundType)
static PdtLund::LundType lundId(const PdtPid::PidNeutralType, int charge=0)
static PdtLund::LundType lundId(const int id)
static PdtGeant::GeantType geantId(const PdtLund::LundType)
static const PdtEntry * conjugate(const PdtEntry *)
static float width(PdtPid::PidNeutralType id)
static PdtGeant::GeantType geantId(const PdtLund::LundType)
static void addParticle(const char *pname, PdtGeant::GeantType id, float spin, float charge, float mass, float width=0.0, float cut=0.0)
static PdtGeant::GeantType geantId(const int id)
static PdtPdg::PdgType pdgId(const PdtLund::LundType)
static PdtPid::PidNeutralType pidNeutId(const PdtLund::LundType)
static float mass(PdtPid::PidType id)
static float width(const char *name)
static PdtPid::PidNeutralType pidNeutId(const PdtPdg::PdgType pdg)
static bool sameOrConj(PdtLund::LundType id1, PdtLund::LundType id2)
static PdtPid::PidNeutralType pidNeutId(const int id)
static PdtGeant::GeantType geantId(const PdtPid::PidNeutralType, int charge=0)
static PdtLund::LundType lundId(const PdtPid::PidType, int charge=-1)
static PdtLund::LundType lundId(const PdtGeant::GeantType)
static PdtEntry * lookup(const std::string &name)
static void addDecay(const char *pname, float bf, const char *child1, const char *child2=0, const char *child3=0, const char *child4=0, const char *child5=0)
static float spin(PdtLund::LundType id)
static bool sameOrConj(PdtPdg::PdgType id1, PdtPdg::PdgType id2)
static float lifetime(const char *name)
static PdtPid::PidNeutralType pidNeutId(const PdtGeant::GeantType)
static float spin(const char *name)
static void addParticle(const char *pname, PdtLund::LundType id, float spin, float charge, float mass, float width=0.0, float cut=0.0)