Last change
on this file since 117 was
117,
checked in by moretto, 11 years ago
|
ESAF version compilable on mac OS
|
File size:
901 bytes
|
Line | |
---|
1 | // FocalPlane |
---|
2 | // $Id: FocalPlane.hh 2804 2008-10-09 12:10:06Z biktem $ |
---|
3 | // |
---|
4 | // Abstarct base class providing the interface of a generic focal plane |
---|
5 | // |
---|
6 | |
---|
7 | |
---|
8 | #ifndef __FOCALPLANE_HH__ |
---|
9 | #define __FOCALPLANE_HH__ |
---|
10 | |
---|
11 | #include "DetectorPhotonTransporter.hh" |
---|
12 | |
---|
13 | class EusoElectronics; |
---|
14 | |
---|
15 | class FocalPlane: public DetectorPhotonTransporter { |
---|
16 | public: |
---|
17 | FocalPlane() {} |
---|
18 | virtual Photon *Transport(Photon *) const = 0; |
---|
19 | |
---|
20 | virtual void SetElectronics( EusoElectronics* e ) { fElectronics = e; } |
---|
21 | virtual EusoElectronics* GetElectronics() const { return fElectronics; } |
---|
22 | |
---|
23 | protected: |
---|
24 | EusoElectronics* fElectronics; |
---|
25 | |
---|
26 | EsafConfigClass(Optics,FocalPlane) |
---|
27 | |
---|
28 | ClassDef(FocalPlane,0) |
---|
29 | }; |
---|
30 | |
---|
31 | class TestFocalPlane: public FocalPlane { |
---|
32 | public: |
---|
33 | TestFocalPlane(); |
---|
34 | virtual Photon *Transport(Photon *) const; |
---|
35 | |
---|
36 | EsafConfigClass(Optics,TestFocalPlane) |
---|
37 | |
---|
38 | ClassDef(TestFocalPlane,0) |
---|
39 | }; |
---|
40 | |
---|
41 | #endif /* __FOCALPLANE_HH__ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.