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