23 static osg::Vec4
getColor(
int pid );
24 static QString
getName (
int pid );
36 PIDInfo(): name(
"default"), color(1,1,0)
40 PIDInfo(
int index ): name(QString::number(index)), color(0,0,0)
44 PIDInfo( QString name_, osg::Vec3 color_=osg::Vec3(1,1,1) ): name(name_), color(color_)
48 std::map<int, PIDInfo> m_PIDMap;
50 struct GEANT3_TableEntry
51 {
int id; std::string name;
int options;
double mass;
double charge;
double lifetime; };
53 static GEANT3_TableEntry s_GEANT3_Table[];
59 static PID&
ref() {
static PID singleton;
return singleton; }
64 PID& operator = (
const PID& ) {
return *
this; }
static PID & ref()
Definition: PID.h:59
static QString getName(int pid)
Definition: PID.cpp:76
static osg::Vec4 getColor(int pid)
Definition: PID.cpp:71