#ifndef PCATID_H #define PCATID_H #include #include "pHitID.h" #include "TObject.h" using std::cout; using std::endl; class pCatID :public pHitID { public: pCatID(const char *c=0){ SetHitID(c);} void SetHitID(const char *c){_icat=(int) *c;} int GetIcat(){return _icat;} void Print(){ cout << "pCatID : Icat= " << GetIcat() << endl; } private: int _icat; public: ClassDef(pCatID,1); }; #endif //PCATID_H