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