Parent Directory
|
Revision Log
Stable version, lot of changes, ROOT support included, persistency not yet activated
| 1 | pamela | 1.1 | #ifndef PSPEID_H |
| 2 | #define PSPEID_H | ||
| 3 | |||
| 4 | #include "pHitID.h" | ||
| 5 | cafagna | 1.2 | #include "TObject.h" |
| 6 | pamela | 1.1 | |
| 7 | class pSpeID :public pHitID { | ||
| 8 | |||
| 9 | public: | ||
| 10 | |||
| 11 | cafagna | 1.2 | pSpeID(const char *c=0) {SetHitID(c);} |
| 12 | pamela | 1.1 | |
| 13 | void SetHitID(const char *c){ | ||
| 14 | int *temp=(int *) c; | ||
| 15 | _itrpb=*temp++; | ||
| 16 | _itrsl=*temp++; | ||
| 17 | _itspa=*temp; | ||
| 18 | |||
| 19 | } | ||
| 20 | |||
| 21 | int GetItrpb(){return _itrpb;} | ||
| 22 | int GetItrsl(){return _itrsl;} | ||
| 23 | int GetItspa(){return _itspa;} | ||
| 24 | |||
| 25 | private: | ||
| 26 | |||
| 27 | int _itrpb; | ||
| 28 | int _itrsl; | ||
| 29 | int _itspa; | ||
| 30 | |||
| 31 | |||
| 32 | cafagna | 1.2 | public: |
| 33 | ClassDef(pSpeID,1); | ||
| 34 | |||
| 35 | pamela | 1.1 | }; |
| 36 | |||
| 37 | #endif //PSPEID_H | ||
| 38 | cafagna | 1.2 |
| ViewVC Help | |
| Powered by ViewVC 1.1.23 |