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

Contents of /gp2root/pTrdID.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (show annotations) (download) (vendor branch)
Wed Apr 19 23:35:57 2006 UTC (18 years, 7 months ago) by pamela
Branch: v1r0
CVS Tags: start
Changes since 1.1: +0 -0 lines
File MIME type: text/plain
Error occurred while calculating annotation data.
First release

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