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

Contents of /gp2root/pTrdID.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Oct 22 08:27:08 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
Error occurred while calculating annotation data.
Stable version, lot of changes, ROOT support included, persistency not yet activated

1 #ifndef PTRDID_H
2 #define PTRDID_H
3
4 #include "pHitID.h"
5 #include "TObject.h"
6
7 class pTrdID :public pHitID {
8
9 public:
10
11 pTrdID(const char *c=0){ SetHitID(c); }
12
13 void SetHitID(const char *c){
14 int *temp =(int *) c;
15 _itrbs=*temp++;
16 _itrsi=*temp;
17 }
18
19 int GetItrbs(){return _itrbs;}
20 int GetItrsi(){return _itrsi;}
21 void SetItrbs(const int & i){_itrbs=i;}
22 void SetItrsi(const int & i){_itrsi=i;}
23
24
25 private:
26
27 int _itrbs;
28 int _itrsi;
29
30
31 public:
32 ClassDef(pTrdID,1);
33
34 };
35
36 #endif //PTRDID_H
37

  ViewVC Help
Powered by ViewVC 1.1.23