Line | |
---|
1 | #ifndef MARS_MCT1SupercutsCalc
|
---|
2 | #define MARS_MCT1SupercutsCalc
|
---|
3 |
|
---|
4 | #ifndef MARS_MFilter
|
---|
5 | #include "MFilter.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | #ifndef ROOT_TArrayD
|
---|
9 | #include <TArrayD.h>
|
---|
10 | #endif
|
---|
11 |
|
---|
12 | class MParList;
|
---|
13 | class MHillas;
|
---|
14 | class MHillasSrc;
|
---|
15 | class MMcEvt;
|
---|
16 | class MCerPhotEvt;
|
---|
17 | class MGeomCam;
|
---|
18 | class MHadronness;
|
---|
19 | class MHMatrix;
|
---|
20 | class MCT1Supercuts;
|
---|
21 |
|
---|
22 |
|
---|
23 | class MCT1SupercutsCalc : public MTask
|
---|
24 | {
|
---|
25 | private:
|
---|
26 | MHillas *fHil;
|
---|
27 | MHillasSrc *fHilSrc;
|
---|
28 | MMcEvt *fMcEvt;
|
---|
29 | MHadronness *fHadronness; //! output container for hadronness
|
---|
30 | MCT1Supercuts *fSuper; // container for supercut parameters
|
---|
31 |
|
---|
32 | TString fHadronnessName; // name of container to store hadronness
|
---|
33 | TString fHilName;
|
---|
34 | TString fHilSrcName;
|
---|
35 | TString fSuperName; // name of container for supercut parameters
|
---|
36 |
|
---|
37 | Double_t fMm2Deg;
|
---|
38 |
|
---|
39 | Int_t fMap[8];
|
---|
40 | MHMatrix *fMatrix;
|
---|
41 |
|
---|
42 | Int_t PreProcess(MParList *pList);
|
---|
43 | Int_t Process();
|
---|
44 |
|
---|
45 | Double_t GetVal(Int_t i) const;
|
---|
46 |
|
---|
47 | Double_t CtsMCut(TArrayD &a, Double_t ls, Double_t ct,
|
---|
48 | Double_t ls2, Double_t dd2);
|
---|
49 |
|
---|
50 | public:
|
---|
51 | MCT1SupercutsCalc(const char *hilname="MHillas",
|
---|
52 | const char *hilsrcname="MHillasSrc",
|
---|
53 | const char *name=NULL, const char *title=NULL);
|
---|
54 |
|
---|
55 | void SetHadronnessName(const TString name) { fHadronnessName = name; }
|
---|
56 | TString GetHadronnessName() const { return fHadronnessName; }
|
---|
57 |
|
---|
58 | void InitMapping(MHMatrix *mat);
|
---|
59 | void StopMapping() { InitMapping(NULL); }
|
---|
60 |
|
---|
61 |
|
---|
62 | ClassDef(MCT1SupercutsCalc, 0) // A class to evaluate the Supercuts
|
---|
63 | };
|
---|
64 |
|
---|
65 | #endif
|
---|
66 |
|
---|
67 |
|
---|
68 |
|
---|
69 |
|
---|
70 |
|
---|
71 |
|
---|
72 |
|
---|
73 |
|
---|
74 |
|
---|
75 |
|
---|
76 |
|
---|
77 |
|
---|
78 |
|
---|
79 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.