1 | // $Id: KIdealFocalSurface.hh 1734 2005-04-15 18:54:42Z thea $ |
---|
2 | // Author: J.Watts 2003/09/21 |
---|
3 | |
---|
4 | /***************************************************************************** |
---|
5 | * ESAF: Euso Simulation and Analysis Framework * |
---|
6 | * * |
---|
7 | * Id: KIdealFocalSurface * |
---|
8 | * Package: Optics * |
---|
9 | * Coordinator: Alessandro.Thea * |
---|
10 | * * |
---|
11 | *****************************************************************************/ |
---|
12 | |
---|
13 | #ifndef __KIDEALFOCALSURFACE_HH__ |
---|
14 | #define __KIDEALFOCALSURFACE_HH__ |
---|
15 | |
---|
16 | #include "euso.hh" |
---|
17 | #include "IdealFocalSurface.hh" |
---|
18 | #include "EsafMsgSource.hh" |
---|
19 | |
---|
20 | //////////////////////////////////////////////////////////////////////////////// |
---|
21 | // // |
---|
22 | // KIdealFocalSurface // |
---|
23 | // // |
---|
24 | // <brief class description> // |
---|
25 | // // |
---|
26 | //////////////////////////////////////////////////////////////////////////////// |
---|
27 | |
---|
28 | class KIdealFocalSurface : public IdealFocalSurface, public EsafMsgSource { |
---|
29 | public: |
---|
30 | KIdealFocalSurface(); |
---|
31 | virtual ~KIdealFocalSurface(); |
---|
32 | |
---|
33 | virtual Bool_t HitPosition(Photon *p); |
---|
34 | |
---|
35 | virtual Double_t Profile( Double_t r); |
---|
36 | |
---|
37 | EsafConfigClass(Optics,KIdealFocalSurface) |
---|
38 | private: |
---|
39 | Double_t Zfs(Double_t r); |
---|
40 | Double_t fRho, fK, fA, fB, fC, fD; // FS parameters |
---|
41 | Double_t fPrec; // precision required to claim |
---|
42 | // that the photon has hit the FS |
---|
43 | |
---|
44 | ClassDef(KIdealFocalSurface,0) |
---|
45 | }; |
---|
46 | |
---|
47 | #endif /* __KIDEALFOCALSURFACE_HH__ */ |
---|
48 | |
---|