/[PAMELA software]/gp2root/pCatID.h
ViewVC logotype

Annotation of /gp2root/pCatID.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Wed Apr 19 23:35:57 2006 UTC (18 years, 7 months ago) by pamela
Branch: MAIN
Branch point for: v1r0
File MIME type: text/plain
Initial revision

1 pamela 1.1 #ifndef PCATID_H
2     #define PCATID_H
3     #include <iostream>
4     #include "pHitID.h"
5    
6     using std::cout;
7     using std::endl;
8    
9     class pCatID :public pHitID {
10    
11     public:
12    
13     pCatID(const char *c=0){ SetHitID(c);}
14    
15     void SetHitID(const char *c){_icat=(int) *c;}
16    
17     int GetIcat(){return _icat;}
18    
19     void Print(){
20     cout << "pCatID : Icat= " << GetIcat() << endl;
21     }
22    
23     private:
24    
25     int _icat;
26    
27    
28     };
29    
30     #endif //PCATID_H

  ViewVC Help
Powered by ViewVC 1.1.23