Last change
on this file since 687 was 653, checked in by tbretz, 24 years ago |
*** empty log message ***
|
-
Property svn:executable
set to
*
|
File size:
673 bytes
|
Line | |
---|
1 | #ifndef MGEOMCAM_H
|
---|
2 | #define MGEOMCAM_H
|
---|
3 |
|
---|
4 | #ifndef MAGIC_H
|
---|
5 | #include "MAGIC.h"
|
---|
6 | #endif
|
---|
7 | #ifndef ROOT_TObjArray
|
---|
8 | #include <TObjArray.h>
|
---|
9 | #endif
|
---|
10 | #ifndef MGEOMPIX_H
|
---|
11 | #include "MGeomPix.h"
|
---|
12 | #endif
|
---|
13 |
|
---|
14 | class MGeomCam
|
---|
15 | {
|
---|
16 | private:
|
---|
17 | Int_t fNbPixels ; //!
|
---|
18 | TObjArray *fPixels ; //!
|
---|
19 |
|
---|
20 | void CreateMagic() ;
|
---|
21 | void CreateCT1() ;
|
---|
22 |
|
---|
23 | public:
|
---|
24 |
|
---|
25 | MGeomCam( Int_t type=0 ) ;
|
---|
26 | virtual ~MGeomCam() { delete fPixels; }
|
---|
27 |
|
---|
28 | void Draw(Option_t *option = "" ) ;
|
---|
29 |
|
---|
30 | Int_t GetNbPixels() ;
|
---|
31 |
|
---|
32 | MGeomPix &operator[](Int_t i) { return *(MGeomPix*)fPixels->At(i); }
|
---|
33 |
|
---|
34 | void Print(Option_t *opt=NULL) ;
|
---|
35 |
|
---|
36 | ClassDef(MGeomCam, 1) // Geometry class for the camera
|
---|
37 | };
|
---|
38 |
|
---|
39 | #endif
|
---|
40 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.