Line | |
---|
1 | #ifndef MARS_MHillasSrc
|
---|
2 | #define MARS_MHillasSrc
|
---|
3 |
|
---|
4 | #ifndef MARS_MHillas
|
---|
5 | #include "MHillas.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | class MSrcPosCam;
|
---|
9 |
|
---|
10 | class MHillasSrc : public MParContainer
|
---|
11 | {
|
---|
12 | private:
|
---|
13 | const MSrcPosCam *fSrcPos; //! Source position in the camere
|
---|
14 |
|
---|
15 | Float_t fAlpha; // [deg] angle of major axis with vector to src
|
---|
16 | Float_t fDist; // [mm] distance between src and center of ellipse
|
---|
17 | Float_t fCosDeltaAlpha; // [1] cosine of angle between d and a
|
---|
18 |
|
---|
19 | Float_t fDCA; // [mm] Distance to closest approach 'DCA'
|
---|
20 | Float_t fDCADelta; // [deg] Angle of the shower axis with respect to the x-axis
|
---|
21 |
|
---|
22 | public:
|
---|
23 | MHillasSrc(const char *name=NULL, const char *title=NULL);
|
---|
24 |
|
---|
25 | void SetSrcPos(const MSrcPosCam *pos) { fSrcPos = pos; }
|
---|
26 | const MSrcPosCam *GetSrcPos() const { return fSrcPos; }
|
---|
27 |
|
---|
28 | void Reset();
|
---|
29 |
|
---|
30 | Float_t GetAlpha() const { return fAlpha; }
|
---|
31 | Float_t GetDist() const { return fDist; }
|
---|
32 | Float_t GetCosDeltaAlpha() const { return fCosDeltaAlpha; }
|
---|
33 | Float_t GetDCA() const { return fDCA; }
|
---|
34 | Float_t GetDCADelta() const { return fDCADelta; }
|
---|
35 |
|
---|
36 | void Print(Option_t *opt=NULL) const;
|
---|
37 | void Print(const MGeomCam &geom) const;
|
---|
38 |
|
---|
39 | virtual Int_t Calc(const MHillas &hillas);
|
---|
40 |
|
---|
41 | void Set(const TArrayF &arr);
|
---|
42 |
|
---|
43 | ClassDef(MHillasSrc, 5) // Container to hold source position dependant parameters
|
---|
44 | };
|
---|
45 |
|
---|
46 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.