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