Parent Directory | Revision Log
Initial revision
1 | #ifndef PCASID_H |
2 | #define PCASID_H |
3 | #include <iostream> |
4 | #include "pHitID.h" |
5 | |
6 | using std::cout; |
7 | using std::endl; |
8 | |
9 | class pCasID :public pHitID { |
10 | |
11 | public: |
12 | |
13 | pCasID(const char *c=0){ SetHitID(c);} |
14 | |
15 | void SetHitID(const char *c){_icas=(int) *c;} |
16 | |
17 | int GetIcas(){return _icas;} |
18 | |
19 | void Print(){ |
20 | cout << "pCasID : Icas= " << GetIcas() << endl; |
21 | } |
22 | |
23 | private: |
24 | |
25 | int _icas; |
26 | |
27 | |
28 | }; |
29 | |
30 | #endif //PCASID_H |
ViewVC Help | |
Powered by ViewVC 1.1.23 |