source: trunk/Mars/mimage/MStereoCalc.h@ 10961

Last change on this file since 10961 was 8916, checked in by tbretz, 17 years ago
*** empty log message ***
File size: 2.1 KB
Line 
1#ifndef MARS_MStereoCalc
2#define MARS_MStereoCalc
3
4/////////////////////////////////////////////////////////////////////////////
5// //
6// MStereoCalc //
7// //
8// Task to calculate some shower parameters in stereo mode //
9// //
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef MARS_MTask
13#include "MTask.h"
14#endif
15
16class MGeomCam;
17class MHillas;
18class MStereoPar;
19class MPointingPos;
20
21class MStereoCalc : public MTask
22{
23 const MGeomCam *fGeomCam1; //! CT1: Camera Geometry
24 const MHillas *fHillas1; //! CT1: Hillas parameters
25 const MPointingPos *fPointingPos1; //! CT1: Pointing Direction
26
27 const MGeomCam *fGeomCam2; //! CT2: Camera Geometry
28 const MHillas *fHillas2; //! CT2: Hillas parameters
29 const MPointingPos *fPointingPos2; //! CT2: pointing direction
30
31 Int_t fCT1id; // CT1: Identifier number
32 Int_t fCT2id; // CT2: Identifier number
33
34 Float_t fCT1x; //! FIXME -> Move to parameter list
35 Float_t fCT1y; //! Position of first telescope
36 Float_t fCT2x; //! FIXME -> Move to parameter list
37 Float_t fCT2y; //! Position of second telescope
38
39 MStereoPar *fStereoPar; //! output container to store result
40 TString fStereoParName; // name of the 'MStereoPar' container
41
42 Int_t PreProcess(MParList *pList);
43 Int_t Process();
44
45public:
46
47 MStereoCalc(const char *name=NULL, const char *title=NULL);
48
49 void SetNameStereoPar(const char *name) { fStereoParName = name; }
50
51 void SetCTids(Int_t i, Int_t j) { fCT1id = i; fCT2id = j; }
52 void SetCT1coor(Float_t x, Float_t y) { fCT1x = x; fCT1y = y; } // in m
53 void SetCT2coor(Float_t x, Float_t y) { fCT2x = x; fCT2y = y; } // in m
54
55 ClassDef(MStereoCalc, 0) // Task to calculate some shower parameters in stereo mode
56};
57
58#endif
59
60
Note: See TracBrowser for help on using the repository browser.