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

Annotation of /gp2root/pCasID.h

Parent Directory Parent Directory | Revision Log Revision Log


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

1 pamela 1.1 #ifndef PCASID_H
2     #define PCASID_H
3     #include <iostream>
4     #include "pHitID.h"
5 cafagna 1.2 #include "TObject.h"
6 pamela 1.1
7     using std::cout;
8     using std::endl;
9    
10     class pCasID :public pHitID {
11    
12     public:
13    
14     pCasID(const char *c=0){ SetHitID(c);}
15    
16     void SetHitID(const char *c){_icas=(int) *c;}
17    
18     int GetIcas(){return _icas;}
19    
20     void Print(){
21     cout << "pCasID : Icas= " << GetIcas() << endl;
22     }
23    
24     private:
25    
26     int _icas;
27    
28    
29 cafagna 1.2 public:
30     ClassDef(pCasID,1);
31    
32 pamela 1.1 };
33    
34     #endif //PCASID_H
35 cafagna 1.2

  ViewVC Help
Powered by ViewVC 1.1.23