Line | |
---|
1 | #ifndef MARS_MH2dimFunction
|
---|
2 | #define MARS_MH2dimFunction
|
---|
3 |
|
---|
4 | #ifndef MARS_MH
|
---|
5 | #include "MH.h"
|
---|
6 | #endif
|
---|
7 | #ifndef ROOT_TH1
|
---|
8 | #include <TH1.h>
|
---|
9 | #endif
|
---|
10 |
|
---|
11 | class MHillas;
|
---|
12 |
|
---|
13 | class MH2dimFunction : public MH
|
---|
14 | {
|
---|
15 | private:
|
---|
16 |
|
---|
17 | TH1F fHistXbarYbar; // position where shower image has its maximum
|
---|
18 | TH1F fHistAmp; // amplitude of shower image
|
---|
19 | TH1F fHistMajor; // 'length' of shower image
|
---|
20 | TH1F fHistMinor; // 'width' of shower image
|
---|
21 | TH1F fHistAsym; // 'asymmetry' of shower image
|
---|
22 |
|
---|
23 |
|
---|
24 | public:
|
---|
25 | MH2dimFunction(const char *name=NULL, const char *title=NULL);
|
---|
26 |
|
---|
27 | Bool_t SetupFill(const MParList *plist);
|
---|
28 | Bool_t Fill(const MParContainer *par, const Stat_t w=1);
|
---|
29 |
|
---|
30 | TH1F &GetHistXbarYbar() { return fHistXbarYbar; }
|
---|
31 | TH1F &GetHistAmp() { return fHistAmp; }
|
---|
32 |
|
---|
33 | TH1F &GetHistMajor() { return fHistMajor; }
|
---|
34 | TH1F &GetHistMinor() { return fHistMinor; }
|
---|
35 |
|
---|
36 | TH1F &GetHistAsym() { return fHistAsym; }
|
---|
37 |
|
---|
38 | void Draw(Option_t *opt=NULL);
|
---|
39 |
|
---|
40 | ClassDef(MH2dimFunction, 1) // Histograms of parameters of 2-dim function
|
---|
41 | };
|
---|
42 |
|
---|
43 | #endif
|
---|
44 |
|
---|
45 |
|
---|
46 |
|
---|
47 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.