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

Contents of /gp2root/pSpeID.h

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.23