#ifndef PSPEID_H #define PSPEID_H #include "pHitID.h" #include "TObject.h" class pSpeID :public pHitID { public: pSpeID(const char *c=0) {SetHitID(c);} void SetHitID(const char *c){ int *temp=(int *) c; _itrpb=*temp++; _itrsl=*temp++; _itspa=*temp; } int GetItrpb(){return _itrpb;} int GetItrsl(){return _itrsl;} int GetItspa(){return _itspa;} private: int _itrpb; int _itrsl; int _itspa; public: ClassDef(pSpeID,1); }; #endif //PSPEID_H