source: trunk/MagicSoft/Mars/mimage/MStereoPar.h@ 8695

Last change on this file since 8695 was 2567, checked in by moralejo, 21 years ago
*** empty log message ***
File size: 2.3 KB
Line 
1#ifndef MARS_MStereoPar
2#define MARS_MStereoPar
3
4#ifndef MARS_MParContainer
5#include "MParContainer.h"
6#endif
7
8class MHillas;
9class MGeomCam;
10class MMcEvt;
11
12class MStereoPar : public MParContainer
13{
14private:
15
16 Float_t fCoreX;
17 Float_t fCoreY; // Estimated core position on ground
18
19 Float_t fCoreX2; // Estimated core position on ground assuming
20 Float_t fCoreY2; // that the source direction is paralel to the
21 // telescope axis.
22
23 Float_t fSourceX; // Estimated source position on the camera
24 Float_t fSourceY; // Units are degrees!
25
26 Float_t fTheta2; // deg^2; Squared angular distance of estimated
27 // source position to cameracenter.
28
29 Float_t fCT1Impact; // Estimated shower impact parameter from CT1
30 Float_t fCT2Impact; // Estimated shower impact parameter from CT2
31
32 Float_t fCT1Impact2; // Estimated shower impact parameter from CT1
33 // assuming that the source direction is paralel
34 // to the telescope axis.
35
36 Float_t fCT2Impact2; // Estimated shower impact parameter from CT2
37 // assuming that the source direction is paralel
38 // to the telescope axis.
39
40
41 void Camera2direction(Float_t rc, Float_t CTphi, Float_t CTtheta, Float_t x, Float_t y, Float_t* cosx, Float_t* cosy, Float_t* cosz);
42
43
44public:
45 MStereoPar(const char *name=NULL, const char *title=NULL);
46
47 void Reset();
48
49 Float_t GetCoreX() const { return fCoreX; }
50 Float_t GetCoreY() const { return fCoreY; }
51 Float_t GetSourceX() const { return fSourceX; }
52 Float_t GetSourceY() const { return fSourceY; }
53 Float_t GetTheta2() const { return fTheta2; }
54 Float_t GetCT1Impact() const { return fCT1Impact; }
55 Float_t GetCT2Impact() const { return fCT2Impact; }
56 Float_t GetCT1Impact2() const { return fCT1Impact2; }
57 Float_t GetCT2Impact2() const { return fCT2Impact2; }
58
59
60 void Calc(const MHillas &hillas1, const MMcEvt &mcevt1, const MGeomCam &mgeom1, const Float_t ct1_x, const Float_t ct1_y, const MHillas &hillas2, const MMcEvt &mcevt2, const MGeomCam &mgeom2, const Float_t ct2_x, const Float_t ct2_y);
61
62 ClassDef(MStereoPar, 1) // Container to hold new image parameters
63};
64
65#endif
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
Note: See TracBrowser for help on using the repository browser.