source: JEM-EUSO/esaf_cc_at_lal/packages/simulation/detector/optics/include/FocalPlane.hh @ 114

Last change on this file since 114 was 114, checked in by moretto, 11 years ago

actual version of ESAF at CCin2p3

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
13class EusoElectronics;
14
15class FocalPlane: public DetectorPhotonTransporter {
16public:
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
23protected:
24    EusoElectronics* fElectronics;
25
26        EsafConfigClass(Optics,FocalPlane)
27
28    ClassDef(FocalPlane,0)
29};
30
31class TestFocalPlane: public FocalPlane {
32public:
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.