source: JEM-EUSO/esaf_cc_at_lal/packages/simulation/detector/optics/include/IdealFocalSurface.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: 1.1 KB
Line 
1// ESAF : Euso Simulation and Analysis Framework
2// $Id: IdealFocalSurface.hh 1734 2005-04-15 18:54:42Z thea $
3// A.Thea created Apr,  1 2003
4
5#ifndef __IDEALFOCALSURFACE_HH_
6#define __IDEALFOCALSURFACE_HH_
7
8#include "euso.hh"
9#include "Photon.hh"
10#include "TVector3.h"
11#include "EsafConfigurable.hh"
12
13class IdealFocalSurface: public EsafConfigurable {
14protected:
15    TVector3 fPos;
16    Double_t fR, fDZup, fDZdown;
17
18    Double_t NextInt( const TVector3 &pos, const TVector3 &dir);
19public:
20    IdealFocalSurface();
21    virtual ~IdealFocalSurface();
22   
23    inline  Double_t GetR() { return fR; }
24    const TVector3& GetPos() { return fPos; }
25    virtual Bool_t HitPosition(Photon *p) = 0;
26
27    virtual Double_t Profile( Double_t r) = 0;
28
29    EsafConfigClass(Optics,IdealFocalSurface)
30
31    ClassDef(IdealFocalSurface,0)
32};
33
34class TestIdealFocalSurface: public IdealFocalSurface {
35public:
36    TestIdealFocalSurface();
37    virtual ~TestIdealFocalSurface();
38
39    virtual Bool_t HitPosition(Photon *);
40   
41    virtual Double_t Profile( Double_t r) { return 0; }
42
43    ClassDef(TestIdealFocalSurface,0)
44};
45
46#endif  /* __IDEALFOCALSURFACE_HH_ */
47
Note: See TracBrowser for help on using the repository browser.