1 | // ESAF : Euso Simulation and Analysis Framework |
---|
2 | // $Id: TestLightToEuso.hh 2604 2006-03-20 21:51:35Z thea $ |
---|
3 | // M. Pallavicini created Sep, 16 2002 |
---|
4 | |
---|
5 | #ifndef __TEST_LIGHTTOEUSO_HH__ |
---|
6 | #define __TEST_LIGHTTOEUSO_HH__ |
---|
7 | |
---|
8 | #include "euso.hh" |
---|
9 | #include "LightToEuso.hh" |
---|
10 | #include "ParentPhoton.hh" |
---|
11 | #include "Config.hh" |
---|
12 | |
---|
13 | class ListPhotonsOnPupil; |
---|
14 | class PhysicsData; |
---|
15 | |
---|
16 | //////////////////////////////////////////////////////////////////////////////// |
---|
17 | // // |
---|
18 | // TestLightToEuso // |
---|
19 | // // |
---|
20 | //////////////////////////////////////////////////////////////////////////////// |
---|
21 | |
---|
22 | class TestLightToEuso : public LightToEuso { |
---|
23 | public: |
---|
24 | // ctor |
---|
25 | TestLightToEuso(); |
---|
26 | |
---|
27 | // dtor |
---|
28 | virtual ~TestLightToEuso(); |
---|
29 | |
---|
30 | // returns the list of fPhotons for the pupil |
---|
31 | virtual PhotonsOnPupil *Get(const DetectorGeometry*); |
---|
32 | |
---|
33 | // next functions not meaningful in this case |
---|
34 | virtual void Configure() { return; } |
---|
35 | virtual MCTruth* GetTruth() { return fTruth; } |
---|
36 | virtual PhysicsData* GetPhysics() { return NULL; } |
---|
37 | virtual void ReplaceInputFile(const char*) { return; } |
---|
38 | |
---|
39 | virtual Bool_t ClearMemory(); |
---|
40 | |
---|
41 | EsafConfigClass(LightToEuso,TestLightToEuso) |
---|
42 | |
---|
43 | private: |
---|
44 | PhotonsOnPupil *MakeSpot( Double_t th, Double_t ph, Int_t nPhotons, |
---|
45 | Double_t tm); |
---|
46 | |
---|
47 | PhotonsOnPupil *MakeCircle( Double_t ph1, Double_t ph2, Double_t th, |
---|
48 | Int_t nPhotons, Double_t tm); |
---|
49 | |
---|
50 | PhotonsOnPupil *MakeRadius( Double_t ph, Double_t th1, Double_t th2, |
---|
51 | Int_t nPhotons, Double_t tm); |
---|
52 | |
---|
53 | PhotonsOnPupil *MakeTrack( Double_t ph1, Double_t ph2, Double_t th1, |
---|
54 | Double_t th2, Int_t nPhotons, Double_t tm); |
---|
55 | |
---|
56 | PhotonsOnPupil *MakeExtSpot( Double_t th1, Double_t ph1, Double_t radius, |
---|
57 | Int_t nPhotons, Double_t tm); |
---|
58 | |
---|
59 | PhotonsOnPupil *MakeExtCircle( Double_t ph1, Double_t ph2, Double_t th1, |
---|
60 | Double_t th2, Double_t radius, Int_t nPhotons, Double_t tm); |
---|
61 | |
---|
62 | PhotonsOnPupil *MakeExtRadius( Double_t ph, Double_t th1, Double_t th2, |
---|
63 | Double_t radius, Int_t nPhotons, Double_t tm); |
---|
64 | |
---|
65 | PhotonsOnPupil *MakeDiffuse( Double_t th1, Double_t th2, Double_t radius, |
---|
66 | Int_t nPhotons, Double_t tm); |
---|
67 | |
---|
68 | PhotonsOnPupil *MakeCFluxDiffuse( Double_t th1, Double_t th2, Double_t radius, |
---|
69 | Int_t nPhotons, Double_t tm); |
---|
70 | |
---|
71 | PhotonsOnPupil *MakeShowerTrack(const DetectorGeometry*); |
---|
72 | |
---|
73 | void Reset(); |
---|
74 | ListPhotonsOnPupil* fPhOnPupil; |
---|
75 | MCTruth* fTruth; |
---|
76 | |
---|
77 | ClassDef(TestLightToEuso,0) |
---|
78 | }; |
---|
79 | |
---|
80 | #endif /* __TEST_LIGHTTOEUSO_HH__ */ |
---|
81 | |
---|