Parent Directory
| 
 Revision Log
Stable version, lot of changes, ROOT support included, persistency not yet activated
| 1 | #ifndef PCASID_H | 
| 2 | #define PCASID_H | 
| 3 | #include <iostream> | 
| 4 | #include "pHitID.h" | 
| 5 | #include "TObject.h" | 
| 6 | |
| 7 | using std::cout; | 
| 8 | using std::endl; | 
| 9 | |
| 10 | class pCasID :public pHitID { | 
| 11 | |
| 12 | public: | 
| 13 | |
| 14 | pCasID(const char *c=0){ SetHitID(c);} | 
| 15 | |
| 16 | void SetHitID(const char *c){_icas=(int) *c;} | 
| 17 | |
| 18 | int GetIcas(){return _icas;} | 
| 19 | |
| 20 | void Print(){ | 
| 21 | cout << "pCasID : Icas= " << GetIcas() << endl; | 
| 22 | } | 
| 23 | |
| 24 | private: | 
| 25 | |
| 26 | int _icas; | 
| 27 | |
| 28 | |
| 29 | public: | 
| 30 | ClassDef(pCasID,1); | 
| 31 | |
| 32 | }; | 
| 33 | |
| 34 | #endif //PCASID_H | 
| 35 | 
| ViewVC Help | |
| Powered by ViewVC 1.1.23 |