Parent Directory | Revision Log
Initial revision
1 | pamela | 1.1 | #ifndef PTRDID_H |
2 | #define PTRDID_H | ||
3 | |||
4 | #include "pHitID.h" | ||
5 | |||
6 | class pTrdID :public pHitID { | ||
7 | |||
8 | public: | ||
9 | |||
10 | pTrdID(const char *c=0): pHitID(c){}; | ||
11 | |||
12 | void SetHitID(const char *c){ | ||
13 | int *temp =(int *) c; | ||
14 | _itrbs=*temp++; | ||
15 | _itrsi=*temp; | ||
16 | } | ||
17 | |||
18 | int GetItrbs(){return _itrbs;} | ||
19 | int GetItrsi(){return _itrsi;} | ||
20 | void SetItrbs(const int & i){_itrbs=i;} | ||
21 | void SetItrsi(const int & i){_itrsi=i;} | ||
22 | |||
23 | |||
24 | private: | ||
25 | |||
26 | int _itrbs; | ||
27 | int _itrsi; | ||
28 | |||
29 | |||
30 | }; | ||
31 | |||
32 | #endif //PTRDID_H |
ViewVC Help | |
Powered by ViewVC 1.1.23 |