1 | // ESAF : Euso Simulation and Analysis Framework |
---|
2 | // $Id: TestCloudsPropagator.hh 1788 2005-04-27 11:32:42Z moreggia $ |
---|
3 | // Author: Sylvain Moreggia Aug, 19 2004 |
---|
4 | |
---|
5 | #ifndef __TESTCLOUDSPROPAGATOR_HH_ |
---|
6 | #define __TESTCLOUDSPROPAGATOR_HH_ |
---|
7 | |
---|
8 | #include "euso.hh" |
---|
9 | #include "InCloudsPropagator.hh" |
---|
10 | |
---|
11 | /******************************************************************************* |
---|
12 | * |
---|
13 | * TestCloudsPropagator: class description |
---|
14 | * |
---|
15 | * Associated with TestClouds objects |
---|
16 | * Generates clouds backscattered photons according to TestClouds albedo |
---|
17 | * Lambertian (or isotropic) angular response |
---|
18 | * Depth reached inside clouds taken into account for each scattered photon |
---|
19 | * Bunch weight is attenuated |
---|
20 | * |
---|
21 | ******************************************************************************/ |
---|
22 | |
---|
23 | class TestCloudsPropagator : public InCloudsPropagator { |
---|
24 | public: |
---|
25 | // ctor |
---|
26 | TestCloudsPropagator(); |
---|
27 | |
---|
28 | // ctor, copy RadiatvieTransfer ground description |
---|
29 | TestCloudsPropagator(const Ground*); |
---|
30 | |
---|
31 | // dtor |
---|
32 | virtual ~TestCloudsPropagator(); |
---|
33 | |
---|
34 | // Transport a BunchOfPhotons in cloudy conditions, |
---|
35 | // generating SinglePhotons all along the travel (ListPhotonsInAtmosphere filled) |
---|
36 | virtual Medium Go(BunchOfPhotons&,ListPhotonsInAtmosphere&) const; |
---|
37 | |
---|
38 | // Bidirectionnal reflectance distribution function |
---|
39 | // Returns the value for light going toward EUSO detector from the given position |
---|
40 | Double_t Brdf(const EarthVector& pos) const; |
---|
41 | |
---|
42 | // get ready for next event |
---|
43 | virtual void Reset() {} |
---|
44 | |
---|
45 | private: |
---|
46 | |
---|
47 | string fType; // lambertian or isotropic |
---|
48 | |
---|
49 | ClassDef(TestCloudsPropagator,0) |
---|
50 | }; |
---|
51 | |
---|
52 | #endif /* __TESTCLOUDSPROPAGATOR_HH_ */ |
---|
53 | |
---|