Parent Directory
|
Revision Log
First release
| 1 | #ifndef PSPEID_H |
| 2 | #define PSPEID_H |
| 3 | |
| 4 | #include "pHitID.h" |
| 5 | |
| 6 | class pSpeID :public pHitID { |
| 7 | |
| 8 | public: |
| 9 | |
| 10 | pSpeID(const char *c=0): pHitID(c){}; |
| 11 | |
| 12 | void SetHitID(const char *c){ |
| 13 | int *temp=(int *) c; |
| 14 | _itrpb=*temp++; |
| 15 | _itrsl=*temp++; |
| 16 | _itspa=*temp; |
| 17 | |
| 18 | } |
| 19 | |
| 20 | int GetItrpb(){return _itrpb;} |
| 21 | int GetItrsl(){return _itrsl;} |
| 22 | int GetItspa(){return _itspa;} |
| 23 | |
| 24 | private: |
| 25 | |
| 26 | int _itrpb; |
| 27 | int _itrsl; |
| 28 | int _itspa; |
| 29 | |
| 30 | |
| 31 | }; |
| 32 | |
| 33 | #endif //PSPEID_H |
| ViewVC Help | |
| Powered by ViewVC 1.1.23 |