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

Annotation of /gp2root/pNdID.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Sun Oct 22 08:26:59 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 pamela 1.1 #ifndef PNDID_H
2     #define PNDID_H
3     #include "pHitID.h"
4 cafagna 1.2 #include "TObject.h"
5 pamela 1.1
6     class pNdID : public pHitID {
7    
8     public:
9    
10 cafagna 1.2 pNdID(const char * c=0){ SetHitID(c); }
11 pamela 1.1
12     void SetHitID(const char * c){
13     _itube = (int) *c;
14     }
15    
16     int GetItube(){return _itube;}
17     void SetItube(const int & i){_itube=i;}
18    
19     private:
20    
21     int _itube;
22    
23 cafagna 1.2 public:
24     ClassDef(pNdID,1);
25    
26 pamela 1.1 };
27    
28     #endif //PNDID_H
29 cafagna 1.2

  ViewVC Help
Powered by ViewVC 1.1.23