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

Annotation of /gp2root/pSpeID.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Wed Apr 19 23:35:58 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 PSPEID_H
2     #define PSPEID_H
3    
4     #include "pHitID.h"
5    
6     class pSpeID :public pHitID {
7    
8     public:
9    
10     pSpeID(const char *c=0): pHitID(c){};
11    
12     void SetHitID(const char *c){
13     int *temp=(int *) c;
14     _itrpb=*temp++;
15     _itrsl=*temp++;
16     _itspa=*temp;
17    
18     }
19    
20     int GetItrpb(){return _itrpb;}
21     int GetItrsl(){return _itrsl;}
22     int GetItspa(){return _itspa;}
23    
24     private:
25    
26     int _itrpb;
27     int _itrsl;
28     int _itspa;
29    
30    
31     };
32    
33     #endif //PSPEID_H

  ViewVC Help
Powered by ViewVC 1.1.23