source: trunk/MagicSoft/Mars/mimage/MStereoCalc.h@ 4384

Last change on this file since 4384 was 2595, checked in by moralejo, 21 years ago
*** empty log message ***
File size: 2.0 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#ifndef ROOT_TArrayL
16#include <TArrayL.h>
17#endif
18
19class MGeomCam;
20class MHillas;
21class MMcEvt;
22class MStereoPar;
23
24class MStereoCalc : public MTask
25{
26 const MGeomCam *fGeomCam1; //! Camera Geometry CT1
27 const MHillas *fHillas1; //! input
28 const MMcEvt *fmcevt1; //! input
29
30 const MGeomCam *fGeomCam2; //! Camera Geometry CT2
31 const MHillas *fHillas2; //! input
32 const MMcEvt *fmcevt2; //! input
33
34 Int_t fCT1id; //!
35 Int_t fCT2id; //! Identifiers of the two analyzed telescopes.
36
37 Float_t fCT1x; //!
38 Float_t fCT1y; //! Position of first telescope
39 Float_t fCT2x; //!
40 Float_t fCT2y; //! Position of second telescope
41
42 MStereoPar *fStereoPar; //! output container to store result
43 TString fStereoParName; // name of the 'MStereoPar' container
44
45 Int_t PreProcess(MParList *pList);
46 Int_t Process();
47 Int_t PostProcess();
48
49
50public:
51
52 MStereoCalc(const char *name=NULL, const char *title=NULL);
53
54 void SetNameStereoPar(const char *name) { fStereoParName = name; }
55
56 void SetCTids(Int_t i, Int_t j) { fCT1id = i; fCT2id = j; }
57 void SetCT1coor(Float_t x, Float_t y) { fCT1x = x; fCT1y = y; } // in m
58 void SetCT2coor(Float_t x, Float_t y) { fCT2x = x; fCT2y = y; } // in m
59
60 ClassDef(MStereoCalc, 0) // Task to calculate some shower parameters in stereo mode
61};
62
63#endif
64
65
Note: See TracBrowser for help on using the repository browser.