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

Annotation of /gp2root/pTrdID.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 PTRDID_H
2     #define PTRDID_H
3    
4     #include "pHitID.h"
5    
6     class pTrdID :public pHitID {
7    
8     public:
9    
10     pTrdID(const char *c=0): pHitID(c){};
11    
12     void SetHitID(const char *c){
13     int *temp =(int *) c;
14     _itrbs=*temp++;
15     _itrsi=*temp;
16     }
17    
18     int GetItrbs(){return _itrbs;}
19     int GetItrsi(){return _itrsi;}
20     void SetItrbs(const int & i){_itrbs=i;}
21     void SetItrsi(const int & i){_itrsi=i;}
22    
23    
24     private:
25    
26     int _itrbs;
27     int _itrsi;
28    
29    
30     };
31    
32     #endif //PTRDID_H

  ViewVC Help
Powered by ViewVC 1.1.23