Parent Directory | Revision Log
Stable version, lot of changes, ROOT support included, persistency not yet activated
1 | pamela | 1.1 | #ifndef PTRDID_H |
2 | #define PTRDID_H | ||
3 | |||
4 | #include "pHitID.h" | ||
5 | cafagna | 1.2 | #include "TObject.h" |
6 | pamela | 1.1 | |
7 | class pTrdID :public pHitID { | ||
8 | |||
9 | public: | ||
10 | |||
11 | cafagna | 1.2 | pTrdID(const char *c=0){ SetHitID(c); } |
12 | pamela | 1.1 | |
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 | cafagna | 1.2 | public: |
32 | ClassDef(pTrdID,1); | ||
33 | |||
34 | pamela | 1.1 | }; |
35 | |||
36 | #endif //PTRDID_H | ||
37 | cafagna | 1.2 |
ViewVC Help | |
Powered by ViewVC 1.1.23 |