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

Contents of /gp2root/pCaliID.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Oct 22 08:26:43 2006 UTC (18 years, 1 month ago) by cafagna
Branch: MAIN
CVS Tags: v0r9, v0r10, HEAD
Changes since 1.1: +6 -1 lines
File MIME type: text/plain
Stable version, lot of changes, ROOT support included, persistency not yet activated

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

  ViewVC Help
Powered by ViewVC 1.1.23