source: trunk/MagicSoft/Mars/mmuon/MMuonSearchPar.h@ 7022

Last change on this file since 7022 was 6979, checked in by tbretz, 20 years ago
*** empty log message ***
File size: 1.6 KB
Line 
1#ifndef MARS_MMuonSearchPar
2#define MARS_MMuonSearchPar
3
4#ifndef MARS_MParContainer
5#include "MParContainer.h"
6#endif
7
8#ifndef MARS_MArrayF
9#include "MArrayF.h"
10#endif
11
12class MHillas;
13class MGeomCam;
14class MSignalCam;
15
16class MMuonSearchPar : public MParContainer
17{
18private:
19 Float_t fRadius; // An estimated radius of the muon ring [mm]
20 Float_t fDeviation; // The standard deviation from the estimated ring [mm]
21 Float_t fCenterX; // An estimated center position in X of the muon ring [mm]
22 Float_t fCenterY; // An estimated center position in Y of the muon ring [mm]
23
24 MArrayF fSignal; //! Temporary storage for signal
25 MArrayF fX; //! Temporary storage for pixels X-position
26 MArrayF fY; //! Temporary storage for pixels Y-position
27
28 static void fcn(Int_t &npar, Double_t *gin, Double_t &f, Double_t *par, Int_t iflag);
29 Double_t Fcn(Double_t *par) const;
30
31public:
32 MMuonSearchPar(const char *name=NULL, const char *title=NULL);
33
34 void Reset();
35
36 Float_t GetRadius() const { return fRadius; }
37 Float_t GetDeviation() const { return fDeviation; }
38 Float_t GetCenterX() const { return fCenterX; }
39 Float_t GetCenterY() const { return fCenterY; }
40
41 void CalcMinimumDeviation(const MGeomCam &geom, const MSignalCam &evt,
42 Double_t &x, Double_t &y, Double_t &sigma, Double_t &rad);
43
44 void Calc(const MGeomCam &geom, const MSignalCam &evt,
45 const MHillas &hillas);
46
47 void Print(Option_t *opt=NULL) const;
48 void Print(const MGeomCam &geom, Option_t *opt=NULL) const;
49
50 ClassDef(MMuonSearchPar, 1) // Container to hold muon search parameters
51};
52
53#endif
Note: See TracBrowser for help on using the repository browser.