1 | #ifndef MARS_MStarLocalPos
|
---|
2 | #define MARS_MStarLocalPos
|
---|
3 |
|
---|
4 | #ifndef MARS_MParContainer
|
---|
5 | #include "MParContainer.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | class MStarLocalPos : public MParContainer
|
---|
9 | {
|
---|
10 | private:
|
---|
11 |
|
---|
12 | //Expected position on camera
|
---|
13 |
|
---|
14 | Float_t fMagExp;
|
---|
15 | Float_t fXExp; //[mm]
|
---|
16 | Float_t fYExp; //[mm]
|
---|
17 |
|
---|
18 | //Info from calculation
|
---|
19 |
|
---|
20 | Float_t fMagCalc;
|
---|
21 | Float_t fMeanXCalc; //[mm]
|
---|
22 | Float_t fMeanYCalc; //[mm]
|
---|
23 | Float_t fSigmaMinorAxisCalc; //[mm]
|
---|
24 | Float_t fSigmaMajorAxisCalc; //[mm]
|
---|
25 |
|
---|
26 | //Info from fit
|
---|
27 |
|
---|
28 | Float_t fMagFit;
|
---|
29 | Float_t fMeanXFit; //[mm]
|
---|
30 | Float_t fMeanYFit; //[mm]
|
---|
31 | Float_t fSigmaMinorAxisFit; //[mm]
|
---|
32 | Float_t fSigmaMajorAxisFit; //[mm]
|
---|
33 | Float_t fChisquarenDof;
|
---|
34 |
|
---|
35 | public:
|
---|
36 |
|
---|
37 | MStarLocalPos(const char *name=NULL, const char *title=NULL);
|
---|
38 | //~MStarLocalPos();
|
---|
39 |
|
---|
40 | Float_t GetMagExp() {return fMagExp;}
|
---|
41 | Float_t GetXExp() {return fXExp;}
|
---|
42 | Float_t GetYExp() {return fYExp;}
|
---|
43 |
|
---|
44 | Float_t GetMagCalc() {return fMagCalc;}
|
---|
45 | Float_t GetMeanXCalc() {return fMeanXCalc;}
|
---|
46 | Float_t GetMeanYCalc() {return fMeanYCalc;}
|
---|
47 | Float_t GetSigmaMinorAxisCalc() {return fSigmaMinorAxisCalc;}
|
---|
48 | Float_t GetSigmaMajorAxisCalc() {return fSigmaMajorAxisCalc;}
|
---|
49 |
|
---|
50 | Float_t GetMagFit() {return fMagFit;}
|
---|
51 | Float_t GetMeanXFit() {return fMeanXFit;}
|
---|
52 | Float_t GetMeanYFit() {return fMeanYFit;}
|
---|
53 | Float_t GetSigmaMinorAxisFit() {return fSigmaMinorAxisFit;}
|
---|
54 | Float_t GetSigmaMajorAxisFit() {return fSigmaMajorAxisFit;}
|
---|
55 | Float_t GetChisquarenDof() {return fChisquarenDof;}
|
---|
56 |
|
---|
57 | void Reset();
|
---|
58 |
|
---|
59 | void SetExpValues(Float_t mag, Float_t x, Float_t y);
|
---|
60 | void SetCalcValues(Float_t mag, Float_t x, Float_t y, Float_t sigmaMinorAxis, Float_t sigmaMajorAxis);
|
---|
61 | void SetFitValues(Float_t mag, Float_t x, Float_t y, Float_t sigmaMinorAxis, Float_t sigmaMajorAxis);
|
---|
62 |
|
---|
63 | void Paint(Option_t *opt=NULL);
|
---|
64 | void Print(Option_t *opt=NULL) const;
|
---|
65 |
|
---|
66 | ClassDef(MStarLocalPos, 1) // Container that holds
|
---|
67 | };
|
---|
68 |
|
---|
69 | #endif
|
---|