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

Contents of /gp2root/pCaliID.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show 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 #ifndef PCALIID_H
2 #define PCALIID_H
3
4 #include "pHitID.h"
5
6 class pCaliID :public pHitID {
7
8 public:
9
10 pCaliID(const char *c=0): pHitID(c){};
11
12 void SetHitID(const char *c){
13 int *temp =(int *) c;
14 _icaplane=*temp++;
15 _icastrip=*temp++;
16 _icamod=*temp;
17 }
18
19 int GetIcaplane(){return _icaplane;}
20 int GetIcastrip(){return _icastrip;}
21 int GetIcamod(){return _icamod;}
22 void SetIcaplane(const int & i){_icaplane=i;}
23 void SetIcastrip(const int & i){_icastrip=i;}
24 void SetIcamod(const int & i){_icamod=i;}
25
26 private:
27
28 int _icaplane;
29 int _icastrip;
30 int _icamod;
31
32 };
33
34 #endif //PCALIID_H

  ViewVC Help
Powered by ViewVC 1.1.23