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