source: trunk/MagicSoft/Mars/manalysis/MNewImagePar.h@ 1872

Last change on this file since 1872 was 1872, checked in by wittek, 22 years ago
*** empty log message ***
File size: 1.1 KB
Line 
1#ifndef MARS_MNewImagePar
2#define MARS_MNewImagePar
3
4#ifndef MARS_MHillas
5#include "MHillas.h"
6#endif
7
8class MSrcPosCam;
9
10class MNewImagePar : public MParContainer
11{
12private:
13 const MHillas *fHillas; //! Input parameters
14 const MSrcPosCam *fSrcPos; //! Source position in the camera
15
16 Float_t fLeakage1; // (photons in most outer ring of pixels) over fSize
17 Float_t fLeakage2; // (photons in the 2 outer rings of pixels) over fSize
18
19public:
20 MNewImagePar(const char *name=NULL, const char *title=NULL);
21
22 void SetSrcPos(const MSrcPosCam *pos) { fSrcPos = pos; }
23 const MSrcPosCam *GetSrcPos() const { return fSrcPos; }
24
25 void Reset();
26
27 Float_t GetLeakage1() const { return fLeakage1; }
28 Float_t GetLeakage2() const { return fLeakage2; }
29
30 void Print(Option_t *opt=NULL) const;
31
32 virtual Bool_t Calc(const MGeomCam &geom, const MCerPhotEvt &evt,
33 const MHillas *hillas);
34
35 //virtual void AsciiRead(ifstream &fin);
36 //virtual void AsciiWrite(ofstream &fout) const;
37
38 ClassDef(MNewImagePar, 1) // Container to hold new image parameters
39};
40
41#endif
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
Note: See TracBrowser for help on using the repository browser.