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

Annotation of /gp2root/pCasID.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (hide annotations) (download) (vendor branch)
Wed Apr 19 23:35:58 2006 UTC (18 years, 7 months ago) by pamela
Branch: v1r0
CVS Tags: start
Changes since 1.1: +0 -0 lines
File MIME type: text/plain
First release

1 pamela 1.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