1 |
#ifndef PCALIID_H |
2 |
#define PCALIID_H |
3 |
|
4 |
#include "pHitID.h" |
5 |
|
6 |
class pCaliID :public pHitID { |
7 |
|
8 |
public: |
9 |
|
10 |
pCaliID(const char *c=0): pHitID(c){}; |
11 |
|
12 |
void SetHitID(const char *c){ |
13 |
int *temp =(int *) c; |
14 |
_icaplane=*temp++; |
15 |
_icastrip=*temp++; |
16 |
_icamod=*temp; |
17 |
} |
18 |
|
19 |
int GetIcaplane(){return _icaplane;} |
20 |
int GetIcastrip(){return _icastrip;} |
21 |
int GetIcamod(){return _icamod;} |
22 |
void SetIcaplane(const int & i){_icaplane=i;} |
23 |
void SetIcastrip(const int & i){_icastrip=i;} |
24 |
void SetIcamod(const int & i){_icamod=i;} |
25 |
|
26 |
private: |
27 |
|
28 |
int _icaplane; |
29 |
int _icastrip; |
30 |
int _icamod; |
31 |
|
32 |
}; |
33 |
|
34 |
#endif //PCALIID_H |